package/vlc: add optional dependency to x265

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2018-08-12 22:29:16 +02:00 committed by Thomas Petazzoni
parent dcb16c74da
commit 641d8ad05b

View File

@ -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