1 |
commit: b32dd6940856db60153cf8f32c0067b36a59de53 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 2 23:31:01 2017 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 09:55:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32dd694 |
7 |
|
8 |
app-text/enchant: version 1.6.0 → 1.6.1, bug #570030 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
app-text/enchant/Manifest | 1 + |
13 |
app-text/enchant/enchant-1.6.1.ebuild | 61 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest |
17 |
index 5a6d052e37c..f9cb48bc021 100644 |
18 |
--- a/app-text/enchant/Manifest |
19 |
+++ b/app-text/enchant/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST enchant-1.6.0.tar.gz 607018 SHA256 2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f SHA512 0ca1634bb783df51512df4abecc89abdadee6baf7330d6e5f90cc15d10779896a3521a1c079ecc07e4df4f7a018ce398cca9d0125a7845a314a059840ebc9137 WHIRLPOOL f6677a11f1d05e210cbd6a7b13f3987ea93b3f1e73537b048093c14686b0310e75a89fdb8798ad0ed386a7e1cd793f60820006df8c1f7919c46c7245ee6a74c9 |
22 |
+DIST enchant-1.6.1.tar.gz 642124 SHA256 bef0d9c0fef2e4e8746956b68e4d6c6641f6b85bd2908d91731efb68eba9e3f5 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036 WHIRLPOOL daffe1ee16e731d3d6ba56362f882c8f8bd7462a264fcf9caf05ed8093c0ca275977fb9c83c391d9e3287e6e98516b52e468c9bf9cc86532cf0b3eeba8f02fbd |
23 |
|
24 |
diff --git a/app-text/enchant/enchant-1.6.1.ebuild b/app-text/enchant/enchant-1.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..ff615eb5b75 |
27 |
--- /dev/null |
28 |
+++ b/app-text/enchant/enchant-1.6.1.ebuild |
29 |
@@ -0,0 +1,61 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit versionator |
35 |
+ |
36 |
+MY_PV="$(replace_all_version_separators '-')" |
37 |
+DESCRIPTION="Spellchecker wrapping library" |
38 |
+HOMEPAGE="https://abiword.github.io/enchant/" |
39 |
+SRC_URI="https://github.com/AbiWord/enchant/releases/download/${PN}-${MY_PV}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
44 |
+ |
45 |
+IUSE="aspell +hunspell static-libs test zemberek" |
46 |
+REQUIRED_USE="|| ( hunspell aspell zemberek )" |
47 |
+ |
48 |
+# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742 |
49 |
+COMMON_DEPENDS=" |
50 |
+ >=dev-libs/glib-2.6:2 |
51 |
+ aspell? ( app-text/aspell ) |
52 |
+ hunspell? ( >=app-text/hunspell-1.2.1:0= ) |
53 |
+ zemberek? ( dev-libs/dbus-glib ) |
54 |
+" |
55 |
+RDEPEND="${COMMON_DEPENDS} |
56 |
+ zemberek? ( app-text/zemberek-server ) |
57 |
+" |
58 |
+DEPEND="${COMMON_DEPENDS} |
59 |
+ virtual/pkgconfig |
60 |
+" |
61 |
+# test? ( dev-libs/unittest++ ) |
62 |
+ |
63 |
+DOCS="AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README TODO" |
64 |
+ |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}"/${PN}-1.6.0-hunspell150_fix.patch |
67 |
+) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ sed -e "/SUBDIRS/ s/unittests//" -i "${S}"/Makefile.{am,in} || die |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ econf \ |
76 |
+ $(use_enable aspell) \ |
77 |
+ $(use_enable hunspell myspell) \ |
78 |
+ $(use_enable static-libs static) \ |
79 |
+ $(use_enable zemberek) \ |
80 |
+ --disable-hspell \ |
81 |
+ --disable-ispell \ |
82 |
+ --disable-uspell \ |
83 |
+ --disable-voikko \ |
84 |
+ --with-myspell-dir="${EPREFIX}"/usr/share/myspell/ |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ default |
89 |
+ find "${D}" -name '*.la' -delete || die |
90 |
+} |