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: Mon, 21 Jan 2019 10:27:16
Message-Id: 1548066270.ef5a5e6f540b746baa101905020198dd4c1271a7.leio@gentoo
1 commit: ef5a5e6f540b746baa101905020198dd4c1271a7
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 21 10:22:49 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 10:24:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef5a5e6f
7
8 dev-libs/gmime: bump to 3.2.3
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/gmime/Manifest | 1 +
14 dev-libs/gmime/gmime-3.2.3.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/dev-libs/gmime/Manifest b/dev-libs/gmime/Manifest
18 index 6ad98ac4d48..5a712b1da64 100644
19 --- a/dev-libs/gmime/Manifest
20 +++ b/dev-libs/gmime/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gmime-2.6.23.tar.xz 5216588 BLAKE2B e173a7dbd418663ebbc55b856359bf9286c3791827f9b7f89da48dd7c3609e77312546f9489c08d34a7dcaeb78659789809d5fafc1323cbae9b9f1c4a316c659 SHA512 2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14
23 DIST gmime-3.2.0.tar.xz 1962544 BLAKE2B 2d5f9bbd2fb69015dfe52b7b9a8aaeba5d06c3c00e853212f098181efd1a30cb4588ebf173f1370dccc03d5a137ec1a0823608a7271ffd7d7e882a214c0e4189 SHA512 bb45f34b80ff237478602ff05ce0f736373185b7aa260c17aaf00a519d0b75ce9e24b0f6b256ce0f17b613e9f67174c54e302411110bf5f143947591f5f5aa43
24 +DIST gmime-3.2.3.tar.xz 2217320 BLAKE2B 29c8004636b27acd1dfd102d45bad39c09c677475c5e063e73b26ed242070b66ce1030d6ecfbf16d76d83ff403685bd62bcad832b94883fc5b3c770d9f800fa8 SHA512 abaf9059baf0c045d5b62757953ee2fa0779462eb32142bb41be40c376fc7ac2b3e4a56fd66177fbbe1dca35c6168a251542b14a844125c2cfcc9a99888179b4
25
26 diff --git a/dev-libs/gmime/gmime-3.2.3.ebuild b/dev-libs/gmime/gmime-3.2.3.ebuild
27 new file mode 100644
28 index 00000000000..a023e0a372b
29 --- /dev/null
30 +++ b/dev-libs/gmime/gmime-3.2.3.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +VALA_USE_DEPEND="vapigen"
37 +
38 +inherit flag-o-matic gnome2 vala
39 +
40 +DESCRIPTION="Utilities for creating and parsing messages using MIME"
41 +HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/"
42 +
43 +SLOT="3.0"
44 +LICENSE="LGPL-2.1+"
45 +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"
46 +IUSE="crypt doc idn static-libs test vala"
47 +
48 +RDEPEND="
49 + >=dev-libs/glib-2.32.0:2
50 + sys-libs/zlib
51 + crypt? ( >=app-crypt/gpgme-1.8.0:1= )
52 + idn? ( net-dns/libidn2:= )
53 + vala? (
54 + $(vala_depend)
55 + >=dev-libs/gobject-introspection-1.30.0:= )
56 +"
57 +DEPEND="${RDEPEND}
58 + >=dev-util/gtk-doc-am-1.8
59 + virtual/libiconv
60 + virtual/pkgconfig
61 + doc? ( app-text/docbook-sgml-utils )
62 + test? ( app-crypt/gnupg )
63 +"
64 +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally
65 +
66 +src_prepare() {
67 + gnome2_src_prepare
68 + use vala && vala_src_prepare
69 +}
70 +
71 +src_configure() {
72 + if [[ ${CHOST} == *-solaris* ]]; then
73 + # bug #???, why not use --with-libiconv
74 + append-libs iconv
75 + fi
76 +
77 + gnome2_src_configure \
78 + $(use_enable crypt crypto) \
79 + $(use_enable static-libs static) \
80 + $(use_enable vala) \
81 + $(use_with idn libidn) \
82 + $(usex doc "" DB2HTML=)
83 +}
84 +
85 +src_compile() {
86 + gnome2_src_compile
87 + if use doc; then
88 + emake -C docs/tutorial html
89 + fi
90 +}
91 +
92 +src_install() {
93 + gnome2_src_install
94 +
95 + if use doc ; then
96 + docinto tutorial
97 + dodoc -r docs/tutorial/html/
98 + fi
99 +}