package/vlc: add optional dependency to libva

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:32 +02:00 committed by Thomas Petazzoni
parent 1291938c6c
commit f1ff252506

View File

@ -64,7 +64,6 @@ VLC_CONF_OPTS += \
--disable-kate \ --disable-kate \
--disable-kva \ --disable-kva \
--disable-libplacebo \ --disable-libplacebo \
--disable-libva \
--disable-linsys \ --disable-linsys \
--disable-mfx \ --disable-mfx \
--disable-microdns \ --disable-microdns \
@ -378,6 +377,14 @@ else
VLC_CONF_OPTS += --disable-upnp VLC_CONF_OPTS += --disable-upnp
endif endif
# libva support depends on ffmpeg
ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy)
VLC_CONF_OPTS += --enable-libva
VLC_DEPENDENCIES += libva
else
VLC_CONF_OPTS += --disable-libva
endif
ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y)
VLC_CONF_OPTS += --enable-vnc VLC_CONF_OPTS += --enable-vnc
VLC_DEPENDENCIES += libvncserver VLC_DEPENDENCIES += libvncserver