xref: /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb (revision 8460358c3d24c71d9d38fd126c745854a6301564)
115ae2509SBrad BishopSUMMARY = "Hunspell dictionaries used by Maliit"
215ae2509SBrad Bishop
315ae2509SBrad Bishop#Provided by Titus Wormer (wooorm) https://github.com/wooorm/dictionaries
415ae2509SBrad Bishop
515ae2509SBrad BishopLICENSE = "MIT"
6213cb269SPatrick WilliamsLICENSE:dictionaries/bg = "LGPL 2.1"
7213cb269SPatrick WilliamsLICENSE:dictionaries/br = "GPL 3.0"
89aee5003SAndrew GeisslerLICENSE:dictionaries/ca-valencia = "GPL 2.0 & LGPL-2.1-only"
99aee5003SAndrew GeisslerLICENSE:dictionaries/ca = "GPL 2.0 & LGPL-2.1-only"
109aee5003SAndrew GeisslerLICENSE:dictionaries/cs = "GPL-2.0-only"
119aee5003SAndrew GeisslerLICENSE:dictionaries/da = "GPL-2.0-only"
129aee5003SAndrew GeisslerLICENSE:dictionaries/de-AT = "GPL-3.0-only"
139aee5003SAndrew GeisslerLICENSE:dictionaries/de-CH = "GPL-3.0-only"
149aee5003SAndrew GeisslerLICENSE:dictionaries/de = "GPL-3.0-only"
159aee5003SAndrew GeisslerLICENSE:dictionaries/el-polyton = "GPL-2.0-only"
169aee5003SAndrew GeisslerLICENSE:dictionaries/el = "GPL-2.0-only"
179aee5003SAndrew GeisslerLICENSE:dictionaries/en-AU = "LGPL-2.0-only"
18213cb269SPatrick WilliamsLICENSE:dictionaries/en-CA = "MIT & BSD"
199aee5003SAndrew GeisslerLICENSE:dictionaries/en-GB = "LGPL-2.0-only"
20213cb269SPatrick WilliamsLICENSE:dictionaries/en-US = "MIT & BSD"
21213cb269SPatrick WilliamsLICENSE:dictionaries/en-ZA = "LGPL 2.1"
229aee5003SAndrew GeisslerLICENSE:dictionaries/eo = "GPL-2.0-only"
239aee5003SAndrew GeisslerLICENSE:dictionaries/es = "GPL-3.0-only"
249aee5003SAndrew GeisslerLICENSE:dictionaries/et = "LGPL-2.1-only"
259aee5003SAndrew GeisslerLICENSE:dictionaries/eu = "GPL-2.0-only"
269aee5003SAndrew GeisslerLICENSE:dictionaries/fo = "GPL-2.0-only"
27213cb269SPatrick WilliamsLICENSE:dictionaries/fr = "MPL-2.0"
289aee5003SAndrew GeisslerLICENSE:dictionaries/fur = "GPL-2.0-only"
299aee5003SAndrew GeisslerLICENSE:dictionaries/fy = "GPL-3.0-only"
309aee5003SAndrew GeisslerLICENSE:dictionaries/ga = "GPL-2.0-only"
319aee5003SAndrew GeisslerLICENSE:dictionaries/gd = "GPL-3.0-only"
329aee5003SAndrew GeisslerLICENSE:dictionaries/gl = "GPL-3.0-only"
339aee5003SAndrew GeisslerLICENSE:dictionaries/he = "AGPL-3.0-only"
349aee5003SAndrew GeisslerLICENSE:dictionaries/hr = "GPL-3.0-only"
359aee5003SAndrew GeisslerLICENSE:dictionaries/hu = "GPL-2.0-only"
369aee5003SAndrew GeisslerLICENSE:dictionaries/hy-arevela = "GPL-2.0-only"
379aee5003SAndrew GeisslerLICENSE:dictionaries/hy-arevmda = "GPL-2.0-only"
389aee5003SAndrew GeisslerLICENSE:dictionaries/ia = "GPL-3.0-only"
39213cb269SPatrick WilliamsLICENSE:dictionaries/ie = "Apache-2.0"
40213cb269SPatrick WilliamsLICENSE:dictionaries/is = "CC BY-SA 3.0 & CC BY 4.0"
419aee5003SAndrew GeisslerLICENSE:dictionaries/it = "GPL-3.0-only"
429aee5003SAndrew GeisslerLICENSE:dictionaries/ko = "MPL-1.1 & GPL-2.0-only & LGPL-2.1-only"
439aee5003SAndrew GeisslerLICENSE:dictionaries/la = "GPL-3.0-only"
44213cb269SPatrick WilliamsLICENSE:dictionaries/lb = "EUPL-1.1"
45213cb269SPatrick WilliamsLICENSE:dictionaries/lt = "Other"
469aee5003SAndrew GeisslerLICENSE:dictionaries/ltg = "LGPL-2.1-only"
479aee5003SAndrew GeisslerLICENSE:dictionaries/lv = "LGPL-2.1-only"
489aee5003SAndrew GeisslerLICENSE:dictionaries/mk = "GPL-3.0-only"
499aee5003SAndrew GeisslerLICENSE:dictionaries/mn = "GPL-2.0-only"
509aee5003SAndrew GeisslerLICENSE:dictionaries/nb = "GPL-2.0-only"
519aee5003SAndrew GeisslerLICENSE:dictionaries/nds = "GPL-2.0-only"
529aee5003SAndrew GeisslerLICENSE:dictionaries/ne = "LGPL-2.1-only"
53213cb269SPatrick WilliamsLICENSE:dictionaries/nl = "BSD"
549aee5003SAndrew GeisslerLICENSE:dictionaries/nn = "GPL-2.0-only"
559aee5003SAndrew GeisslerLICENSE:dictionaries/pl = "GPL-3.0-only"
56213cb269SPatrick WilliamsLICENSE:dictionaries/pt-BR = "LGPL 2.1"
579aee5003SAndrew GeisslerLICENSE:dictionaries/pt = "GPL-2.0-only"
589aee5003SAndrew GeisslerLICENSE:dictionaries/ro = "GPL-2.0-only"
59213cb269SPatrick WilliamsLICENSE:dictionaries/ru = "BSD"
609aee5003SAndrew GeisslerLICENSE:dictionaries/rw = "GPL-3.0-only"
619aee5003SAndrew GeisslerLICENSE:dictionaries/sk = "GPL-2.0-only"
629aee5003SAndrew GeisslerLICENSE:dictionaries/sl = "GPL-2.0-only"
63213cb269SPatrick WilliamsLICENSE:dictionaries/sr-Latn = "LGPL 3.0"
64213cb269SPatrick WilliamsLICENSE:dictionaries/sr = "LGPL 3.0"
65213cb269SPatrick WilliamsLICENSE:dictionaries/sv = "LGPL 3.0"
66213cb269SPatrick WilliamsLICENSE:dictionaries/tr = "MIT"
67213cb269SPatrick WilliamsLICENSE:dictionaries/uk = "GPL 2.0"
68213cb269SPatrick WilliamsLICENSE:dictionaries/vi = "GPL 3.0"
6915ae2509SBrad BishopLIC_FILES_CHKSUM = " \
7015ae2509SBrad Bishop    file://dictionaries/bg/license;md5=ab14e2ded1a43b84be9aba2be64b9814 \
7115ae2509SBrad Bishop    file://dictionaries/br/license;md5=2e046c64edc0a4e47fb3ea614e6c82c4 \
7215ae2509SBrad Bishop    file://dictionaries/ca-valencia/license;md5=da087cefab7bc3b7687203198a0042ec \
7315ae2509SBrad Bishop    file://dictionaries/ca/license;md5=da087cefab7bc3b7687203198a0042ec \
7415ae2509SBrad Bishop    file://dictionaries/cs/license;md5=e0496d626a53ad31addea1869c1bed53 \
7515ae2509SBrad Bishop    file://dictionaries/da/license;md5=b7678b3e997999043be3503dc717d96d \
7615ae2509SBrad Bishop    file://dictionaries/de-AT/license;md5=a03d823e8cd00fd71c9ba18b8ec4ccf1 \
7715ae2509SBrad Bishop    file://dictionaries/de-CH/license;md5=a03d823e8cd00fd71c9ba18b8ec4ccf1 \
7815ae2509SBrad Bishop    file://dictionaries/de/license;md5=a03d823e8cd00fd71c9ba18b8ec4ccf1 \
7915ae2509SBrad Bishop    file://dictionaries/el-polyton/license;md5=d952bcbf1c67129920f03536197c7281 \
8015ae2509SBrad Bishop    file://dictionaries/el/license;md5=90b757dd77b1ebbf473eef31037a59e8 \
8115ae2509SBrad Bishop    file://dictionaries/en-AU/license;md5=dae002c846eab5e1132ba2e00692dc68 \
8215ae2509SBrad Bishop    file://dictionaries/en-CA/license;md5=6c205de0cbcae4b42cf992bb355a5346 \
8315ae2509SBrad Bishop    file://dictionaries/en-GB/license;md5=dd6d2bbd7b7f4519448f2b995fd99cd4 \
8415ae2509SBrad Bishop    file://dictionaries/en-US/license;md5=244a909f295640bfafeb8d9e522d454b \
8515ae2509SBrad Bishop    file://dictionaries/en-ZA/license;md5=56e4b4ca965de3bba6db42494cc34576 \
8615ae2509SBrad Bishop    file://dictionaries/eo/license;md5=eb723b61539feef013de476e68b5c50a \
8715ae2509SBrad Bishop    file://dictionaries/es/license;md5=b41cabf4e6f2a7d951684246518bea4f \
8815ae2509SBrad Bishop    file://dictionaries/et/readme.md;md5=59d851f12cc280f893b245938abc1905 \
8915ae2509SBrad Bishop    file://dictionaries/fo/license;md5=fa9ce505d07423c9f8e6c1073f4806c2 \
9015ae2509SBrad Bishop    file://dictionaries/fr/license;md5=2346c7bffe6ab4d51730ab3116817c72 \
9115ae2509SBrad Bishop    file://dictionaries/fur/license;md5=28ac8c6e75d6c44b60016a8c850036e3 \
9215ae2509SBrad Bishop    file://dictionaries/fy/license;md5=c05115c38ca2a4aa95cb9c9b00ed78df \
9315ae2509SBrad Bishop    file://dictionaries/ga/license;md5=ee7d601b5d3be3856a169afa71eb3376 \
9415ae2509SBrad Bishop    file://dictionaries/gd/license;md5=b5f39c26d691733095323a59d0f02216 \
9515ae2509SBrad Bishop    file://dictionaries/gl/license;md5=d32239bcb673463ab874e80d47fae504 \
9615ae2509SBrad Bishop    file://dictionaries/he/license;md5=e627dcdf6878e7eca4454e39d1489271 \
9715ae2509SBrad Bishop    file://dictionaries/hr/license;md5=4b03c9b6e41a6ef12b4e31d2fb224d46 \
9815ae2509SBrad Bishop    file://dictionaries/hu/license;md5=c9755266de74fdbe69636bdb3076b603 \
9915ae2509SBrad Bishop    file://dictionaries/hy-arevela/license;md5=c690b6bc807de0a6dcd62db030843ee4 \
10015ae2509SBrad Bishop    file://dictionaries/hy-arevmda/license;md5=c690b6bc807de0a6dcd62db030843ee4 \
10115ae2509SBrad Bishop    file://dictionaries/ia/license;md5=25c37bbb54f9ab5da9b4bcdda2e2f68e \
10215ae2509SBrad Bishop    file://dictionaries/ie/license;md5=fa818a259cbed7ce8bc2a22d35a464fc \
10315ae2509SBrad Bishop    file://dictionaries/is/license;md5=db5e38a312b91d717561514767c95999 \
10415ae2509SBrad Bishop    file://dictionaries/it/license;md5=31d06285633a89f4d0267895ef8b7107 \
10515ae2509SBrad Bishop    file://dictionaries/ko/license;md5=5ff35d5b0523cccb3049edff77c73a10 \
10615ae2509SBrad Bishop    file://dictionaries/la/license;md5=9bc08ae2930eb806cee44bbae905b7ba \
10715ae2509SBrad Bishop    file://dictionaries/lb/license;md5=5d6417331778645577c40c3329a3d559 \
10815ae2509SBrad Bishop    file://dictionaries/lt/license;md5=3d1264d7017271c6731fefaba912a15f \
10915ae2509SBrad Bishop    file://dictionaries/ltg/license;md5=72c786f9d43bb07c101766457fcf6435 \
11015ae2509SBrad Bishop    file://dictionaries/lv/license;md5=957d42bd58feff079daa6ede1d215585 \
11115ae2509SBrad Bishop    file://dictionaries/mk/license;md5=c05a3747d4c871f3c6378909668ec72d \
11215ae2509SBrad Bishop    file://dictionaries/mn/license;md5=93a1be573a1bd039cb4e17c21ed800a7 \
11315ae2509SBrad Bishop    file://dictionaries/nb/license;md5=6b50c67a5ee9ba5af1b4ab6c009b66f2 \
11415ae2509SBrad Bishop    file://dictionaries/nds/license;md5=08c69ee106e67a1085d45dc723ae5396 \
11515ae2509SBrad Bishop    file://dictionaries/ne/license;md5=620e39f1aec72b0bdbc922128dd08267 \
11615ae2509SBrad Bishop    file://dictionaries/nl/license;md5=f9181fe437dd701ce6ae690f6e09b119 \
11715ae2509SBrad Bishop    file://dictionaries/nn/license;md5=9d372c99817cb42bdd1f6c0acb7f4d11 \
11815ae2509SBrad Bishop    file://dictionaries/pl/license;md5=5d0961c4eee8448d5f3738b1ff04ebe8 \
11915ae2509SBrad Bishop    file://dictionaries/pt-BR/license;md5=08a7e74543d3e612e7613f2959bedab0 \
12015ae2509SBrad Bishop    file://dictionaries/pt/license;md5=53d8ed71b4053ef0ccfcf6b3f89880a8 \
12115ae2509SBrad Bishop    file://dictionaries/ro/license;md5=db18b1d6cfc0d4ca32371cb76900de2c \
12215ae2509SBrad Bishop    file://dictionaries/ru/license;md5=a3d4108679bd3b76ec1a86520b5362cf \
12315ae2509SBrad Bishop    file://dictionaries/rw/license;md5=784d7dc7357bd924e8d5642892bf1b6b \
12415ae2509SBrad Bishop    file://dictionaries/sk/license;md5=7fb3956bf960db433deedec7746d33c5 \
12515ae2509SBrad Bishop    file://dictionaries/sl/license;md5=4965d53062ea2045837facf483475ac7 \
12615ae2509SBrad Bishop    file://dictionaries/sr-Latn/license;md5=0139a4b8ce316882cceae8924030950d \
12715ae2509SBrad Bishop    file://dictionaries/sr/license;md5=0139a4b8ce316882cceae8924030950d \
12815ae2509SBrad Bishop    file://dictionaries/sv/license;md5=fe5c586fe56d04fbdc44df187129ac29 \
12915ae2509SBrad Bishop    file://dictionaries/tr/readme.md;md5=27c07bbfa543cfdd163f2dad491703bd \
13015ae2509SBrad Bishop    file://dictionaries/uk/license;md5=7702f203b58979ebbc31bfaeb44f219c \
13115ae2509SBrad Bishop    file://dictionaries/vi/license;md5=8d9ecb4e7577ce760029786aba7ecec5 \
13215ae2509SBrad Bishop"
13315ae2509SBrad Bishop
134213cb269SPatrick WilliamsRDEPENDS:${PN} = "hunspell"
13515ae2509SBrad Bishop
13673bd93f1SPatrick WilliamsPV = "0.0.0+git"
13715ae2509SBrad BishopSRCREV = "820a65e539e34a3a8c2a855d2450b84745c624ee"
138*8460358cSPatrick WilliamsSRC_URI = "git://github.com/wooorm/dictionaries.git;branch=main;protocol=https"
139*8460358cSPatrick Williams
140*8460358cSPatrick Williams# Upstream repo does not tag
141*8460358cSPatrick WilliamsUPSTREAM_CHECK_COMMITS = "1"
14215ae2509SBrad Bishop
14315ae2509SBrad BishopS = "${WORKDIR}/git"
14415ae2509SBrad Bishop
14515ae2509SBrad Bishopdo_install() {
14615ae2509SBrad Bishop    for LANGUAGE in `ls -d1 ${S}/dictionaries/*` ; do
147b95905d1SWilliam A. Kennington III        LANGUAGE_DIR=`basename $LANGUAGE | sed 's:-:_:'`
14815ae2509SBrad Bishop        install -D -m0644 $LANGUAGE/index.dic ${D}${datadir}/hunspell/$LANGUAGE_DIR.dic
14915ae2509SBrad Bishop        install -D -m0644 $LANGUAGE/index.aff ${D}${datadir}/hunspell/$LANGUAGE_DIR.aff
15015ae2509SBrad Bishop        install -D -m0644 $LANGUAGE/LICENSE   ${D}${datadir}/hunspell/LICENSE-$LANGUAGE_DIR 2>/dev/null || echo "No LICENSE for language $LANGUAGE"
15115ae2509SBrad Bishop    done
15215ae2509SBrad Bishop}
15315ae2509SBrad Bishop
154213cb269SPatrick WilliamsFILES:${PN} = "${datadir}/hunspell"
155