public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Amadeusz Piotr Żołnowski" <aidecoe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmime/
Date: Tue, 31 May 2016 21:14:04 +0000 (UTC)	[thread overview]
Message-ID: <1464729202.c63980f7bba608bc46a454b484635f281f463b2c.aidecoe@gentoo> (raw)

commit:     c63980f7bba608bc46a454b484635f281f463b2c
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 21:09:30 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Tue May 31 21:13:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63980f7

dev-libs/gmime: Add optional support for S/MIME

Fix deps: gpgme is only required for S/MIME, but gmime used to depend on
it unconditionally.

Bump both revisions because the one depending on gtk-sharp is not going
to be stabilized soon.

Gentoo-Bug: 583614

Package-Manager: portage-2.3.0_rc1

 dev-libs/gmime/gmime-2.6.20-r2.ebuild | 71 +++++++++++++++++++++++++++++++++++
 dev-libs/gmime/gmime-2.6.20-r3.ebuild | 70 ++++++++++++++++++++++++++++++++++
 dev-libs/gmime/metadata.xml           |  3 ++
 3 files changed, 144 insertions(+)

diff --git a/dev-libs/gmime/gmime-2.6.20-r2.ebuild b/dev-libs/gmime/gmime-2.6.20-r2.ebuild
new file mode 100644
index 0000000..bff36f5
--- /dev/null
+++ b/dev-libs/gmime/gmime-2.6.20-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils mono-env gnome2 vala
+
+DESCRIPTION="Utilities for creating and parsing messages using MIME"
+HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/"
+
+SLOT="2.6"
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc mono smime static-libs vala"
+
+RDEPEND="
+	>=dev-libs/glib-2.18:2
+	sys-libs/zlib
+	mono? (
+		dev-lang/mono
+		>=dev-dotnet/glib-sharp-2.4.0:2 )
+	smime? ( >=app-crypt/gpgme-1.1.6 )
+"
+DEPEND="${RDEPEND}
+	>=dev-util/gtk-doc-am-1.8
+	virtual/pkgconfig
+	doc? ( app-text/docbook-sgml-utils )
+	mono? ( dev-dotnet/gtk-sharp-gapi:2 )
+	vala? (
+		$(vala_depend)
+		>=dev-libs/gobject-introspection-1.30.0 )
+"
+
+pkg_setup() {
+	use mono && mono-env_pkg_setup
+}
+
+src_prepare() {
+	gnome2_src_prepare
+	use vala && vala_src_prepare
+}
+
+src_configure() {
+	gnome2_src_configure \
+		--enable-cryptography \
+		--disable-strict-parser \
+		$(use_enable mono) \
+		$(use_enable smime) \
+		$(use_enable static-libs static) \
+		$(use_enable vala)
+}
+
+src_compile() {
+	MONO_PATH="${S}" gnome2_src_compile
+	if use doc; then
+		emake -C docs/tutorial html
+	fi
+}
+
+src_install() {
+	GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
+		gnome2_src_install
+
+	if use doc ; then
+		docinto tutorial
+		dodoc docs/tutorial/html/*
+	fi
+}

diff --git a/dev-libs/gmime/gmime-2.6.20-r3.ebuild b/dev-libs/gmime/gmime-2.6.20-r3.ebuild
new file mode 100644
index 0000000..30439fd
--- /dev/null
+++ b/dev-libs/gmime/gmime-2.6.20-r3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils mono-env gnome2 vala
+
+DESCRIPTION="Utilities for creating and parsing messages using MIME"
+HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/"
+
+SLOT="2.6"
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc mono smime static-libs vala"
+
+RDEPEND="
+	>=dev-libs/glib-2.18:2
+	sys-libs/zlib
+	mono? (
+		dev-lang/mono
+		>=dev-dotnet/gtk-sharp-2.12.21:2 )
+	smime? ( >=app-crypt/gpgme-1.1.6 )
+"
+DEPEND="${RDEPEND}
+	>=dev-util/gtk-doc-am-1.8
+	virtual/pkgconfig
+	doc? ( app-text/docbook-sgml-utils )
+	vala? (
+		$(vala_depend)
+		>=dev-libs/gobject-introspection-1.30.0 )
+"
+
+pkg_setup() {
+	use mono && mono-env_pkg_setup
+}
+
+src_prepare() {
+	gnome2_src_prepare
+	use vala && vala_src_prepare
+}
+
+src_configure() {
+	gnome2_src_configure \
+		--enable-cryptography \
+		--disable-strict-parser \
+		$(use_enable mono) \
+		$(use_enable smime) \
+		$(use_enable static-libs static) \
+		$(use_enable vala)
+}
+
+src_compile() {
+	MONO_PATH="${S}" gnome2_src_compile
+	if use doc; then
+		emake -C docs/tutorial html
+	fi
+}
+
+src_install() {
+	GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
+		gnome2_src_install
+
+	if use doc ; then
+		docinto tutorial
+		dodoc docs/tutorial/html/*
+	fi
+}

diff --git a/dev-libs/gmime/metadata.xml b/dev-libs/gmime/metadata.xml
index 24ed35a..3faea47 100644
--- a/dev-libs/gmime/metadata.xml
+++ b/dev-libs/gmime/metadata.xml
@@ -8,4 +8,7 @@
 	<upstream>
 		<remote-id type="sourceforge">spruce</remote-id>
 	</upstream>
+	<use>
+		<flag name="smime">Enable experimental S/MIME support</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2016-05-31 21:14 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-31 21:14 Amadeusz Piotr Żołnowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-13 10:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmime/ Mart Raudsepp
2024-04-09 22:46 Sam James
2024-04-07 10:11 Arthur Zamarin
2024-04-07  6:57 Arthur Zamarin
2024-04-07  6:26 Arthur Zamarin
2023-09-04 16:13 Matt Turner
2023-01-01 11:33 David Seifert
2022-10-29 23:21 Matt Turner
2022-09-30 18:37 Arthur Zamarin
2022-09-28 16:29 Arthur Zamarin
2022-09-19  1:38 Sam James
2022-08-20 13:59 Matt Turner
2022-07-21  0:13 Sam James
2022-07-18 17:44 Sam James
2022-06-04 17:45 Matt Turner
2022-05-28  5:38 Sam James
2022-04-14  3:47 Joonas Niilola
2022-03-22  2:46 Matt Turner
2022-03-11 19:59 Matt Turner
2022-03-03 15:14 Yixun Lan
2022-02-16 21:53 David Seifert
2021-11-08  7:47 Sam James
2021-11-05  7:19 Sam James
2020-12-01  9:38 Sam James
2020-10-11 17:48 Sam James
2020-06-07 21:28 Mart Raudsepp
2020-05-13 17:35 Sergei Trofimovich
2020-05-01  8:35 Mart Raudsepp
2020-04-30  7:09 Sergei Trofimovich
2020-04-22 14:25 Agostino Sarubbo
2020-04-22  8:41 Agostino Sarubbo
2020-03-29  9:19 Mart Raudsepp
2020-03-21 16:22 Mart Raudsepp
2020-02-18 12:15 Mart Raudsepp
2020-01-28  7:41 Agostino Sarubbo
2020-01-27 14:28 Agostino Sarubbo
2020-01-27 12:44 Agostino Sarubbo
2020-01-27  9:45 Mikle Kolyada
2020-01-26 22:39 Thomas Deutschmann
2019-12-25 19:40 Mart Raudsepp
2019-12-24 20:36 Sergei Trofimovich
2019-12-15 16:48 Pacho Ramos
2019-12-09  9:14 Agostino Sarubbo
2019-12-09  9:11 Agostino Sarubbo
2019-12-08 11:59 Mikle Kolyada
2019-12-08 11:58 Mikle Kolyada
2019-11-17 20:35 Mart Raudsepp
2019-11-17 19:25 Mart Raudsepp
2019-10-20 14:30 Pacho Ramos
2019-05-18 19:59 Mart Raudsepp
2019-01-21 10:27 Mart Raudsepp
2019-01-04 10:52 Sergei Trofimovich
2018-08-14 16:02 Alon Bar-Lev
2018-05-14  4:05 Mart Raudsepp
2018-04-29  0:08 Mart Raudsepp
2018-02-08  8:26 Gilles Dartiguelongue
2018-02-03 19:40 Mart Raudsepp
2018-01-18  2:15 Mikle Kolyada
2017-12-19  7:38 Gilles Dartiguelongue
2017-12-17 22:47 Ulrich Müller
2017-12-17 18:14 Gilles Dartiguelongue
2017-09-12 22:04 Gilles Dartiguelongue
2017-09-12  9:13 Fabian Groffen
2017-09-12  7:15 Fabian Groffen
2017-07-14 12:12 Alexis Ballier
2017-03-20 15:54 Mart Raudsepp
2017-03-20 15:54 Mart Raudsepp
2017-03-16 13:24 Jeroen Roovers
2017-02-24 21:29 Michael Weber
2017-02-21  9:16 Tobias Klausmann
2017-02-15 19:24 Mart Raudsepp
2017-01-22 12:39 Pacho Ramos
2017-01-21 19:51 Pacho Ramos
2017-01-15 16:44 Pacho Ramos
2017-01-15 16:44 Pacho Ramos
2017-01-15 16:44 Pacho Ramos
2017-01-15 10:02 Jeroen Roovers
2017-01-03 10:38 Agostino Sarubbo
2017-01-02  9:54 Agostino Sarubbo
2016-12-31 22:20 Agostino Sarubbo
2016-12-30 11:12 Agostino Sarubbo
2016-12-30  9:39 Agostino Sarubbo
2016-12-23 15:41 Markus Meier
2016-12-02 18:10 Tobias Klausmann
2016-10-15  4:18 Jeroen Roovers
2016-10-01 11:45 Jeroen Roovers
2016-10-01  7:55 Markus Meier
2016-09-22 10:10 Tobias Klausmann
2016-08-18  9:07 Pacho Ramos
2015-08-17  9:38 Heather Cynede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464729202.c63980f7bba608bc46a454b484635f281f463b2c.aidecoe@gentoo \
    --to=aidecoe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox