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:
parent
9acee7c649
commit
aab1690637
@ -236,6 +236,16 @@ config BR2_PACKAGE_KODI_LIBVA
|
|||||||
help
|
help
|
||||||
Enable libva support.
|
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
|
config BR2_PACKAGE_KODI_UPNP
|
||||||
bool "upnp"
|
bool "upnp"
|
||||||
help
|
help
|
||||||
|
@ -74,7 +74,6 @@ KODI_CONF_OPTS += \
|
|||||||
--disable-joystick \
|
--disable-joystick \
|
||||||
--disable-openmax \
|
--disable-openmax \
|
||||||
--disable-pulse \
|
--disable-pulse \
|
||||||
--disable-vdpau \
|
|
||||||
--disable-vtbdecoder \
|
--disable-vtbdecoder \
|
||||||
--enable-optimizations
|
--enable-optimizations
|
||||||
|
|
||||||
@ -243,6 +242,13 @@ else
|
|||||||
KODI_CONF_OPTS += --disable-vaapi
|
KODI_CONF_OPTS += --disable-vaapi
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_KODI_UPNP),y)
|
||||||
KODI_CONF_OPTS += --enable-upnp
|
KODI_CONF_OPTS += --enable-upnp
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user