blob: 828caf6d0a0d5b3e683ab70097ad83b644a28839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit myspell-r2
DESCRIPTION="English dictionaries for myspell/hunspell"
HOMEPAGE="
https://extensions.libreoffice.org/extensions/english-dictionaries
https://github.com/marcoagpinto/aoo-mozilla-en-dict
https://proofingtoolgui.org
"
SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1788231883/dict-en-${PV}.oxt"
LICENSE="BSD MIT LGPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
src_prepare() {
local PLOCALES=( "en_AU" "en_CA" "en_GB" "en_US" "en_GB-oxendict" "en_ZA" )
# This thesaurus is used by all the English dictionaries, see
# ./dictionaries.xcu in the distfile, lines 82-92.
MYSPELL_THES=(
"th_en_US_v2.dat"
"th_en_US_v2.idx"
)
for lang in "${PLOCALES[@]}"; do
MYSPELL_DICT+=( "${lang}.aff" "${lang}.dic" )
done
MYSPELL_HYPH=(
"hyph_en_US.dic"
"hyph_en_GB.dic"
)
default
}
|