blob: eb1472feae8e1f2b68d5cc277fe414d52e6d1b3c [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001SUMMARY = "Hunspell dictionaries used by Maliit"
2
3#Provided by Titus Wormer (wooorm) https://github.com/wooorm/dictionaries
4
5LICENSE = "MIT"
Patrick Williams213cb262021-08-07 19:21:33 -05006LICENSE:dictionaries/bg = "LGPL 2.1"
7LICENSE:dictionaries/br = "GPL 3.0"
8LICENSE:dictionaries/ca-valencia = "GPL 2.0 & LGPL-2.1"
9LICENSE:dictionaries/ca = "GPL 2.0 & LGPL-2.1"
10LICENSE:dictionaries/cs = "GPL-2.0"
11LICENSE:dictionaries/da = "GPL-2.0"
12LICENSE:dictionaries/de-AT = "GPL-3.0"
13LICENSE:dictionaries/de-CH = "GPL-3.0"
14LICENSE:dictionaries/de = "GPL-3.0"
15LICENSE:dictionaries/el-polyton = "GPL-2.0"
16LICENSE:dictionaries/el = "GPL-2.0"
17LICENSE:dictionaries/en-AU = "LGPL-2.0"
18LICENSE:dictionaries/en-CA = "MIT & BSD"
19LICENSE:dictionaries/en-GB = "LGPL-2.0"
20LICENSE:dictionaries/en-US = "MIT & BSD"
21LICENSE:dictionaries/en-ZA = "LGPL 2.1"
22LICENSE:dictionaries/eo = "GPL-2.0"
23LICENSE:dictionaries/es = "GPL-3.0"
24LICENSE:dictionaries/et = "LGPL-2.1"
25LICENSE:dictionaries/eu = "GPL-2.0"
26LICENSE:dictionaries/fo = "GPL-2.0"
27LICENSE:dictionaries/fr = "MPL-2.0"
28LICENSE:dictionaries/fur = "GPL-2.0"
29LICENSE:dictionaries/fy = "GPL-3.0"
30LICENSE:dictionaries/ga = "GPL-2.0"
31LICENSE:dictionaries/gd = "GPL-3.0"
32LICENSE:dictionaries/gl = "GPL-3.0"
33LICENSE:dictionaries/he = "AGPL-3.0"
34LICENSE:dictionaries/hr = "GPL-3.0"
35LICENSE:dictionaries/hu = "GPL-2.0"
36LICENSE:dictionaries/hy-arevela = "GPL-2.0"
37LICENSE:dictionaries/hy-arevmda = "GPL-2.0"
38LICENSE:dictionaries/ia = "GPL-3.0"
39LICENSE:dictionaries/ie = "Apache-2.0"
40LICENSE:dictionaries/is = "CC BY-SA 3.0 & CC BY 4.0"
41LICENSE:dictionaries/it = "GPL-3.0"
42LICENSE:dictionaries/ko = "MPL-1.1 & GPL-2.0 & LGPL-2.1"
43LICENSE:dictionaries/la = "GPL-3.0"
44LICENSE:dictionaries/lb = "EUPL-1.1"
45LICENSE:dictionaries/lt = "Other"
46LICENSE:dictionaries/ltg = "LGPL-2.1"
47LICENSE:dictionaries/lv = "LGPL-2.1"
48LICENSE:dictionaries/mk = "GPL-3.0"
49LICENSE:dictionaries/mn = "GPL-2.0"
50LICENSE:dictionaries/nb = "GPL-2.0"
51LICENSE:dictionaries/nds = "GPL-2.0"
52LICENSE:dictionaries/ne = "LGPL-2.1"
53LICENSE:dictionaries/nl = "BSD"
54LICENSE:dictionaries/nn = "GPL-2.0"
55LICENSE:dictionaries/pl = "GPL-3.0"
56LICENSE:dictionaries/pt-BR = "LGPL 2.1"
57LICENSE:dictionaries/pt = "GPL-2.0"
58LICENSE:dictionaries/ro = "GPL-2.0"
59LICENSE:dictionaries/ru = "BSD"
60LICENSE:dictionaries/rw = "GPL-3.0"
61LICENSE:dictionaries/sk = "GPL-2.0"
62LICENSE:dictionaries/sl = "GPL-2.0"
63LICENSE:dictionaries/sr-Latn = "LGPL 3.0"
64LICENSE:dictionaries/sr = "LGPL 3.0"
65LICENSE:dictionaries/sv = "LGPL 3.0"
66LICENSE:dictionaries/tr = "MIT"
67LICENSE:dictionaries/uk = "GPL 2.0"
68LICENSE:dictionaries/vi = "GPL 3.0"
Brad Bishop15ae2502019-06-18 21:44:24 -040069LIC_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
Patrick Williams213cb262021-08-07 19:21:33 -0500134RDEPENDS:${PN} = "hunspell"
Brad Bishop15ae2502019-06-18 21:44:24 -0400135
136PV = "0.0.0+git${SRCPV}"
137SRCREV = "820a65e539e34a3a8c2a855d2450b84745c624ee"
138SRC_URI = "git://github.com/wooorm/dictionaries.git"
139
140S = "${WORKDIR}/git"
141
142do_install() {
143 for LANGUAGE in `ls -d1 ${S}/dictionaries/*` ; do
William A. Kennington IIIb95905d2021-06-02 12:40:56 -0700144 LANGUAGE_DIR=`basename $LANGUAGE | sed 's:-:_:'`
Brad Bishop15ae2502019-06-18 21:44:24 -0400145 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
Patrick Williams213cb262021-08-07 19:21:33 -0500151FILES:${PN} = "${datadir}/hunspell"