1 |
commit: 4f28ec5225e82612bbdd85dbd82d8a2908bb4186 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 1 11:32:57 2023 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 1 11:32:57 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f28ec52 |
7 |
|
8 |
dev-libs/gmime: update EAPI 6 -> 8 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
...ime-2.6.23-r1.ebuild => gmime-2.6.23-r2.ebuild} | 42 +++++++++------------- |
13 |
1 file changed, 16 insertions(+), 26 deletions(-) |
14 |
|
15 |
diff --git a/dev-libs/gmime/gmime-2.6.23-r1.ebuild b/dev-libs/gmime/gmime-2.6.23-r2.ebuild |
16 |
similarity index 70% |
17 |
rename from dev-libs/gmime/gmime-2.6.23-r1.ebuild |
18 |
rename to dev-libs/gmime/gmime-2.6.23-r2.ebuild |
19 |
index cbeaa7bf8361..4bf6d80f39bf 100644 |
20 |
--- a/dev-libs/gmime/gmime-2.6.23-r1.ebuild |
21 |
+++ b/dev-libs/gmime/gmime-2.6.23-r2.ebuild |
22 |
@@ -1,65 +1,55 @@ |
23 |
-# Copyright 1999-2022 Gentoo Authors |
24 |
+# Copyright 1999-2023 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=6 |
28 |
-VALA_USE_DEPEND="vapigen" |
29 |
+EAPI=8 |
30 |
|
31 |
-inherit gnome2 vala flag-o-matic |
32 |
+VALA_USE_DEPEND="vapigen" |
33 |
+inherit flag-o-matic gnome2 vala |
34 |
|
35 |
DESCRIPTION="Library for creating and parsing MIME messages" |
36 |
HOMEPAGE="http://spruce.sourceforge.net/gmime/" |
37 |
|
38 |
-SLOT="2.6" |
39 |
LICENSE="LGPL-2.1" |
40 |
+SLOT="2.6" |
41 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris" |
42 |
-IUSE="doc smime static-libs test vala" |
43 |
+IUSE="doc smime test vala" |
44 |
RESTRICT="!test? ( test )" |
45 |
|
46 |
RDEPEND=" |
47 |
- >=dev-libs/glib-2.32.0:2 |
48 |
+ dev-libs/glib:2 |
49 |
sys-libs/zlib |
50 |
smime? ( >=app-crypt/gpgme-1.1.6:= ) |
51 |
- vala? ( |
52 |
- $(vala_depend) |
53 |
- >=dev-libs/gobject-introspection-1.30.0:= ) |
54 |
+ vala? ( >=dev-libs/gobject-introspection-1.30.0:= ) |
55 |
" |
56 |
DEPEND="${RDEPEND} |
57 |
- >=dev-util/gtk-doc-am-1.8 |
58 |
virtual/libiconv |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ >=dev-util/gtk-doc-am-1.8 |
62 |
virtual/pkgconfig |
63 |
doc? ( app-text/docbook-sgml-utils ) |
64 |
test? ( app-crypt/gnupg ) |
65 |
+ vala? ( $(vala_depend) ) |
66 |
" |
67 |
# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally |
68 |
|
69 |
-src_prepare() { |
70 |
- gnome2_src_prepare |
71 |
- use vala && vala_src_prepare |
72 |
-} |
73 |
- |
74 |
src_configure() { |
75 |
+ use vala && vala_setup |
76 |
+ |
77 |
[[ ${CHOST} == *-solaris* ]] && append-libs iconv |
78 |
gnome2_src_configure \ |
79 |
--enable-cryptography \ |
80 |
--disable-strict-parser \ |
81 |
--disable-mono \ |
82 |
$(use_enable smime) \ |
83 |
- $(use_enable static-libs static) \ |
84 |
$(use_enable vala) |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
gnome2_src_compile |
89 |
+ |
90 |
if use doc; then |
91 |
emake -C docs/tutorial html |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- gnome2_src_install |
97 |
- |
98 |
- if use doc ; then |
99 |
- docinto tutorial |
100 |
- dodoc -r docs/tutorial/html/ |
101 |
+ HTML_DOCS=( docs/tutorial/html/. ) |
102 |
fi |
103 |
} |