[Buildroot] [git commit] package/libpjsip: add v4l2 support
Peter Korsgaard
peter at korsgaard.com
Sat Feb 1 15:00:50 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=3f44c35b7e1d08d0bc30b438a27345bc1c052c7d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libpjsip/libpjsip.mk | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index a6012ba58b..a9febcf9c6 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -26,7 +26,6 @@ LIBPJSIP_CONF_ENV = \
LIBPJSIP_CONF_OPTS = \
--disable-resample \
- --disable-video \
--disable-g7221-codec \
--disable-ilbc-codec \
--disable-libwebrtc \
@@ -36,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \
--disable-g722-codec \
--disable-sdl \
--disable-ffmpeg \
- --disable-v4l2 \
--disable-openh264 \
--disable-libyuv \
--disable-ipp \
@@ -89,6 +87,13 @@ else
LIBPJSIP_CONF_OPTS += --disable-libsamplerate
endif
+ifeq ($(BR2_PACKAGE_LIBV4L),y)
+# --enable-v4l2 is broken (check for libv4l2 will be omitted)
+LIBPJSIP_DEPENDENCIES += libv4l
+else
+LIBPJSIP_CONF_OPTS += --disable-v4l2
+endif
+
ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y)
LIBPJSIP_DEPENDENCIES += opencore-amr
LIBPJSIP_CONF_OPTS += --with-opencore-amr=$(STAGING_DIR)/usr
More information about the buildroot
mailing list