Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmime/
Date: Sat, 04 Jun 2022 17:46:01
Message-Id: 1654364744.464d1ab3324d3d5a208fe04b6d5bde5855155e8a.mattst88@gentoo
1 commit: 464d1ab3324d3d5a208fe04b6d5bde5855155e8a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 4 17:35:49 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 17:45:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464d1ab3
7
8 dev-libs/gmime: Version bump to 3.2.12
9
10 Closes: https://bugs.gentoo.org/811963
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-libs/gmime/Manifest | 1 +
14 dev-libs/gmime/gmime-3.2.12.ebuild | 69 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 70 insertions(+)
16
17 diff --git a/dev-libs/gmime/Manifest b/dev-libs/gmime/Manifest
18 index 6d1d542c0fa7..854646792ebe 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.11.tar.xz 2230984 BLAKE2B 7a1758d8b7b3e4a3b27819b3cd4002247209b0d979813b3071d7423341c0a5786d929110c18d23bad5fb74cb15a142382eb63afc1bc019b1da148ed8a0acd524 SHA512 0d61ce2c7716de3fec2b6666937f01b880b45a1fe7b6c40b5d253e8510f8a4af3b274473b0da4319018747484df35df7ac8fe0ebae019b2f956c525182cf30f8
24 +DIST gmime-3.2.12.tar.xz 2233844 BLAKE2B 863a0634586a478faf32a201051639c33c214d0acb2b7852ba82a3be1f923ad44f3d04390bd9b62991ebaa17da19b6f74f4ce334ff8272563750587793256164 SHA512 2b2529d36bac4501cc79f9b8127a9f0898fce9ce91dbf8a6c72037d120a2fbccbb97b91b00b81fed15bae4232c59700efacf1c94910a06c66340e67815df5afb
25
26 diff --git a/dev-libs/gmime/gmime-3.2.12.ebuild b/dev-libs/gmime/gmime-3.2.12.ebuild
27 new file mode 100644
28 index 000000000000..a7eed9e822c8
29 --- /dev/null
30 +++ b/dev-libs/gmime/gmime-3.2.12.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit flag-o-matic gnome2 vala
38 +
39 +DESCRIPTION="Library for creating and parsing MIME messages"
40 +HOMEPAGE="https://github.com/jstedfast/gmime http://spruce.sourceforge.net/gmime/"
41 +SRC_URI="https://github.com/jstedfast/${PN}/releases/download/${PV}/${P}.tar.xz"
42 +
43 +SLOT="3.0"
44 +LICENSE="LGPL-2.1+"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
46 +IUSE="crypt doc idn test +vala"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.58.0:2
51 + sys-libs/zlib
52 + crypt? ( >=app-crypt/gpgme-1.8.0:= )
53 + idn? ( net-dns/libidn2:= )
54 + vala? (
55 + $(vala_depend)
56 + >=dev-libs/gobject-introspection-1.30.0:= )
57 +"
58 +DEPEND="${RDEPEND}
59 + >=dev-util/gtk-doc-am-1.8
60 + virtual/libiconv
61 + virtual/pkgconfig
62 + doc? ( app-text/docbook-sgml-utils )
63 + test? ( app-crypt/gnupg )
64 +"
65 +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally
66 +
67 +src_prepare() {
68 + gnome2_src_prepare
69 + use vala && vala_setup
70 +}
71 +
72 +src_configure() {
73 + if [[ ${CHOST} == *-solaris* ]]; then
74 + # bug #???, why not use --with-libiconv
75 + append-libs iconv
76 + fi
77 +
78 + gnome2_src_configure \
79 + --enable-largefile \
80 + $(use_enable crypt crypto) \
81 + $(use_enable vala) \
82 + $(use_with idn libidn) \
83 + $(usex doc "" DB2HTML=)
84 +}
85 +
86 +src_compile() {
87 + gnome2_src_compile
88 + if use doc; then
89 + emake -C docs/tutorial html
90 + fi
91 +}
92 +
93 +src_install() {
94 + gnome2_src_install
95 +
96 + if use doc ; then
97 + docinto tutorial
98 + dodoc -r docs/tutorial/html/
99 + fi
100 +}