summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkkelly87 <kaneda18@hotmail.com>2015-01-07 15:05:15 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2015-01-12 15:45:28 +0100
commita7fa426daac8ce53e806db20e0fd7bf8ae9cfbfa (patch)
treee3e58bae06c27a091300f81708806ca4f1643f36
parente2e1864dcaf0cb50a5757fc9033844cdc59adce9 (diff)
downloadmeta-qt5-a7fa426daac8ce53e806db20e0fd7bf8ae9cfbfa.tar.gz
qttranslations: adding recipes for qt specific translations
The meta-qt5 layer is missing a recipe for the qttranslation submodule so qt specific items like the OK or Cancel button had no associated translations. This submission is for master while my previous patch will work as a backport to dizzy. Signed-off-by: Kevin Kelly <kaneda18@hotmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qttranslations.inc86
-rw-r--r--recipes-qt/qt5/qttranslations_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qttranslations_git.bb4
3 files changed, 95 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qttranslations.inc b/recipes-qt/qt5/qttranslations.inc
new file mode 100644
index 00000000..c04aee6b
--- /dev/null
+++ b/recipes-qt/qt5/qttranslations.inc
@@ -0,0 +1,86 @@
1require qt5.inc
2
3DEPENDS += "qtbase qttools-native"
4
5LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
6 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
7 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6"
8LICENSE = "LGPL-2.1 | GPL-3.0"
9
10PACKAGES =. " \
11 ${PN}-assistant \
12 ${PN}-designer \
13 ${PN}-linguist \
14 ${PN}-qmlviewer \
15 ${PN}-qtconnectivity \
16 ${PN}-qtmultimedia \
17 ${PN}-qtlocation \
18 ${PN}-qtdeclarative \
19 ${PN}-qtxmlpatterns \
20 ${PN}-qtconfig \
21 ${PN}-qtquick1 \
22 ${PN}-qtscript \
23 ${PN}-qtbase \
24 ${PN}-qthelp \
25 ${PN}-qt \
26"
27
28FILES_${PN}-assistant = " \
29 ${OE_QMAKE_PATH_TRANSLATIONS}/assistant_*.qm \
30"
31
32FILES_${PN}-designer = " \
33 ${OE_QMAKE_PATH_TRANSLATIONS}/designer_*.qm \
34"
35
36FILES_${PN}-linguist = " \
37 ${OE_QMAKE_PATH_TRANSLATIONS}/linguist_*.qm \
38"
39
40FILES_${PN}-qmlviewer = " \
41 ${OE_QMAKE_PATH_TRANSLATIONS}/qmlviewer_*.qm \
42"
43
44FILES_${PN}-qtconnectivity = " \
45 ${OE_QMAKE_PATH_TRANSLATIONS}/qtconnectivity_*.qm \
46"
47
48FILES_${PN}-qtmultimedia = " \
49 ${OE_QMAKE_PATH_TRANSLATIONS}/qtmultimedia_*.qm \
50"
51
52FILES_${PN}-qtlocation = " \
53 ${OE_QMAKE_PATH_TRANSLATIONS}/qtlocation_*.qm \
54"
55
56FILES_${PN}-qtdeclarative = " \
57 ${OE_QMAKE_PATH_TRANSLATIONS}/qtdeclarative_*.qm \
58"
59
60FILES_${PN}-qtxmlpatterns = " \
61 ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \
62"
63
64FILES_${PN}-qtconfig = " \
65 ${OE_QMAKE_PATH_TRANSLATIONS}/qtconfig_*.qm \
66"
67
68FILES_${PN}-qtquick1 = " \
69 ${OE_QMAKE_PATH_TRANSLATIONS}/qtquick1_*.qm \
70"
71
72FILES_${PN}-qtscript = " \
73 ${OE_QMAKE_PATH_TRANSLATIONS}/qtscript_*.qm \
74"
75
76FILES_${PN}-qtbase = " \
77 ${OE_QMAKE_PATH_TRANSLATIONS}/qtbase_*.qm \
78"
79
80FILES_${PN}-qthelp = " \
81 ${OE_QMAKE_PATH_TRANSLATIONS}/qt_help_*.qm \
82"
83
84FILES_${PN}-qt = " \
85 ${OE_QMAKE_PATH_TRANSLATIONS}/qt_*.qm \
86"
diff --git a/recipes-qt/qt5/qttranslations_5.4.0.bb b/recipes-qt/qt5/qttranslations_5.4.0.bb
new file mode 100644
index 00000000..2e3a2841
--- /dev/null
+++ b/recipes-qt/qt5/qttranslations_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "6462eeefae00f048418ed6e4571c4cc9"
5SRC_URI[sha256sum] = "aca78d9178481a21a7af8571beb9109b38f0f71ba75cf3b89ddf705962a3f98b"
diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttranslations_git.bb
new file mode 100644
index 00000000..f4dffb73
--- /dev/null
+++ b/recipes-qt/qt5/qttranslations_git.bb
@@ -0,0 +1,4 @@
1require qt5-git.inc
2require ${PN}.inc
3
4SRCREV = "b9481cffeb41ceb9363b7be850bd9cd172b313be"