app-dicts/myspell-cs: switch from old OOO to modern LO dict
authorDavid Heidelberg <david@ixit.cz>
Sun, 29 Mar 2020 14:51:59 +0000 (16:51 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 1 Apr 2020 14:37:34 +0000 (17:37 +0300)
Original dictionary is from OpenOffice, very old.
Modern is more than 2 MB bigger and it's actually used.

Tested with nuspell and hunspell.

Closes: https://bugs.gentoo.org/674760

Signed-off-by: David Heidelberg <david@ixit.cz>
Closes: https://github.com/gentoo/gentoo/pull/15162
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
app-dicts/myspell-cs/Manifest
app-dicts/myspell-cs/myspell-cs-20181003.ebuild [new file with mode: 0644]

index 8f95b9bdd28f3be3b8b4f0f91e3b416445679056..5f75d546a91859bb3cf6ed34c9f3a94e629e2905 100644 (file)
@@ -1 +1,2 @@
 DIST myspell-cs-20110224.zip 1440618 BLAKE2B d90ae82b86ac0e01bc8a5b43bfcb5f7c95f216d5781dd050d798b942291c345966f7f535d74cbd17e5b42a387d0b2c7a7ed02a23bfe93c9bbb2fd0bcf5c192cd SHA512 9f2ed5e10771c00635f382c676b2f9184374b4c20a7d2262d3c441feae4d9dcddbd611cdaf74cb035c76c969d73d913d6116d9c1a4ab0a7a754bfbd8253c1ca5
+DIST myspell-cs-20181003.zip 2040923 BLAKE2B 3b8908423dd87eadd07cda6f3299ac2255415ffd88d8df2e79762be142a7dc24f87fec2aa3f869f2d9e9229539597a70440a97fcc0cd100b3663ca130a02856f SHA512 6d113490663bc51e5f9734b9b227889f924c66bfa1d0d7b00da1d420d2e21a9fb9e74169b019c8014c02241b1f265a42091d3fbc09bbe38fbfb112632ae2fa4a
diff --git a/app-dicts/myspell-cs/myspell-cs-20181003.ebuild b/app-dicts/myspell-cs/myspell-cs-20181003.ebuild
new file mode 100644 (file)
index 0000000..3a445bb
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MYSPELL_DICT=(
+       "cs_CZ.aff"
+       "cs_CZ.dic"
+)
+
+MYSPELL_HYPH=(
+       "hyph_cs_CZ.dic"
+)
+
+MYSPELL_THES=(
+       "thes_cs_CZ.dat"
+)
+
+inherit myspell-r2
+
+DESCRIPTION="Czech dictionaries for myspell/hunspell"
+HOMEPAGE="https://extensions.libreoffice.org/extensions/czech-dictionaries"
+SRC_URI="https://extensions.libreoffice.org/extensions/czech-dictionaries/2018.10/@@download/file/czech-dictionaries.oxt -> ${P}.zip"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""