summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/myspell-fr')
-rw-r--r--app-dicts/myspell-fr/Manifest4
-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, 63 insertions, 0 deletions
diff --git a/app-dicts/myspell-fr/Manifest b/app-dicts/myspell-fr/Manifest
new file mode 100644
index 000000000000..bc415b140521
--- /dev/null
+++ b/app-dicts/myspell-fr/Manifest
@@ -0,0 +1,4 @@
+DIST ooo-dictionnaire-fr-classique-reforme1990-v4.5.oxt 2271004 SHA256 5ad4c85bf47c2a019b9e8536ffa86ada5a6ff4b409b76c2b8ed0c6fefdcf9419 SHA512 7cfec4838551ff8a14db97cea08ae5280de4cd35ac1b49346484790dff18f156ef5cf2f05e90d61d1809e91780d77cfff3cf59d01f91f949580244e257a1c17b WHIRLPOOL 156023f0642f1330c12c9ed3492bf3bf7650e264cd2e56290f0b4817aee453d0e6a34bc568f62e4417f43eb6b206057970c9da4523e0c1226b90d1ed686571d8
+DIST ooo-dictionnaire-fr-classique-v4.5.oxt 2251909 SHA256 f99f95124f5fb0f08cbfddb8c7ad57f952db24dab081c4c6fe23b3ff91a62f1a SHA512 f45b1e12b24e2ef2a9e3944b310631ee5c52ef7cd94a9d2d461ec91b320b40e6d380db7820d386ad75627873b6033e80451b2371f0a42817ead77ce5f03edf77 WHIRLPOOL dd72f49f6682a042d3b82173eb8284bf4cdd03f586cc186e1e8f19baf896ca1cc95aebdc2d3a894d7ca05be9eb20c69912338320a150e9cd65a74b9bc5e00b8d
+DIST ooo-dictionnaire-fr-moderne-v4.5.oxt 2248032 SHA256 3899b56b880cea89031d3e2f230d73945ecf6379d2f82e26e9a6b3faf7f5b9c6 SHA512 b493f0c57d3d48b93a2c0d9fbd065728ed011c68d11286def203a0b798fe02381acdb2927805475c69c1ff7d0a7ff53469e84581c4724dd57bf0211d85c52655 WHIRLPOOL d6a6ccfc3092917a313646706f5f7af3fb6e682d0b599ef74ee6274ddadccb7ecd3edb003b12d07fb74b826926b37cd6cdeceebf75daed5a0bcce0c94bbc412a
+DIST ooo-dictionnaire-fr-reforme1990-v4.5.oxt 2255388 SHA256 1efd97af6a301903969334a36a837e0f1c4406098ca06050fbd1686e7224ebbd SHA512 39630fb67ecd4afd528a8c255c405945d866e57fb2becc0e79b6c16ec0e0510101d106c0342dd43f26befd3dd0ca3e4094360aaa0d91a090ecdea49158383ed5 WHIRLPOOL 14c4037049417df2a60515ba96aeb63923da568702cca3667a01cbd1f8e8f792d86245bf371b4d7efa4fc33fd5129b08eb7e9c215ba6d5a39144fc1abd2f7232
diff --git a/app-dicts/myspell-fr/metadata.xml b/app-dicts/myspell-fr/metadata.xml
new file mode 100644
index 000000000000..4538a68724a6
--- /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><email>maintainer-needed@gentoo.org</email></maintainer>
+</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..c5952102840e
--- /dev/null
+++ b/app-dicts/myspell-fr/myspell-fr-4.5-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+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 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-macos"
+IUSE=""
+
+src_prepare() {
+ # 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
+}