diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-05-23 11:55:02 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-05-24 10:11:28 -0700 |
commit | fe16fd1ae23360bf525885c913cb7750b7716ff3 (patch) | |
tree | 7761f230a285c262e1235827e058af798440867b | |
parent | 3a8c2e57168ff7c1b6f16757c49bb4f7b84b6e3a (diff) | |
download | meta-openembedded-fe16fd1ae23360bf525885c913cb7750b7716ff3.tar.gz |
hunspell-dictionaries: import from meta-luneos to make hunspell in meta-oe a bit more useful
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb b/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb new file mode 100644 index 000000000..3da67d1e3 --- /dev/null +++ b/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb | |||
@@ -0,0 +1,151 @@ | |||
1 | SUMMARY = "Hunspell dictionaries used by Maliit" | ||
2 | |||
3 | #Provided by Titus Wormer (wooorm) https://github.com/wooorm/dictionaries | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | LICENSE_dictionaries/bg = "LGPL 2.1" | ||
7 | LICENSE_dictionaries/br = "GPL 3.0" | ||
8 | LICENSE_dictionaries/ca-valencia = "GPL 2.0 & LGPL-2.1" | ||
9 | LICENSE_dictionaries/ca = "GPL 2.0 & LGPL-2.1" | ||
10 | LICENSE_dictionaries/cs = "GPL-2.0" | ||
11 | LICENSE_dictionaries/da = "GPL-2.0" | ||
12 | LICENSE_dictionaries/de-AT = "GPL-3.0" | ||
13 | LICENSE_dictionaries/de-CH = "GPL-3.0" | ||
14 | LICENSE_dictionaries/de = "GPL-3.0" | ||
15 | LICENSE_dictionaries/el-polyton = "GPL-2.0" | ||
16 | LICENSE_dictionaries/el = "GPL-2.0" | ||
17 | LICENSE_dictionaries/en-AU = "LGPL-2.0" | ||
18 | LICENSE_dictionaries/en-CA = "MIT & BSD" | ||
19 | LICENSE_dictionaries/en-GB = "LGPL-2.0" | ||
20 | LICENSE_dictionaries/en-US = "MIT & BSD" | ||
21 | LICENSE_dictionaries/en-ZA = "LGPL 2.1" | ||
22 | LICENSE_dictionaries/eo = "GPL-2.0" | ||
23 | LICENSE_dictionaries/es = "GPL-3.0" | ||
24 | LICENSE_dictionaries/et = "LGPL-2.1" | ||
25 | LICENSE_dictionaries/eu = "GPL-2.0" | ||
26 | LICENSE_dictionaries/fo = "GPL-2.0" | ||
27 | LICENSE_dictionaries/fr = "MPL-2.0" | ||
28 | LICENSE_dictionaries/fur = "GPL-2.0" | ||
29 | LICENSE_dictionaries/fy = "GPL-3.0" | ||
30 | LICENSE_dictionaries/ga = "GPL-2.0" | ||
31 | LICENSE_dictionaries/gd = "GPL-3.0" | ||
32 | LICENSE_dictionaries/gl = "GPL-3.0" | ||
33 | LICENSE_dictionaries/he = "AGPL-3.0" | ||
34 | LICENSE_dictionaries/hr = "GPL-3.0" | ||
35 | LICENSE_dictionaries/hu = "GPL-2.0" | ||
36 | LICENSE_dictionaries/hy-arevela = "GPL-2.0" | ||
37 | LICENSE_dictionaries/hy-arevmda = "GPL-2.0" | ||
38 | LICENSE_dictionaries/ia = "GPL-3.0" | ||
39 | LICENSE_dictionaries/ie = "Apache-2.0" | ||
40 | LICENSE_dictionaries/is = "CC BY-SA 3.0 & CC BY 4.0" | ||
41 | LICENSE_dictionaries/it = "GPL-3.0" | ||
42 | LICENSE_dictionaries/ko = "MPL-1.1 & GPL-2.0 & LGPL-2.1" | ||
43 | LICENSE_dictionaries/la = "GPL-3.0" | ||
44 | LICENSE_dictionaries/lb = "EUPL-1.1" | ||
45 | LICENSE_dictionaries/lt = "Other" | ||
46 | LICENSE_dictionaries/ltg = "LGPL-2.1" | ||
47 | LICENSE_dictionaries/lv = "LGPL-2.1" | ||
48 | LICENSE_dictionaries/mk = "GPL-3.0" | ||
49 | LICENSE_dictionaries/mn = "GPL-2.0" | ||
50 | LICENSE_dictionaries/nb = "GPL-2.0" | ||
51 | LICENSE_dictionaries/nds = "GPL-2.0" | ||
52 | LICENSE_dictionaries/ne = "LGPL-2.1" | ||
53 | LICENSE_dictionaries/nl = "BSD" | ||
54 | LICENSE_dictionaries/nn = "GPL-2.0" | ||
55 | LICENSE_dictionaries/pl = "GPL-3.0" | ||
56 | LICENSE_dictionaries/pt-BR = "LGPL 2.1" | ||
57 | LICENSE_dictionaries/pt = "GPL-2.0" | ||
58 | LICENSE_dictionaries/ro = "GPL-2.0" | ||
59 | LICENSE_dictionaries/ru = "BSD" | ||
60 | LICENSE_dictionaries/rw = "GPL-3.0" | ||
61 | LICENSE_dictionaries/sk = "GPL-2.0" | ||
62 | LICENSE_dictionaries/sl = "GPL-2.0" | ||
63 | LICENSE_dictionaries/sr-Latn = "LGPL 3.0" | ||
64 | LICENSE_dictionaries/sr = "LGPL 3.0" | ||
65 | LICENSE_dictionaries/sv = "LGPL 3.0" | ||
66 | LICENSE_dictionaries/tr = "MIT" | ||
67 | LICENSE_dictionaries/uk = "GPL 2.0" | ||
68 | LICENSE_dictionaries/vi = "GPL 3.0" | ||
69 | LIC_FILES_CHKSUM = " \ | ||
70 | file://dictionaries/bg/license;md5=ab14e2ded1a43b84be9aba2be64b9814 \ | ||
71 | file://dictionaries/br/license;md5=2e046c64edc0a4e47fb3ea614e6c82c4 \ | ||
72 | file://dictionaries/ca-valencia/license;md5=da087cefab7bc3b7687203198a0042ec \ | ||
73 | file://dictionaries/ca/license;md5=da087cefab7bc3b7687203198a0042ec \ | ||
74 | file://dictionaries/cs/license;md5=e0496d626a53ad31addea1869c1bed53 \ | ||
75 | file://dictionaries/da/license;md5=b7678b3e997999043be3503dc717d96d \ | ||
76 | file://dictionaries/de-AT/license;md5=a03d823e8cd00fd71c9ba18b8ec4ccf1 \ | ||
77 | file://dictionaries/de-CH/license;md5=a03d823e8cd00fd71c9ba18b8ec4ccf1 \ | ||
78 | file://dictionaries/de/license;md5=a03d823e8cd00fd71c9ba18b8ec4ccf1 \ | ||
79 | file://dictionaries/el-polyton/license;md5=d952bcbf1c67129920f03536197c7281 \ | ||
80 | file://dictionaries/el/license;md5=90b757dd77b1ebbf473eef31037a59e8 \ | ||
81 | file://dictionaries/en-AU/license;md5=dae002c846eab5e1132ba2e00692dc68 \ | ||
82 | file://dictionaries/en-CA/license;md5=6c205de0cbcae4b42cf992bb355a5346 \ | ||
83 | file://dictionaries/en-GB/license;md5=dd6d2bbd7b7f4519448f2b995fd99cd4 \ | ||
84 | file://dictionaries/en-US/license;md5=244a909f295640bfafeb8d9e522d454b \ | ||
85 | file://dictionaries/en-ZA/license;md5=56e4b4ca965de3bba6db42494cc34576 \ | ||
86 | file://dictionaries/eo/license;md5=eb723b61539feef013de476e68b5c50a \ | ||
87 | file://dictionaries/es/license;md5=b41cabf4e6f2a7d951684246518bea4f \ | ||
88 | file://dictionaries/et/readme.md;md5=59d851f12cc280f893b245938abc1905 \ | ||
89 | file://dictionaries/fo/license;md5=fa9ce505d07423c9f8e6c1073f4806c2 \ | ||
90 | file://dictionaries/fr/license;md5=2346c7bffe6ab4d51730ab3116817c72 \ | ||
91 | file://dictionaries/fur/license;md5=28ac8c6e75d6c44b60016a8c850036e3 \ | ||
92 | file://dictionaries/fy/license;md5=c05115c38ca2a4aa95cb9c9b00ed78df \ | ||
93 | file://dictionaries/ga/license;md5=ee7d601b5d3be3856a169afa71eb3376 \ | ||
94 | file://dictionaries/gd/license;md5=b5f39c26d691733095323a59d0f02216 \ | ||
95 | file://dictionaries/gl/license;md5=d32239bcb673463ab874e80d47fae504 \ | ||
96 | file://dictionaries/he/license;md5=e627dcdf6878e7eca4454e39d1489271 \ | ||
97 | file://dictionaries/hr/license;md5=4b03c9b6e41a6ef12b4e31d2fb224d46 \ | ||
98 | file://dictionaries/hu/license;md5=c9755266de74fdbe69636bdb3076b603 \ | ||
99 | file://dictionaries/hy-arevela/license;md5=c690b6bc807de0a6dcd62db030843ee4 \ | ||
100 | file://dictionaries/hy-arevmda/license;md5=c690b6bc807de0a6dcd62db030843ee4 \ | ||
101 | file://dictionaries/ia/license;md5=25c37bbb54f9ab5da9b4bcdda2e2f68e \ | ||
102 | file://dictionaries/ie/license;md5=fa818a259cbed7ce8bc2a22d35a464fc \ | ||
103 | file://dictionaries/is/license;md5=db5e38a312b91d717561514767c95999 \ | ||
104 | file://dictionaries/it/license;md5=31d06285633a89f4d0267895ef8b7107 \ | ||
105 | file://dictionaries/ko/license;md5=5ff35d5b0523cccb3049edff77c73a10 \ | ||
106 | file://dictionaries/la/license;md5=9bc08ae2930eb806cee44bbae905b7ba \ | ||
107 | file://dictionaries/lb/license;md5=5d6417331778645577c40c3329a3d559 \ | ||
108 | file://dictionaries/lt/license;md5=3d1264d7017271c6731fefaba912a15f \ | ||
109 | file://dictionaries/ltg/license;md5=72c786f9d43bb07c101766457fcf6435 \ | ||
110 | file://dictionaries/lv/license;md5=957d42bd58feff079daa6ede1d215585 \ | ||
111 | file://dictionaries/mk/license;md5=c05a3747d4c871f3c6378909668ec72d \ | ||
112 | file://dictionaries/mn/license;md5=93a1be573a1bd039cb4e17c21ed800a7 \ | ||
113 | file://dictionaries/nb/license;md5=6b50c67a5ee9ba5af1b4ab6c009b66f2 \ | ||
114 | file://dictionaries/nds/license;md5=08c69ee106e67a1085d45dc723ae5396 \ | ||
115 | file://dictionaries/ne/license;md5=620e39f1aec72b0bdbc922128dd08267 \ | ||
116 | file://dictionaries/nl/license;md5=f9181fe437dd701ce6ae690f6e09b119 \ | ||
117 | file://dictionaries/nn/license;md5=9d372c99817cb42bdd1f6c0acb7f4d11 \ | ||
118 | file://dictionaries/pl/license;md5=5d0961c4eee8448d5f3738b1ff04ebe8 \ | ||
119 | file://dictionaries/pt-BR/license;md5=08a7e74543d3e612e7613f2959bedab0 \ | ||
120 | file://dictionaries/pt/license;md5=53d8ed71b4053ef0ccfcf6b3f89880a8 \ | ||
121 | file://dictionaries/ro/license;md5=db18b1d6cfc0d4ca32371cb76900de2c \ | ||
122 | file://dictionaries/ru/license;md5=a3d4108679bd3b76ec1a86520b5362cf \ | ||
123 | file://dictionaries/rw/license;md5=784d7dc7357bd924e8d5642892bf1b6b \ | ||
124 | file://dictionaries/sk/license;md5=7fb3956bf960db433deedec7746d33c5 \ | ||
125 | file://dictionaries/sl/license;md5=4965d53062ea2045837facf483475ac7 \ | ||
126 | file://dictionaries/sr-Latn/license;md5=0139a4b8ce316882cceae8924030950d \ | ||
127 | file://dictionaries/sr/license;md5=0139a4b8ce316882cceae8924030950d \ | ||
128 | file://dictionaries/sv/license;md5=fe5c586fe56d04fbdc44df187129ac29 \ | ||
129 | file://dictionaries/tr/readme.md;md5=27c07bbfa543cfdd163f2dad491703bd \ | ||
130 | file://dictionaries/uk/license;md5=7702f203b58979ebbc31bfaeb44f219c \ | ||
131 | file://dictionaries/vi/license;md5=8d9ecb4e7577ce760029786aba7ecec5 \ | ||
132 | " | ||
133 | |||
134 | RDEPENDS_${PN} = "hunspell" | ||
135 | |||
136 | PV = "0.0.0+git${SRCPV}" | ||
137 | SRCREV = "820a65e539e34a3a8c2a855d2450b84745c624ee" | ||
138 | SRC_URI = "git://github.com/wooorm/dictionaries.git" | ||
139 | |||
140 | S = "${WORKDIR}/git" | ||
141 | |||
142 | do_install() { | ||
143 | for LANGUAGE in `ls -d1 ${S}/dictionaries/*` ; do | ||
144 | LANGUAGE_DIR=`basename $LANGUAGE` | ||
145 | install -D -m0644 $LANGUAGE/index.dic ${D}${datadir}/hunspell/$LANGUAGE_DIR.dic | ||
146 | install -D -m0644 $LANGUAGE/index.aff ${D}${datadir}/hunspell/$LANGUAGE_DIR.aff | ||
147 | install -D -m0644 $LANGUAGE/LICENSE ${D}${datadir}/hunspell/LICENSE-$LANGUAGE_DIR 2>/dev/null || echo "No LICENSE for language $LANGUAGE" | ||
148 | done | ||
149 | } | ||
150 | |||
151 | FILES_${PN} = "${datadir}/hunspell" | ||