package/kodi: optimise libva/libvdpau dependencies
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 29 Apr 2017 12:27:32 +0000 (14:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 12:42:52 +0000 (14:42 +0200)
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>
package/kodi/Config.in

index fc403432fdf30c15cd9d9ab188d609f38f280746..613cf4846fa1d6c8d0912b3e5c6472f4663f6612 100644 (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"