summaryrefslogtreecommitdiff
path: root/app-dicts/myspell-en
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/myspell-en')
-rw-r--r--app-dicts/myspell-en/Manifest1
-rw-r--r--app-dicts/myspell-en/myspell-en-20190101-r1.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/app-dicts/myspell-en/Manifest b/app-dicts/myspell-en/Manifest
index 7b7cfacdd32b..c51c6c1e8442 100644
--- a/app-dicts/myspell-en/Manifest
+++ b/app-dicts/myspell-en/Manifest
@@ -3,5 +3,6 @@ DIST dict-en-20181101.oxt 6052772 BLAKE2B 46825cb406406a3d64e8495f047ae81d6b693e
DIST dict-en-20190101.oxt 6058651 BLAKE2B 617ded8d7df6e62767083be7b0651e1bd1e039f78ebb67e8371228805519195dd5acd4ca7d415a29b68697a369d070eafa5545d1b8bbcbab58774db61f03e8e5 SHA512 06e6a21b524c378041655cc44e04f26a35b16e1606a478c0702b96fcbeb86180593fc02d00cae8e05700ead0bd6568239434e8d3d733937587e7b009245dfe4c
EBUILD myspell-en-20170101.ebuild 930 BLAKE2B 05df7aead57950f6ce4e9894664cf1f6f440aa7a6e42022e69c2b37a8fa390fe5611e53ad00a8c0530a7967ede6c59d6f090e73a06c527271d06f03f53bb95c5 SHA512 c064e21034ae2c29a988aa09d7b8561a4ae710ef604d4c08b62cbf5ccf582e124d990ae6d7fd33282740f403990d461424cfe0637b36adb3558643ce3660fb47
EBUILD myspell-en-20181101.ebuild 1500 BLAKE2B 75022e84c8c83aa82e7da8250d9c92000ffa706fd5b5a11a6531230e1c620f68aeb2d1c6ca94468b78b5e707824215ccfeac1840c64b40ad06d6f528b52c933a SHA512 a60392b59c172dcb92fb3c102dfcb145840fb5b1c582698cbf0c82f468c315e12ec00bdbf0484b53529e98af9ae910843e8aa3d6dace29aeec98fdebae6af81d
+EBUILD myspell-en-20190101-r1.ebuild 1573 BLAKE2B 2a3881bc3bc2194016e83293270c2e685e4f944613168fe0033e3a307d7880eed58c69369d017e53109bbadc5c4e0ffa294bd40503d015d09293849911b84b95 SHA512 6ab6ff5616cca4749302b728772283b1b66f0d4ad6c818a723eaac73969901ee92333aab9d0de88808194c82eae76ae7acbdfdd6e26916c033afbcc24bc04e40
EBUILD myspell-en-20190101.ebuild 1499 BLAKE2B af5d0aca32442990e891a11bf6a4eba3e4bb33441083543fe6d9b4b0a03df55e5e3c8193c68e4f5ac2b34cec76e0305babe75bef92ab4846a4d8e8c9c912d06c SHA512 c03b6ba8e0b0ed1d98231dc104cf21028fb2c88ce1411e98ba5baebb220f8c75d65f4a1e931e248794fe79006433764c2ca8781ca79b0fe6d96895fe5ad63118
MISC metadata.xml 367 BLAKE2B ba1f5365b9b1585d0ed0513fd8a7f3aef4cbdcced1257cdb3e0cd167845f04cc248160164f367f0268c4388ebbc618a85bc248355be0cdcfd3bb827875bf6cdb SHA512 b6022494b82fa7956d3f6320d170fff6433ccfb601c9107cb5f9a0a8419d3bfde4c2dc3eded7f0e6a8503ffb142d144d8cf983dd73cc7bdebeb9ab687efdd9e2
diff --git a/app-dicts/myspell-en/myspell-en-20190101-r1.ebuild b/app-dicts/myspell-en/myspell-en-20190101-r1.ebuild
new file mode 100644
index 000000000000..5ff42d18e24d
--- /dev/null
+++ b/app-dicts/myspell-en/myspell-en-20190101-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV:0:4}-${PV:4:2}.${PV:6:2}"
+
+inherit myspell-r2
+
+DESCRIPTION="English dictionaries for myspell/hunspell"
+HOMEPAGE="https://extensions.libreoffice.org/extensions/english-dictionaries"
+SRC_URI="https://extensions.libreoffice.org/extensions/english-dictionaries/${MY_PV}/@@download/file/dict-en-${PV}.oxt"
+
+LICENSE="BSD MIT LGPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
+IUSE+="${PLOCALES[@]/#/l10n_}"
+REQUIRED_USE="|| ( ${IUSE[@]} )"
+RDEPEND="!<dev-libs/hyphen-2.8.8-r1"
+
+src_prepare() {
+ if use l10n_en-GB || use l10n_en; then
+ MYSPELL_HYPH=( "hyph_en_GB.dic" )
+ fi
+ if use l10n_en-US || use l10n_en; then
+ MYSPELL_HYPH=( "hyph_en_US.dic" )
+ MYSPELL_THES=(
+ "th_en_US_v2.dat"
+ "th_en_US_v2.idx"
+ )
+ fi
+
+ MYSPELL_DICT=( )
+ for lang in "${PLOCALES[@]}"; do
+ if [[ "${lang}" == "en" ]]; then
+ continue
+ fi
+ local mylinguas="${lang//-/_}"
+ if use "l10n_${lang}" || use l10n_en; then
+ MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
+ else
+ rm "README_${mylinguas}.txt" || die
+ if [[ ${lang} == "en-US" ]]; then
+ rm "README_hyph_en_US.txt" || die
+ fi
+ if [[ ${lang} == "en-GB" ]]; then
+ rm "README_hyph_en_GB.txt" || die
+ rm "README_en_GB_thes.txt" || die
+ fi
+ fi
+ done
+
+ default
+}