package/qt5/qt5xmlpatterns: enable qml module
authorPeter Seiderer <ps.report@gmx.net>
Sat, 14 Mar 2020 17:56:08 +0000 (18:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Mar 2020 21:51:34 +0000 (22:51 +0100)
qt5declarative:
 - remove unneded dependency on qt5mlpatterns

qt5xmlpatterns:
 - add optional dependency on qt5declarative

Reported-by: Nimai Mahajan <nimaim@gmail.com>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5declarative/Config.in
package/qt5/qt5declarative/qt5declarative.mk
package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk

index 32ea8f0d0c86b5b80fec318c83b200c106f0997e..476cf33f398fa0f2961513a4a56eb88bd0966f64 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_QT5DECLARATIVE
        bool "qt5declarative"
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-       select BR2_PACKAGE_QT5XMLPATTERNS
        select BR2_PACKAGE_QT5BASE
        select BR2_PACKAGE_QT5BASE_GUI
        help
index 42024c4a13b91719e955da58990ebd2ee4dc9a59..3318cd24c891b60a769f09c6ca03b90775830a3a 100644 (file)
@@ -7,7 +7,6 @@
 QT5DECLARATIVE_VERSION = $(QT5_VERSION)
 QT5DECLARATIVE_SITE = $(QT5_SITE)
 QT5DECLARATIVE_SOURCE = qtdeclarative-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5DECLARATIVE_VERSION).tar.xz
-QT5DECLARATIVE_DEPENDENCIES = qt5xmlpatterns
 QT5DECLARATIVE_INSTALL_STAGING = YES
 
 QT5DECLARATIVE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
index 85528699252a510f7ee98940eb2ba271c9039960..6845483327c1c6152c1ef964aa9d2bd763f80d05 100644 (file)
@@ -11,6 +11,10 @@ QT5XMLPATTERNS_INSTALL_STAGING = YES
 QT5XMLPATTERNS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
 QT5XMLPATTERNS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
 
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+QT5XMLPATTERNS_DEPENDENCIES += qt5declarative
+endif
+
 ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
 QT5XMLPATTERNS_LICENSE += , BSD-3-Clause (examples)
 endif