qt5quick1: removed OpenGL dependencies
authorWojciech Slenska <wojciech.slenska@gmail.com>
Mon, 5 May 2014 17:06:46 +0000 (19:06 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 16 May 2014 20:00:13 +0000 (22:00 +0200)
Qt5Quick1 module doesn't need OpenGL libs and declarative module.

This module can be used to port qt4 qml apps to qt5. Patch has been tested
with linuxfb output plugin.

Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
Reviewed-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5/qt5quick1/Config.in
package/qt5/qt5quick1/qt5quick1.mk

index 30c2e79182a7cdc61fdd058c4ccf868d4d1279a0..59b6c347be876e7adf2d3b4718a75c4694d5d00b 100644 (file)
@@ -5,11 +5,8 @@ config BR2_PACKAGE_QT5QUICK1
        select BR2_PACKAGE_QT5BASE_WIDGETS
        select BR2_PACKAGE_QT5SCRIPT
        select BR2_PACKAGE_QT5XMLPATTERNS
-       select BR2_PACKAGE_QT5DECLARATIVE
        # This module does not support static linking
        depends on !BR2_PREFER_STATIC_LIB
-       depends on BR2_PACKAGE_HAS_LIBEGL
-       depends on BR2_PACKAGE_HAS_LIBGLES
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
        help
          Qt is a cross-platform application and UI framework for
@@ -19,7 +16,6 @@ config BR2_PACKAGE_QT5QUICK1
 
          http://qt-project.org
 
-comment "qt5quick1 needs a toolchain w/ dynamic library and an OpenGL-capable backend"
+comment "qt5quick1 needs a toolchain w/ dynamic library"
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-       depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES || \
-               BR2_PREFER_STATIC_LIB
+       depends on BR2_PREFER_STATIC_LIB
index 624b1307754c3c2d45aeaa65a327f00784f8ca65..e9d7a64ae6958cf2d4b1a6f8947a84a7cd67d0f9 100644 (file)
@@ -7,7 +7,7 @@
 QT5QUICK1_VERSION = $(QT5_VERSION)
 QT5QUICK1_SITE = $(QT5_SITE)
 QT5QUICK1_SOURCE = qtquick1-opensource-src-$(QT5QUICK1_VERSION).tar.xz
-QT5QUICK1_DEPENDENCIES = qt5base qt5xmlpatterns qt5script qt5declarative \
+QT5QUICK1_DEPENDENCIES = qt5base qt5xmlpatterns qt5script \
        $(if $(BR2_PACKAGE_QT5WEBKIT),qt5webkit)
 QT5QUICK1_INSTALL_STAGING = YES