[Buildroot] [git commit branch/next] package/vlc: add optional dependency to libvpx
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Aug 16 10:00:39 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=02644282d0bb7667aa4d9f1bda1bc2d1342fd4ad
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/vlc/vlc.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index b90fd602d3..b8c47582dc 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -56,7 +56,6 @@ VLC_CONF_OPTS += \
--disable-shout \
--disable-twolame \
--disable-vdpau \
- --disable-vpx \
--disable-vsxu \
--disable-x262 \
--disable-zvbi \
@@ -308,6 +307,13 @@ else
VLC_CONF_OPTS += --disable-v4l2
endif
+ifeq ($(BR2_PACKAGE_LIBVPX),y)
+VLC_CONF_OPTS += --enable-vpx
+VLC_DEPENDENCIES += libvpx
+else
+VLC_CONF_OPTS += --disable-vpx
+endif
+
ifeq ($(BR2_PACKAGE_LIBXCB),y)
VLC_CONF_OPTS += --enable-xcb
VLC_DEPENDENCIES += libxcb
More information about the buildroot
mailing list