Skip to contentSkip to conversation

package/libpjsip: add libyuv support

PATCH New Fabrice Fontaine 2 participants 2 messages Feb 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpjsip: add libyuv support

---
 package/libpjsip/libpjsip.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
package/libpjsip/libpjsip.mk +9 -1
index a9febcf9c6..86cd31fc81 100644
@@ -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
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/libpjsip: add libyuv support

Fabrice, All,

On 2020-02-02 11:45 +0100, Fabrice Fontaine spake thusly:

Quoted 1 line

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 39 lines
---
 package/libpjsip/libpjsip.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
package/libpjsip/libpjsip.mk +9 -1
index a9febcf9c6..86cd31fc81 100644
@@ -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
Signature · 6 lines
2.24.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'