Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmime/
Date: Sun, 17 Nov 2019 19:25:48
Message-Id: 1574018681.3ac079a6cd86e6c959a54b136f36902516c4f417.leio@gentoo
1 commit: 3ac079a6cd86e6c959a54b136f36902516c4f417
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 17 19:24:07 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 19:24:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac079a6
7
8 dev-libs/gmime:2.6: drop mono bindings support
9
10 There are issues with the mono support with 17.1 profiles.
11 As this is an old legacy SLOT and there are no in-tree
12 consumers of these bindings, just drop them instead of
13 bothering proper fixing.
14
15 Closes: https://bugs.gentoo.org/688666
16 Package-Manager: Portage-2.3.69, Repoman-2.3.12
17 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
18
19 .../{gmime-2.6.23.ebuild => gmime-2.6.23-r1.ebuild} | 18 +++++-------------
20 1 file changed, 5 insertions(+), 13 deletions(-)
21
22 diff --git a/dev-libs/gmime/gmime-2.6.23.ebuild b/dev-libs/gmime/gmime-2.6.23-r1.ebuild
23 similarity index 77%
24 rename from dev-libs/gmime/gmime-2.6.23.ebuild
25 rename to dev-libs/gmime/gmime-2.6.23-r1.ebuild
26 index fe5a962ae41..21d44a9d7d8 100644
27 --- a/dev-libs/gmime/gmime-2.6.23.ebuild
28 +++ b/dev-libs/gmime/gmime-2.6.23-r1.ebuild
29 @@ -4,7 +4,7 @@
30 EAPI=6
31 VALA_USE_DEPEND="vapigen"
32
33 -inherit mono-env gnome2 vala flag-o-matic
34 +inherit gnome2 vala flag-o-matic
35
36 DESCRIPTION="Utilities for creating and parsing messages using MIME"
37 HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/"
38 @@ -12,14 +12,11 @@ HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime
39 SLOT="2.6"
40 LICENSE="LGPL-2.1"
41 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
42 -IUSE="doc mono smime static-libs test vala"
43 +IUSE="doc smime static-libs test vala"
44
45 RDEPEND="
46 >=dev-libs/glib-2.32.0:2
47 sys-libs/zlib
48 - mono? (
49 - dev-lang/mono
50 - >=dev-dotnet/gtk-sharp-2.12.21:2 )
51 smime? ( >=app-crypt/gpgme-1.1.6:1= )
52 vala? (
53 $(vala_depend)
54 @@ -34,10 +31,6 @@ DEPEND="${RDEPEND}
55 "
56 # gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally
57
58 -pkg_setup() {
59 - use mono && mono-env_pkg_setup
60 -}
61 -
62 src_prepare() {
63 gnome2_src_prepare
64 use vala && vala_src_prepare
65 @@ -48,22 +41,21 @@ src_configure() {
66 gnome2_src_configure \
67 --enable-cryptography \
68 --disable-strict-parser \
69 - $(use_enable mono) \
70 + --disable-mono \
71 $(use_enable smime) \
72 $(use_enable static-libs static) \
73 $(use_enable vala)
74 }
75
76 src_compile() {
77 - MONO_PATH="${S}" gnome2_src_compile
78 + gnome2_src_compile
79 if use doc; then
80 emake -C docs/tutorial html
81 fi
82 }
83
84 src_install() {
85 - GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
86 - gnome2_src_install
87 + gnome2_src_install
88
89 if use doc ; then
90 docinto tutorial