1 |
commit: cb22f47abd9ff8969c984f8febb819d8dcc5fcd1 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 09:54:16 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 09:55:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb22f47a |
7 |
|
8 |
app-text/enchant: bump to 2.2.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
app-text/enchant/Manifest | 1 + |
14 |
app-text/enchant/enchant-2.2.8.ebuild | 44 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest |
18 |
index 2ca1681a21f..035cc86a7fc 100644 |
19 |
--- a/app-text/enchant/Manifest |
20 |
+++ b/app-text/enchant/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036 |
23 |
DIST enchant-2.2.7.tar.gz 951995 BLAKE2B 32232a0a8e5003dcc056b6916f95274f357ac2ab69a08fde806da12487f63eba273a57049250fc75699fb545e98e25b95dcaf00c67af2ceabe779b8798f24a5a SHA512 696455cf782b3186d19988ed59ca3cc6030a431d44ef3828039590afb08fd282a79ce6246a342e6bf7a0bf3bf63d4822d841ba01394da9f9e4394a491b2373b6 |
24 |
+DIST enchant-2.2.8.tar.gz 976715 BLAKE2B 50a96c69b6f6575db0a8d6f30420db4b273901a9a0261ae606d81d96b044ece03078a2549f34972fef47a36f0b85c27af90c90c2f2efab2fb258e17621d927af SHA512 4bfa771af0deab3d0ca5523abab1fdb14cb596747dba7cf887e8cd812601015f52502cbd3df68247f102bba259cb281414e9ccde83b8bdd3c8cc83c2fcbc9090 |
25 |
|
26 |
diff --git a/app-text/enchant/enchant-2.2.8.ebuild b/app-text/enchant/enchant-2.2.8.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d4c6ef72a6e |
29 |
--- /dev/null |
30 |
+++ b/app-text/enchant/enchant-2.2.8.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DESCRIPTION="Spellchecker wrapping library" |
38 |
+HOMEPAGE="https://abiword.github.io/enchant/" |
39 |
+SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1+" |
42 |
+SLOT="2" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
44 |
+ |
45 |
+IUSE="aspell +hunspell" |
46 |
+REQUIRED_USE="|| ( hunspell aspell )" |
47 |
+ |
48 |
+# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742 |
49 |
+RDEPEND=" |
50 |
+ >=dev-libs/glib-2.6:2 |
51 |
+ aspell? ( app-text/aspell ) |
52 |
+ hunspell? ( >=app-text/hunspell-1.2.1:0= )" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+BDEPEND="virtual/pkgconfig" |
55 |
+ |
56 |
+# test? ( dev-libs/unittest++ ) |
57 |
+RESTRICT="test" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ # TODO: Add app-text/nuspell support |
61 |
+ econf \ |
62 |
+ --datadir="${EPREFIX}"/usr/share/enchant-2 \ |
63 |
+ --disable-static \ |
64 |
+ $(use_with aspell) \ |
65 |
+ $(use_with hunspell) \ |
66 |
+ --without-hspell \ |
67 |
+ --without-nuspell \ |
68 |
+ --without-voikko \ |
69 |
+ --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/ |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ find "${D}" -name '*.la' -delete || die |
75 |
+} |