mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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>
(cherry picked from commit b9c6b38f2a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
9d5e4175a9
commit
00ad41c674
@@ -27,8 +27,6 @@ LIBPJSIP_CONF_ENV = \
|
|||||||
LIBPJSIP_CONF_OPTS = \
|
LIBPJSIP_CONF_OPTS = \
|
||||||
--disable-sound \
|
--disable-sound \
|
||||||
--disable-gsm-codec \
|
--disable-gsm-codec \
|
||||||
--disable-speex-codec \
|
|
||||||
--disable-speex-aec \
|
|
||||||
--disable-resample \
|
--disable-resample \
|
||||||
--disable-video \
|
--disable-video \
|
||||||
--disable-opencore-amr \
|
--disable-opencore-amr \
|
||||||
@@ -63,6 +61,18 @@ else
|
|||||||
LIBPJSIP_CONF_OPTS += --disable-ssl
|
LIBPJSIP_CONF_OPTS += --disable-ssl
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
||||||
LIBPJSIP_DEPENDENCIES += util-linux
|
LIBPJSIP_DEPENDENCIES += util-linux
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user