diff options
Diffstat (limited to 'recipes-qt/qt5/qtxmlpatterns_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtxmlpatterns_git.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb index 1957fafd..d9a1a9a9 100644 --- a/recipes-qt/qt5/qtxmlpatterns_git.bb +++ b/recipes-qt/qt5/qtxmlpatterns_git.bb | |||
@@ -14,6 +14,17 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | DEPENDS += "qtbase" | 15 | DEPENDS += "qtbase" |
16 | 16 | ||
17 | PACKAGECONFIG ?= "" | ||
18 | PACKAGECONFIG_class-target ?= "qtdeclarative" | ||
19 | PACKAGECONFIG[qtdeclarative] = ",,qtdeclarative" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG | ||
23 | sed -e 's/qtHaveModule(qml)/OE_QTDECLARATIVE_ENABLED/' -i ${S}/src/src.pro | ||
24 | } | ||
25 | |||
26 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtdeclarative', 'CONFIG+=OE_QTDECLARATIVE_ENABLED', '', d)}" | ||
27 | |||
17 | SRCREV = "274f162fd41c4de88df7efda9e6ec16a1ca968bc" | 28 | SRCREV = "274f162fd41c4de88df7efda9e6ec16a1ca968bc" |
18 | 29 | ||
19 | BBCLASSEXTEND =+ "native nativesdk" | 30 | BBCLASSEXTEND =+ "native nativesdk" |