From 247aeca8772a6310f4ea384542f5b3a1371a4efd Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 8 Feb 2015 19:24:10 -0200 Subject: qt5.inc: Fix packaging of architecture independent data The architecture independent data were being added to the '-dev' package however it shouldn't be. For example the QtWebEngine had the translation and the resources package were not being installed with the main package, as it should be. This commit changes the qttools and qttranslations recipes as well so those keep its contents in the respective packages: qttools: add the phrasebooks in the qttools-tools package qttranslations: add a new subpackage for qtquickcontrols Signed-off-by: Otavio Salvador --- recipes-qt/qt5/qt5.inc | 2 +- recipes-qt/qt5/qttools.inc | 1 + recipes-qt/qt5/qttranslations.inc | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'recipes-qt/qt5') diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index bb0bcdca..af0a9061 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc @@ -118,7 +118,6 @@ FILES_${PN}-dev += " \ ${OE_QMAKE_PATH_LIBS}/cmake/* \ ${OE_QMAKE_PATH_LIBS}/*.prl \ ${OE_QMAKE_PATH_LIBS}/*.la \ - ${OE_QMAKE_PATH_DATA}/* \ ${OE_QMAKE_PATH_HEADERS}/* \ " FILES_${PN}-dbg += " \ @@ -129,6 +128,7 @@ FILES_${PN}-staticdev += " \ ${OE_QMAKE_PATH_LIBS}/*.a \ " FILES_${PN}-examples = " \ + ${OE_QMAKE_PATH_EXAMPLES}/README \ ${OE_QMAKE_PATH_EXAMPLES}/*/* \ " FILES_${PN}-examples-dev = " \ diff --git a/recipes-qt/qt5/qttools.inc b/recipes-qt/qt5/qttools.inc index 8c97e249..97717ae1 100644 --- a/recipes-qt/qt5/qttools.inc +++ b/recipes-qt/qt5/qttools.inc @@ -7,6 +7,7 @@ SRC_URI += " \ file://0003-add-noqtwebkit-configuration.patch \ " +FILES_${PN}-tools += "${datadir}/${QT_DIR_NAME}/phrasebooks" FILES_${PN}-examples = "${datadir}/${QT_DIR_NAME}/examples" PACKAGECONFIG ??= "" diff --git a/recipes-qt/qt5/qttranslations.inc b/recipes-qt/qt5/qttranslations.inc index c04aee6b..c5226947 100644 --- a/recipes-qt/qt5/qttranslations.inc +++ b/recipes-qt/qt5/qttranslations.inc @@ -16,6 +16,7 @@ PACKAGES =. " \ ${PN}-qtmultimedia \ ${PN}-qtlocation \ ${PN}-qtdeclarative \ + ${PN}-qtquickcontrols \ ${PN}-qtxmlpatterns \ ${PN}-qtconfig \ ${PN}-qtquick1 \ @@ -57,6 +58,10 @@ FILES_${PN}-qtdeclarative = " \ ${OE_QMAKE_PATH_TRANSLATIONS}/qtdeclarative_*.qm \ " +FILES_${PN}-qtquickcontrols = " \ + ${OE_QMAKE_PATH_TRANSLATIONS}/qtquickcontrols_*.qm \ +" + FILES_${PN}-qtxmlpatterns = " \ ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \ " -- cgit v1.2.3-54-g00ecf