package/libpjsip: add libyuv support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2020-02-02 11:45:57 +01:00 committed by Yann E. MORIN
parent 2da33e9639
commit c5c292a765

View File

@ -36,7 +36,6 @@ LIBPJSIP_CONF_OPTS = \
--disable-sdl \
--disable-ffmpeg \
--disable-openh264 \
--disable-libyuv \
--disable-ipp \
--disable-silk \
--with-external-srtp
@ -94,6 +93,15 @@ else
LIBPJSIP_CONF_OPTS += --disable-v4l2
endif
ifeq ($(BR2_PACKAGE_LIBYUV),y)
LIBPJSIP_DEPENDENCIES += libyuv
LIBPJSIP_CONF_OPTS += \
--enable-libyuv \
--with-external-yuv
else
LIBPJSIP_CONF_OPTS += --disable-libyuv
endif
ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y)
LIBPJSIP_DEPENDENCIES += opencore-amr
LIBPJSIP_CONF_OPTS += --with-opencore-amr=$(STAGING_DIR)/usr