From e7f5fbef1f78e44862c5587b83c432b21f6bb382 Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Sun, 29 Mar 2020 16:51:59 +0200 Subject: [PATCH] app-dicts/myspell-cs: switch from old OOO to modern LO dict 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 Closes: https://github.com/gentoo/gentoo/pull/15162 Signed-off-by: Joonas Niilola --- app-dicts/myspell-cs/Manifest | 1 + .../myspell-cs/myspell-cs-20181003.ebuild | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 app-dicts/myspell-cs/myspell-cs-20181003.ebuild diff --git a/app-dicts/myspell-cs/Manifest b/app-dicts/myspell-cs/Manifest index 8f95b9bdd28f..5f75d546a918 100644 --- a/app-dicts/myspell-cs/Manifest +++ b/app-dicts/myspell-cs/Manifest @@ -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 index 000000000000..3a445bb876a6 --- /dev/null +++ b/app-dicts/myspell-cs/myspell-cs-20181003.ebuild @@ -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="" -- 2.26.2