qttranslations: do not use qt meta catalog translation package

The qt_xx packages are meta catalogs that have dependencies to
qtquick1 which is not available anymore, which then breaks loading
of the translation file.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
This commit is contained in:
Samuli Piippo
2018-06-29 13:29:25 +03:00
committed by Otavio Salvador
parent 0ea31eaf6a
commit 2b01a6d8b8

View File

@@ -10,7 +10,7 @@ DEPENDS += "qtbase qttools-native"
do_install_append() {
# remove qtquick1 translations - qtquick1 is gone
for transfile in `find ${D}/${OE_QMAKE_PATH_TRANSLATIONS} -name qtquick1_*.qm`; do
for transfile in `find ${D}/${OE_QMAKE_PATH_TRANSLATIONS} -name qtquick1_*.qm -o -name qt_*.qm ! -name qt_help_*.qm`; do
rm $transfile
done
}
@@ -33,7 +33,6 @@ PACKAGES =. " \
${PN}-qtserialport \
${PN}-qtbase \
${PN}-qthelp \
${PN}-qt \
"
FILES_${PN}-assistant = " \
@@ -104,8 +103,4 @@ FILES_${PN}-qthelp = " \
${OE_QMAKE_PATH_TRANSLATIONS}/qt_help_*.qm \
"
FILES_${PN}-qt = " \
${OE_QMAKE_PATH_TRANSLATIONS}/qt_*.qm \
"
SRCREV = "3e0de1e1cd4fd194d1069b61f57a55b8d23ab60d"