Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/enchant/
Date: Wed, 07 Feb 2018 23:20:24
Message-Id: 1518045610.2f11c8da7602b1f097eccfd52d88a0e6754d9ca5.eva@gentoo
1 commit: 2f11c8da7602b1f097eccfd52d88a0e6754d9ca5
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 22:57:05 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 23:20:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f11c8da
7
8 app-text/enchant: version bump 2.1.1 → 2.1.2
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-text/enchant/Manifest | 1 +
13 app-text/enchant/enchant-2.1.2.ebuild | 48 +++++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest
17 index 8b0a98c45f6..a2f5158eb44 100644
18 --- a/app-text/enchant/Manifest
19 +++ b/app-text/enchant/Manifest
20 @@ -2,3 +2,4 @@ DIST enchant-1.6.0.tar.gz 607018 BLAKE2B 623473ddc9fdddbfd7ce4861ec22ab8d4d4f790
21 DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036
22 DIST enchant-2.1.0.tar.gz 962857 BLAKE2B f1ee729f20f06c14cbe81c27eeff5ff3bfe9e815bdf278c0c5e27ab48a78301e0731cfc2a55d065cfc702b5939623e352817a3fa6102636bca6779a8903ce537 SHA512 5dee7c5693ffc4ca0933e0881ca6e1f6bab1553af79cadf29733589790c6626db524cf33b0008b3de4c48e122ed93929478cce35608d9a52ab71edb51f598f27
23 DIST enchant-2.1.1.tar.gz 961821 BLAKE2B 1aaedc16e2108a382390c9401233d6a77dcff8732fb0af1a35816993b8eb127f22f9e6f4359b997f6793f53dd37c50c1c69d2aa09cf53bb5c47baa47277e044e SHA512 5cb57198ea826da6d9ed9042edca87fcca9b811e8e75b382ed1568c5b1d8d4f8d6ba732a167c8d52261cfce540f23f84bd4d2889a4beafd2db1d8509c0b6bc15
24 +DIST enchant-2.1.2.tar.gz 963236 BLAKE2B 3adaf9d96c7e2d7c5e31fe31ac426230f2e88b1cd6f68157e11f13c30fc5c161723d5a5b40bbe158307ce7352e098cd22272f4a75786854f7d82a0c5694b0f2b SHA512 6cb2eeccc617c005998b16ebc33a84a05cec116b26fd679fc1416110821a85a16605c8564672e1168ac6c865cfcca6680005d1219aa615ca1c2393bd523ae0c4
25
26 diff --git a/app-text/enchant/enchant-2.1.2.ebuild b/app-text/enchant/enchant-2.1.2.ebuild
27 new file mode 100644
28 index 00000000000..5f53e3589f5
29 --- /dev/null
30 +++ b/app-text/enchant/enchant-2.1.2.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
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="0/2"
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 +RESTRICT="test"
64 +
65 +src_configure() {
66 + econf \
67 + $(use_with aspell) \
68 + $(use_with hunspell) \
69 + $(use_enable static-libs static) \
70 + $(use_with zemberek) \
71 + --without-hspell \
72 + --without-voikko \
73 + --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
74 +}
75 +
76 +src_install() {
77 + default
78 + find "${D}" -name '*.la' -delete || die
79 +}