1 |
commit: 82f7a3408fd874cc335864dddc34e05ac376f005 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 03:14:40 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 03:22:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82f7a340 |
7 |
|
8 |
app-text/gspell: Version bump to 1.9.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-text/gspell/Manifest | 1 + |
13 |
app-text/gspell/gspell-1.9.1.ebuild | 60 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/app-text/gspell/Manifest b/app-text/gspell/Manifest |
17 |
index 1005da92bc4..ecb17fac76d 100644 |
18 |
--- a/app-text/gspell/Manifest |
19 |
+++ b/app-text/gspell/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gspell-1.8.4.tar.xz 424356 BLAKE2B 031787c4f5c3f3cfe21d5f74ec72117818da43313c5e6dffb79581ca07033aede2ecf236ffdf2197938d62727c5bd3913d1362e02be7109b0d498304949e1d44 SHA512 adb481590442d81040151746c7747791d76248b1b35af1702dc5389efbd2e0c6bdda070b8e84384d22f4922b5a382ac2c6519e425f417ec85c8efbe22dc38c82 |
22 |
+DIST gspell-1.9.1.tar.xz 424252 BLAKE2B 436e6af50f7d1058dd7692c22b5a5e18c25cc76ea6816193e48728f7e1d55ef29af26127403a40d594a2125e4d3e1ee889abe067d2c065de74ae95ca431e5fbe SHA512 72f1fb384e02bb73397b457c3e8a7b98393c9fab5c0dad07f84d1db3f6b75c093663cc83c13fefe868424c503abc2fb89c8b045d0495dd43ddcedad025f23bca |
23 |
|
24 |
diff --git a/app-text/gspell/gspell-1.9.1.ebuild b/app-text/gspell/gspell-1.9.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a2a1f1502ec |
27 |
--- /dev/null |
28 |
+++ b/app-text/gspell/gspell-1.9.1.ebuild |
29 |
@@ -0,0 +1,60 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+VALA_USE_DEPEND="vapigen" |
35 |
+ |
36 |
+inherit gnome2 vala virtualx |
37 |
+ |
38 |
+DESCRIPTION="Spell check library for GTK+ applications" |
39 |
+HOMEPAGE="https://wiki.gnome.org/Projects/gspell" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1+" |
42 |
+SLOT="0/2" # subslot = libgspell-1 soname version |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" |
44 |
+ |
45 |
+IUSE="+introspection +vala" |
46 |
+REQUIRED_USE="vala? ( introspection )" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ >=app-text/enchant-2.1.3:2 |
50 |
+ >=dev-libs/glib-2.44:2 |
51 |
+ >=x11-libs/gtk+-3.20:3[introspection?] |
52 |
+ dev-libs/icu:= |
53 |
+ introspection? ( >=dev-libs/gobject-introspection-1.42.0:= ) |
54 |
+" |
55 |
+RDEPEND="${DEPEND}" |
56 |
+BDEPEND=" |
57 |
+ dev-libs/libxml2:2 |
58 |
+ dev-util/glib-utils |
59 |
+ >=dev-util/gtk-doc-am-1.25 |
60 |
+ >=sys-devel/gettext-0.19.6 |
61 |
+ virtual/pkgconfig |
62 |
+ vala? ( $(vala_depend) ) |
63 |
+ test? ( |
64 |
+ app-text/enchant:2[hunspell] |
65 |
+ || ( |
66 |
+ app-dicts/myspell-en[l10n_en(+)] |
67 |
+ app-dicts/myspell-en[l10n_en-US(+)] |
68 |
+ ) |
69 |
+ ) |
70 |
+" |
71 |
+# Tests require a en_US dictionary and fail with deprecated enchant aspell backend: |
72 |
+# So enchant[hunspell] + myspell-en ensure they pass (hunspell is ordered before aspell), |
73 |
+# however a different backend like hspell or nuspell + their en_US dict might be fine too, |
74 |
+# but we don't support them at this time (2020-04-12) in enchant:2 |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ use vala && vala_src_prepare |
78 |
+ gnome2_src_prepare |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ gnome2_src_configure \ |
83 |
+ $(use_enable introspection) \ |
84 |
+ $(use_enable vala) |
85 |
+} |
86 |
+ |
87 |
+src_test() { |
88 |
+ virtx emake check |
89 |
+} |