summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-10-14 11:01:59 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-09 22:23:08 +0100
commitb9c6b38f2a2a43900d899af356415eea746157c8 (patch)
tree286d58bda70d57f256f603d8a9ae354636b5f20e /package
parent8e50901517f8adf7c5b3a273a0876c836bd3292f (diff)
downloadbuildroot-b9c6b38f2a2a43900d899af356415eea746157c8.tar.gz
buildroot-b9c6b38f2a2a43900d899af356415eea746157c8.zip
package/libpjsip: add optional dependency on speex
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/libpjsip/libpjsip.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index b3c439d51c..f4a57965b8 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -27,8 +27,6 @@ LIBPJSIP_CONF_ENV = \
LIBPJSIP_CONF_OPTS = \
--disable-sound \
--disable-gsm-codec \
- --disable-speex-codec \
- --disable-speex-aec \
--disable-resample \
--disable-video \
--disable-opencore-amr \
@@ -63,6 +61,18 @@ else
LIBPJSIP_CONF_OPTS += --disable-ssl
endif
+ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
+LIBPJSIP_CONF_OPTS += \
+ --enable-speex-aec \
+ --enable-speex-codec \
+ --with-external-speex
+LIBPJSIP_DEPENDENCIES += speex speexdsp
+else
+LIBPJSIP_CONF_OPTS += \
+ --disable-speex-aec \
+ --disable-speex-codec
+endif
+
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
LIBPJSIP_DEPENDENCIES += util-linux
endif
OpenPOWER on IntegriCloud