[Buildroot] [git commit branch/next] package/vlc: add optional dependency to x265
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Aug 16 10:00:18 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=641d8ad05b6bb4ff074038ee50d6742c462934f6
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 bc20e2946e..7e496688b9 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -59,7 +59,6 @@ VLC_CONF_OPTS += \
--disable-vpx \
--disable-vsxu \
--disable-x262 \
- --disable-x265 \
--disable-zvbi \
--enable-run-as-root
@@ -416,6 +415,13 @@ else
VLC_CONF_OPTS += --disable-x264
endif
+ifeq ($(BR2_PACKAGE_X265),y)
+VLC_CONF_OPTS += --enable-x265
+VLC_DEPENDENCIES += x265
+else
+VLC_CONF_OPTS += --disable-x265
+endif
+
ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y)
VLC_CONF_OPTS += --enable-xcb
VLC_DEPENDENCIES += xcb-util-keysyms
More information about the buildroot
mailing list