Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmime/
Date: Thu, 08 Feb 2018 08:26:04
Message-Id: 1518078348.d85bff8b2422b2464c86e261c833355b9cc2b634.eva@gentoo
1 commit: d85bff8b2422b2464c86e261c833355b9cc2b634
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 8 08:08:37 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 8 08:25:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85bff8b
7
8 dev-libs/gmime: version bump 3.0.5 → 3.2.0
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-libs/gmime/Manifest | 1 +
13 dev-libs/gmime/gmime-3.2.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-libs/gmime/Manifest b/dev-libs/gmime/Manifest
17 index 6c06943a2f1..f925f67ca75 100644
18 --- a/dev-libs/gmime/Manifest
19 +++ b/dev-libs/gmime/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gmime-2.6.23.tar.xz 5216588 BLAKE2B e173a7dbd418663ebbc55b856359bf9286c3791827f9b7f89da48dd7c3609e77312546f9489c08d34a7dcaeb78659789809d5fafc1323cbae9b9f1c4a316c659 SHA512 2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14
22 DIST gmime-3.0.5.tar.xz 764188 BLAKE2B 71daa5703c7a3e0e209a35908ef9fee40d494a5d2a3819d273408a36caee18dee6852a852a9d8757e2bf9d0b958235acb69cfa7538a8f670deb00c220f77a737 SHA512 658b9008ffdf8055ffa9dfe8a5a6036a487309b0419572a9376397f68a8fc17d36ba6a05d2dfcb2ad23e634dc9e2aedd2479df1bfa0b7f8944d4c294650cb6c8
23 +DIST gmime-3.2.0.tar.xz 1962544 BLAKE2B 2d5f9bbd2fb69015dfe52b7b9a8aaeba5d06c3c00e853212f098181efd1a30cb4588ebf173f1370dccc03d5a137ec1a0823608a7271ffd7d7e882a214c0e4189 SHA512 bb45f34b80ff237478602ff05ce0f736373185b7aa260c17aaf00a519d0b75ce9e24b0f6b256ce0f17b613e9f67174c54e302411110bf5f143947591f5f5aa43
24
25 diff --git a/dev-libs/gmime/gmime-3.2.0.ebuild b/dev-libs/gmime/gmime-3.2.0.ebuild
26 new file mode 100644
27 index 00000000000..3075f18979d
28 --- /dev/null
29 +++ b/dev-libs/gmime/gmime-3.2.0.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +VALA_USE_DEPEND="vapigen"
36 +
37 +inherit flag-o-matic gnome2 vala
38 +
39 +DESCRIPTION="Utilities for creating and parsing messages using MIME"
40 +HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/"
41 +
42 +SLOT="3.0"
43 +LICENSE="LGPL-2.1"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
45 +IUSE="crypt doc idn static-libs test vala"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.32.0:2
49 + sys-libs/zlib
50 + crypt? ( >=app-crypt/gpgme-1.8.0:1= )
51 + idn? ( net-dns/libidn )
52 + vala? (
53 + $(vala_depend)
54 + >=dev-libs/gobject-introspection-1.30.0:= )
55 +"
56 +DEPEND="${RDEPEND}
57 + >=dev-util/gtk-doc-am-1.8
58 + virtual/libiconv
59 + virtual/pkgconfig
60 + doc? ( app-text/docbook-sgml-utils )
61 + test? ( app-crypt/gnupg )
62 +"
63 +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally
64 +
65 +src_prepare() {
66 + gnome2_src_prepare
67 + use vala && vala_src_prepare
68 +}
69 +
70 +src_configure() {
71 + if [[ ${CHOST} == *-solaris* ]]; then
72 + # bug #???, why not use --with-libiconv
73 + append-libs iconv
74 + fi
75 +
76 + gnome2_src_configure \
77 + $(use_enable crypt crypto) \
78 + $(use_enable static-libs static) \
79 + $(use_enable vala) \
80 + $(use_with idn libidn) \
81 + $(usex doc "" DB2HTML=)
82 +}
83 +
84 +src_compile() {
85 + gnome2_src_compile
86 + if use doc; then
87 + emake -C docs/tutorial html
88 + fi
89 +}
90 +
91 +src_install() {
92 + gnome2_src_install
93 +
94 + if use doc ; then
95 + docinto tutorial
96 + dodoc -r docs/tutorial/html/
97 + fi
98 +}