package/kodi: optimise libva/libvdpau dependencies

Suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2017-April/190703.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2017-04-29 14:27:32 +02:00 committed by Thomas Petazzoni
parent 85b8a8ab98
commit b556a9e06a

View File

@ -241,25 +241,25 @@ config BR2_PACKAGE_KODI_LIBUSB
config BR2_PACKAGE_KODI_LIBVA
bool "va"
depends on !BR2_PACKAGE_KODI_EGL_GLES
depends on BR2_PACKAGE_KODI_EGL_GL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVA
help
Enable libva support.
comment "libva support needs X.org with an openGL backend"
depends on !BR2_PACKAGE_XORG7 || BR2_PACKAGE_KODI_EGL_GLES
depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
config BR2_PACKAGE_KODI_LIBVDPAU
bool "vdpau"
depends on !BR2_PACKAGE_KODI_EGL_GLES
depends on BR2_PACKAGE_KODI_EGL_GL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVDPAU
help
Enable libvdpau support.
comment "libvdpau support needs X.org with an openGL backend"
depends on !BR2_PACKAGE_XORG7 || BR2_PACKAGE_KODI_EGL_GLES
depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
config BR2_PACKAGE_KODI_UPNP
bool "upnp"