diff options
Diffstat (limited to 'recipes-qt/qt5/qt5.inc')
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index b4915138..99105bd9 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -37,6 +37,14 @@ python __anonymous() { | |||
37 | d.setVar("PACKAGE_ARCH", tarch) | 37 | d.setVar("PACKAGE_ARCH", tarch) |
38 | } | 38 | } |
39 | 39 | ||
40 | # if building static Qt5, add qtdeclarative-native dependency to all recipes | ||
41 | # that depend on qtdeclarative as it's required for qmlimportscannertool | ||
42 | python __anonymous() { | ||
43 | if bb.utils.contains('DISTRO_FEATURES', "qt5-static", True, False, d): | ||
44 | if bb.utils.contains('DEPENDS', "qtdeclarative", True, False, d): | ||
45 | d.appendVar("DEPENDS", " qtdeclarative-native") | ||
46 | } | ||
47 | |||
40 | # Many examples come with libraries installed outside of standard libdir, | 48 | # Many examples come with libraries installed outside of standard libdir, |
41 | # suppress QA check complaining | 49 | # suppress QA check complaining |
42 | INSANE_SKIP_${PN}-dbg += "libdir" | 50 | INSANE_SKIP_${PN}-dbg += "libdir" |
@@ -48,6 +56,8 @@ PACKAGES =. "${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmldes | |||
48 | 56 | ||
49 | ALLOW_EMPTY_${PN} = "1" | 57 | ALLOW_EMPTY_${PN} = "1" |
50 | ALLOW_EMPTY_${PN}-dbg = "1" | 58 | ALLOW_EMPTY_${PN}-dbg = "1" |
59 | ALLOW_EMPTY_${PN}-plugins = "1" | ||
60 | ALLOW_EMPTY_${PN}-qmlplugins = "1" | ||
51 | 61 | ||
52 | RRECOMMENDS_${PN} = " \ | 62 | RRECOMMENDS_${PN} = " \ |
53 | ${PN}-plugins \ | 63 | ${PN}-plugins \ |
@@ -159,6 +169,18 @@ FILES_${PN}-dbg += " \ | |||
159 | " | 169 | " |
160 | FILES_${PN}-staticdev += " \ | 170 | FILES_${PN}-staticdev += " \ |
161 | ${OE_QMAKE_PATH_LIBS}/*.a \ | 171 | ${OE_QMAKE_PATH_LIBS}/*.a \ |
172 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ | ||
173 | ${OE_QMAKE_PATH_PLUGINS}/*/*.prl \ | ||
174 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*.a \ | ||
175 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*.prl \ | ||
176 | ${OE_QMAKE_PATH_QML}/*/*.a \ | ||
177 | ${OE_QMAKE_PATH_QML}/*/*.prl \ | ||
178 | ${OE_QMAKE_PATH_QML}/*/*/*.a \ | ||
179 | ${OE_QMAKE_PATH_QML}/*/*/*.prl \ | ||
180 | ${OE_QMAKE_PATH_QML}/*/*/*/*.a \ | ||
181 | ${OE_QMAKE_PATH_QML}/*/*/*/*.prl \ | ||
182 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.a \ | ||
183 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ | ||
162 | " | 184 | " |
163 | FILES_${PN}-examples = " \ | 185 | FILES_${PN}-examples = " \ |
164 | ${OE_QMAKE_PATH_EXAMPLES}/* \ | 186 | ${OE_QMAKE_PATH_EXAMPLES}/* \ |