qt5cinex: add missing indirect dependency on libegl
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:18 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:24:20 +0000 (21:24 +0100)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5cinex/Config.in

index bc533d3a43f93573639f428b9548883edac1020d..b273231be59669bb86cec10670278a4e45c80f67 100644 (file)
@@ -1,7 +1,7 @@
-comment "qt5cinex needs an OpenGL-capable backend"
+comment "qt5cinex needs an Open(E)GL-capable backend"
        depends on BR2_PACKAGE_QT5
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-       depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+       depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
 
 config BR2_PACKAGE_QT5CINEX
        bool "qt5cinex"
@@ -11,6 +11,7 @@ config BR2_PACKAGE_QT5CINEX
        select BR2_PACKAGE_QT5BASE_WIDGETS
        select BR2_PACKAGE_QT5BASE_EGLFS
        select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+       depends on BR2_PACKAGE_HAS_LIBEGL # qt5base-eglfs
        depends on BR2_PACKAGE_QT5_GL_AVAILABLE
        # No comment needed for this option, it's an architecture
        # dependency.