Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libpjsip: add libyuv support
@ 2020-02-02 10:45 Fabrice Fontaine
  2020-02-02 11:21 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-02-02 10:45 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 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.24.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-02 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-02 10:45 [Buildroot] [PATCH 1/1] package/libpjsip: add libyuv support Fabrice Fontaine
2020-02-02 11:21 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox