From: Fabrice Fontaine Date: Sun, 19 Jan 2020 09:52:50 +0000 (+0100) Subject: package/libpjsip: add opus support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aed4e7d160fd5ad87fa285bc5c1dff80881625d2;p=buildroot.git package/libpjsip: add opus support Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index 6432954428..f5c51fadf3 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -32,7 +32,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-g7221-codec \ --disable-ilbc-codec \ --disable-libwebrtc \ - --disable-opus \ --disable-ext-sound \ --disable-g711-codec \ --disable-l16-codec \ @@ -72,6 +71,13 @@ else LIBPJSIP_CONF_OPTS += --disable-ssl endif +ifeq ($(BR2_PACKAGE_OPUS),y) +LIBPJSIP_DEPENDENCIES += opus +LIBPJSIP_CONF_OPTS += --with-opus=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-opus +endif + ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) LIBPJSIP_CONF_OPTS += \ --enable-speex-aec \