Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: drop select of libX11 and libXext, since the libvdpau package
already selects them.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
help
Enable libva support.
+config BR2_PACKAGE_KODI_LIBVDPAU
+ bool "vdpau"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_LIBVDPAU
+ help
+ Enable libvdpau support.
+
+comment "libvdpau support needs X.org"
+ depends on !BR2_PACKAGE_XORG7
+
config BR2_PACKAGE_KODI_UPNP
bool "upnp"
help
--disable-joystick \
--disable-openmax \
--disable-pulse \
- --disable-vdpau \
--disable-vtbdecoder \
--enable-optimizations
KODI_CONF_OPTS += --disable-vaapi
endif
+ifeq ($(BR2_PACKAGE_KODI_LIBVDPAU),y)
+KODI_DEPENDENCIES += libvdpau
+KODI_CONF_OPTS += --enable-vdpau
+else
+KODI_CONF_OPTS += --disable-vdpau
+endif
+
ifeq ($(BR2_PACKAGE_KODI_UPNP),y)
KODI_CONF_OPTS += --enable-upnp
else