package/kodi: add optional support for libvdpau

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>
This commit is contained in:
Bernd Kuhls 2016-07-11 20:09:01 +02:00 committed by Thomas Petazzoni
parent 9acee7c649
commit aab1690637
2 changed files with 17 additions and 1 deletions

View File

@ -236,6 +236,16 @@ config BR2_PACKAGE_KODI_LIBVA
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

View File

@ -74,7 +74,6 @@ KODI_CONF_OPTS += \
--disable-joystick \
--disable-openmax \
--disable-pulse \
--disable-vdpau \
--disable-vtbdecoder \
--enable-optimizations
@ -243,6 +242,13 @@ else
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