package/libpjsip: add sound support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
d22bd3749e
commit
ecbd31c376
@ -25,7 +25,6 @@ LIBPJSIP_CONF_ENV = \
|
|||||||
CFLAGS="$(LIBPJSIP_CFLAGS)"
|
CFLAGS="$(LIBPJSIP_CFLAGS)"
|
||||||
|
|
||||||
LIBPJSIP_CONF_OPTS = \
|
LIBPJSIP_CONF_OPTS = \
|
||||||
--disable-sound \
|
|
||||||
--disable-resample \
|
--disable-resample \
|
||||||
--disable-video \
|
--disable-video \
|
||||||
--disable-g7221-codec \
|
--disable-g7221-codec \
|
||||||
@ -49,6 +48,13 @@ LIBPJSIP_CONF_OPTS = \
|
|||||||
# so we want to use it.
|
# so we want to use it.
|
||||||
LIBPJSIP_CONF_OPTS += --enable-epoll
|
LIBPJSIP_CONF_OPTS += --enable-epoll
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y)
|
||||||
|
LIBPJSIP_DEPENDENCIES += alsa-lib
|
||||||
|
LIBPJSIP_CONF_OPTS += --enable-sound
|
||||||
|
else
|
||||||
|
LIBPJSIP_CONF_OPTS += --disable-sound
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BCG729),y)
|
ifeq ($(BR2_PACKAGE_BCG729),y)
|
||||||
LIBPJSIP_DEPENDENCIES += bcg729
|
LIBPJSIP_DEPENDENCIES += bcg729
|
||||||
LIBPJSIP_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr
|
LIBPJSIP_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr
|
||||||
|
Loading…
Reference in New Issue
Block a user