summaryrefslogtreecommitdiff
path: root/app-dicts/myspell-en
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-20 12:37:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-20 12:37:08 +0000
commitbf091a83ac5cdd060495df0aef0aeab9066672a1 (patch)
tree124ebfd5876a887d83a1bfefc5b4f02bafa41983 /app-dicts/myspell-en
parent4c60e3b3235bcc7f291760881f8b40660a518471 (diff)
gentoo auto-resync : 20:03:2023 - 12:37:08
Diffstat (limited to 'app-dicts/myspell-en')
-rw-r--r--app-dicts/myspell-en/Manifest2
-rw-r--r--app-dicts/myspell-en/myspell-en-20230301.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/app-dicts/myspell-en/Manifest b/app-dicts/myspell-en/Manifest
index 62310c67ebc2..65d26f68dce2 100644
--- a/app-dicts/myspell-en/Manifest
+++ b/app-dicts/myspell-en/Manifest
@@ -1,5 +1,7 @@
DIST dict-en-20230101_lo.oxt 6099782 BLAKE2B 5103d0bdf9558184deb8d5d3d9ce00d7b597d4bdf4bfa2fefe3caa68d6e0fa68e2f9295d87c7a8315ba244ccbf007c198cad017aee6faf6590914f63c161cf61 SHA512 d34948b012245c0ad07819d625cd417a85b9edc13b842ad7d3974ed1428af4d2e02020ff0b89cde64a1b844ca8c2a54a7e77f37076e8cc1b38d6a2473da01d7d
DIST dict-en-20230201_lo.oxt 6100214 BLAKE2B c75e6ce32020c10291909191eba888535a56cc4126f2d30c18516a967ca9ca88d7da6d26fa9026c7de75246ee42cc5977fe9db8494e224df3ca484667626d3c0 SHA512 9b9d893ed5061c32c808c91d2078e6f45716dfd3f5590edd02945e50cdb349b23bd35ff0d30aab352b0ddd318993091dcf180d5725016e238e209060eb7180dc
+DIST dict-en-20230301_lo.oxt 6099726 BLAKE2B 3db7fc83af03a42f5f06fb13ff4f78415e0a806d86794b2e76e42f892a76281b9cf178e2c3ccddcc5a42a8d4d804657de5972905a58d817382bc970363763713 SHA512 b64c71ab00e5792411b56212b178a36b72fe10b83fa89db37cbbf3c1f9ce96f8d2c46a58d1773aabbb37a05c1812b59c45cc93fe5a1dd9fc19e0129c764aa251
EBUILD myspell-en-20230101.ebuild 1555 BLAKE2B f0549dda1068c8d402940269672b76d7019800406a6825a929324951b121cc63cba3526f5af79cb4c5955d961abce1e1d2c3ee89084fb5209a6fd851f51b6e05 SHA512 a5880cc31b860b4fb1df3adf64cee1a1771eaaa39b93b36a330a4eb0273f8447a3d0c0004f3eaf14f7e038bc87ac30ea61276b80027659fb4ffa42515e74f8d9
EBUILD myspell-en-20230201.ebuild 1562 BLAKE2B 600a56d656f4dc6ddcfd70d06138b01dd4883edd678d914fb9311d73b319e0434db240705adcab7edb602483b3fa3f9a0b9a103dca5dbdc5fb90f5b7d5573f7f SHA512 3debde12a309bb1dae3255009520188d67fec53e21510bc25e2284a03fff94735a0116a6fe9314ddac665d90fb1d444d49b025bffc89467e79db90349e8da0f4
+EBUILD myspell-en-20230301.ebuild 1562 BLAKE2B 6d23667ed8d03cfb35424bee00a102f8b7311e479e04b6e65f1a02781d596d8f4cd3ab12d924eabad34f00d4ca22b251381988c3d9045205d87867c97de1f6bf SHA512 e946b2936405a7a3db2942b0af3ffdbe35d43560eaf2229b4cf7f5bac749a43fe96fdfb4ec826a1159dff193ba0b460c4078239a73423704647f3f8506a8ce7b
MISC metadata.xml 289 BLAKE2B 3b19ce0204dedac8876e4a00fa12dd23cadca14d8b422165467e4da65edfb91e3bb924505016333bad4ed1cb2612db674bb857f1a3dc9e1033b53dcdf20cb164 SHA512 9147be5e8b62a3de0ee8aafc33c61132f9856b28653a390be9ee7a89e3057cf06cc0b53149f08c525a6f01b2fac91e8ba6d1ed89ea46e33d8c279e76c22bec54
diff --git a/app-dicts/myspell-en/myspell-en-20230301.ebuild b/app-dicts/myspell-en/myspell-en-20230301.ebuild
new file mode 100644
index 000000000000..69910d320224
--- /dev/null
+++ b/app-dicts/myspell-en/myspell-en-20230301.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 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://proofingtoolgui.org
+ https://github.com/marcoagpinto/aoo-mozilla-en-dict
+"
+SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1677661772/dict-en-20230301_lo.oxt"
+
+LICENSE="BSD MIT LGPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+
+PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
+IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
+REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
+
+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_THES+=(
+ "th_en_US_v2.dat"
+ "th_en_US_v2.idx"
+ )
+ MYSPELL_HYPH+=( "hyph_en_US.dic" )
+ 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
+}