[Buildroot] [git commit] package/libpjsip: add opus support
Peter Korsgaard
peter at korsgaard.com
Mon Jan 20 21:49:22 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=aed4e7d160fd5ad87fa285bc5c1dff80881625d2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libpjsip/libpjsip.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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 \
More information about the buildroot
mailing list