qt5quickcontrols: depend on quick module
authorFatih Aşıcı <fatih.asici@gmail.com>
Sat, 19 Jul 2014 17:33:28 +0000 (20:33 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 21 Jul 2014 19:59:36 +0000 (21:59 +0200)
Also remove redundant dependencies.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5quickcontrols/Config.in

index c350a7440df75c8f6069abd2bce651dcb700f97c..aae3d896eba57ad53183f44f478c9de259533786 100644 (file)
@@ -1,11 +1,9 @@
 config BR2_PACKAGE_QT5QUICKCONTROLS
        bool "qt5quickcontrols"
-       select BR2_PACKAGE_QT5BASE
-       select BR2_PACKAGE_QT5BASE_NETWORK
        select BR2_PACKAGE_QT5DECLARATIVE
+       select BR2_PACKAGE_QT5DECLARATIVE_QUICK
+       depends on BR2_PACKAGE_QT5_GL_AVAILABLE
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-       depends on BR2_PACKAGE_HAS_LIBEGL
-       depends on BR2_PACKAGE_HAS_LIBGLES
        help
          Qt is a cross-platform application and UI framework for
          developers using C++.
@@ -14,6 +12,6 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
 
          http://qt-project.org
 
-comment "qt5quickcontrols requires an OpenGL-capable backend"
-       depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
-               BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+comment "qt5quickcontrols needs an OpenGL-capable backend"
+       depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+       depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE