summaryrefslogtreecommitdiff
path: root/app-dicts/myspell-fr
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/myspell-fr')
-rw-r--r--app-dicts/myspell-fr/Manifest6
-rw-r--r--app-dicts/myspell-fr/metadata.xml5
-rw-r--r--app-dicts/myspell-fr/myspell-fr-4.5-r1.ebuild54
3 files changed, 65 insertions, 0 deletions
diff --git a/app-dicts/myspell-fr/Manifest b/app-dicts/myspell-fr/Manifest
new file mode 100644
index 000000000000..0433931a32f1
--- /dev/null
+++ b/app-dicts/myspell-fr/Manifest
@@ -0,0 +1,6 @@
+DIST ooo-dictionnaire-fr-classique-reforme1990-v4.5.oxt 2271004 BLAKE2B 80c5c43a096c595e8cf5687336e69df5300bf52a84dbd331da6bada5b8bd430d94ac608cd51569ffceb63e3f4ee1f20ac3c7c2583ae02389805a6c1a841ce47b SHA512 7cfec4838551ff8a14db97cea08ae5280de4cd35ac1b49346484790dff18f156ef5cf2f05e90d61d1809e91780d77cfff3cf59d01f91f949580244e257a1c17b
+DIST ooo-dictionnaire-fr-classique-v4.5.oxt 2251909 BLAKE2B 3ea0901efcee126b2702efebe279cb32b0e496d6b92b8e2a9dd16671bd999b6357086faf99ced6db5f4babe726ee933f3f85858c84a80c8b656b945b23d2aaa7 SHA512 f45b1e12b24e2ef2a9e3944b310631ee5c52ef7cd94a9d2d461ec91b320b40e6d380db7820d386ad75627873b6033e80451b2371f0a42817ead77ce5f03edf77
+DIST ooo-dictionnaire-fr-moderne-v4.5.oxt 2248032 BLAKE2B 4e935186b621810f468e6915e61c7389aa95f8d8e00d8960bd1a9cb8622521669c6147c0b535fffa85a36abb9fcb739a45c00bd9036e5d019953c5b7d13321d5 SHA512 b493f0c57d3d48b93a2c0d9fbd065728ed011c68d11286def203a0b798fe02381acdb2927805475c69c1ff7d0a7ff53469e84581c4724dd57bf0211d85c52655
+DIST ooo-dictionnaire-fr-reforme1990-v4.5.oxt 2255388 BLAKE2B d804bb80698f1ffb8b77dc8c3efa0841437de1389a7fda870fbb4a71914c42055153ff92629481b3e669bec2fa00258b43ff3d92acf08335e11559bb5dec6fae SHA512 39630fb67ecd4afd528a8c255c405945d866e57fb2becc0e79b6c16ec0e0510101d106c0342dd43f26befd3dd0ca3e4094360aaa0d91a090ecdea49158383ed5
+EBUILD myspell-fr-4.5-r1.ebuild 1653 BLAKE2B 29e63d5a8a9e34b5ffce072962ca3a551e7bc45106700e81cacf43a6f6e95913feb73055b6560509206d0c4afa5ec99c4e409f65f60484e00104088c4d75c188 SHA512 33198586e66c9dfe9163738dbe91d815d4dec778bd9841c37210879facfe1b94b92bbccc4a236a95191986376c014ade5d07252656aed8d0ee7b59dd4f1d99d9
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-dicts/myspell-fr/metadata.xml b/app-dicts/myspell-fr/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-dicts/myspell-fr/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-dicts/myspell-fr/myspell-fr-4.5-r1.ebuild b/app-dicts/myspell-fr/myspell-fr-4.5-r1.ebuild
new file mode 100644
index 000000000000..56c5d6037d0a
--- /dev/null
+++ b/app-dicts/myspell-fr/myspell-fr-4.5-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MYSPELL_DICT=(
+ "fr-moderne.aff"
+ "fr-moderne.dic"
+ "fr-classique.aff"
+ "fr-classique.dic"
+ "fr_FR.aff"
+ "fr_FR.dic"
+ "fr-reforme1990.aff"
+ "fr-reforme1990.dic"
+)
+
+MYSPELL_HYPH=(
+ "hyph_fr_FR_v3.dic"
+)
+
+MYSPELL_THES=(
+ "th_fr_FR_v3.dat"
+ "th_fr_FR_v3.idx"
+)
+
+inherit myspell-r2
+
+DESCRIPTION="French dictionaries for myspell/hunspell"
+HOMEPAGE="http://extensions.libreoffice.org/extension-center/dictionnaires-francais"
+SRC_URI="
+ http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-moderne-v${PV}.oxt
+ http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-classique-v${PV}.oxt
+ http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-classique-reforme1990-v${PV}.oxt
+ http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/${PV}/ooo-dictionnaire-fr-reforme1990-v${PV}.oxt
+"
+
+LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-macos"
+IUSE=""
+
+src_prepare() {
+ default
+ # the default should be classique+reforme1990
+ # renaming to fr_FR
+ mv fr-classique+reforme1990.aff fr_FR.aff || die
+ mv fr-classique+reforme1990.dic fr_FR.dic || die
+
+ # move the hyphen/thes to common used name
+ # versions determined from README files
+ mv hyph_fr.dic hyph_fr_FR_v3.dic || die
+ mv thes_fr.dat th_fr_FR_v3.dat || die
+ mv thes_fr.idx th_fr_FR_v3.idx || die
+}