package/libpjsip: add opencore-amr support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
6f6118ec3a
commit
0dfef9faa7
@ -28,7 +28,6 @@ LIBPJSIP_CONF_OPTS = \
|
||||
--disable-sound \
|
||||
--disable-resample \
|
||||
--disable-video \
|
||||
--disable-opencore-amr \
|
||||
--disable-g7221-codec \
|
||||
--disable-ilbc-codec \
|
||||
--disable-libwebrtc \
|
||||
@ -77,6 +76,13 @@ else
|
||||
LIBPJSIP_CONF_OPTS += --disable-libsamplerate
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y)
|
||||
LIBPJSIP_DEPENDENCIES += opencore-amr
|
||||
LIBPJSIP_CONF_OPTS += --with-opencore-amr=$(STAGING_DIR)/usr
|
||||
else
|
||||
LIBPJSIP_CONF_OPTS += --disable-opencore-amr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||
LIBPJSIP_DEPENDENCIES += opus
|
||||
LIBPJSIP_CONF_OPTS += --with-opus=$(STAGING_DIR)/usr
|
||||
|
Loading…
Reference in New Issue
Block a user