qt5quick1: ensure optional qt5webkit support is enabled if present
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Jun 2013 10:41:11 +0000 (12:41 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Jun 2013 10:41:11 +0000 (12:41 +0200)
qt5quick1 has optional qt5webkit support, so ensure it is built after
qt5webkit if enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt5/qt5quick1/qt5quick1.mk

index fc3738809d53805c28583cb39f6fae1bc3d19957..83e11c475e35df65de3878996fbf1a57f14ba2fb 100644 (file)
@@ -7,7 +7,8 @@
 QT5QUICK1_VERSION = $(QT5_VERSION)
 QT5QUICK1_SITE = $(QT5_SITE)
 QT5QUICK1_SOURCE = qtquick1-opensource-src-$(QT5QUICK1_VERSION).tar.xz
-QT5QUICK1_DEPENDENCIES = qt5base qt5xmlpatterns qt5script qt5declarative qt5jsbackend
+QT5QUICK1_DEPENDENCIES = qt5base qt5xmlpatterns qt5script qt5declarative qt5jsbackend \
+       $(if $(BR2_PACKAGE_QT5WEBKIT),qt5webkit)
 QT5QUICK1_INSTALL_STAGING = YES
 
 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)