libva-intel-driver: indirectly depends on XORG7
authorArnout Vandecappelle <arnout@mind.be>
Sun, 12 Oct 2014 18:33:35 +0000 (20:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 12 Oct 2014 19:42:37 +0000 (21:42 +0200)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libva-intel-driver/Config.in

index a0f397b327b97b8b8999ab35e354640b375a8b46..cac2fed462743257f7ae9a7c5dcf6862a325af82 100644 (file)
@@ -3,10 +3,11 @@ config BR2_PACKAGE_LIBVA_INTEL_DRIVER
        select BR2_PACKAGE_LIBVA
        select BR2_PACKAGE_LIBDRM
        select BR2_PACKAGE_LIBDRM_INTEL
-       select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
-       select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
-       select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
+       select BR2_PACKAGE_XLIB_LIBX11
+       select BR2_PACKAGE_XLIB_LIBXEXT
+       select BR2_PACKAGE_XLIB_LIBXFIXES
        depends on BR2_i386 || BR2_x86_64
+       depends on BR2_PACKAGE_XORG7 # libdrm intel
        depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
        depends on BR2_LARGEFILE # libdrm
        depends on !BR2_PREFER_STATIC_LIB # libva
@@ -19,3 +20,7 @@ comment "libva intel driver needs a toolchain w/ largefile, threads, dynamic lib
        depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
                BR2_PREFER_STATIC_LIB
        depends on BR2_i386 || BR2_x86_64
+
+comment "libva intel driver needs X.org"
+       depends on BR2_i386 || BR2_x86_64
+       depends on !BR2_PACKAGE_XORG7