From c5c292a765ba42b79027bc565d26b88ac2b57912 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 2 Feb 2020 11:45:57 +0100 Subject: [PATCH] package/libpjsip: add libyuv support Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libpjsip/libpjsip.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index a9febcf9c6..86cd31fc81 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -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 -- 2.30.2