diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-01-15 17:15:28 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-01-15 17:44:23 +0100 |
commit | 9d18242862c3f6c6930f5ca467e3660177c564c5 (patch) | |
tree | c8a877e7cabed3681a821267cab98b915b30fd70 /dev-libs | |
parent | dev-libs/gmime: Drop old (diff) | |
download | gentoo-9d18242862c3f6c6930f5ca467e3660177c564c5.tar.gz gentoo-9d18242862c3f6c6930f5ca467e3660177c564c5.tar.bz2 gentoo-9d18242862c3f6c6930f5ca467e3660177c564c5.zip |
dev-libs/gmime: Version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gmime/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gmime/gmime-2.6.22.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/gmime/Manifest b/dev-libs/gmime/Manifest index 8e9f0df120ad..9468bd73356b 100644 --- a/dev-libs/gmime/Manifest +++ b/dev-libs/gmime/Manifest @@ -1 +1,2 @@ DIST gmime-2.6.20.tar.xz 740696 SHA256 e0a170fb264c2ae4cecd852f4e7aaddb8d58e8f3f0b569ce2d2a4704f55bdf65 SHA512 8a43cc57fb2884a0d0979dd42775aa0946d11f460beb33fc7f7a166bcabb81b9590426072eeb606e2d5423ac4d68ff73d619fee96f33669f62069fcccfaf0a10 WHIRLPOOL efa42a42f4e3a1b92609307f8b9d26e7d93d42cf5545f988a8ecf1f2a6c574ecb6957cc4ed1d62aa60540e8aa802a4b2dba816677c23aa1f0d3a0e8228eb5b22 +DIST gmime-2.6.22.tar.xz 5216068 SHA256 c25f9097d5842a4808f1d62faf5eace24af2c51d6113da58d559a3bfe1d5553a SHA512 4f26ae15372f86392f996196d062dc05924923420ffbbfe0d22b53d1d3a38e2158f6faf50884bcfe04b33d84bd25e360eef0483f97bbdbb20c8ed4410d2c7815 WHIRLPOOL 526a6ef2126340d3d6dc98b7a8e18e3418c31dd45715b8d832e11296a7bb0ca68188fd41bb2b87f7c5d0be4e0b58b424276c2b779317420f3e93d19682df821e diff --git a/dev-libs/gmime/gmime-2.6.22.ebuild b/dev-libs/gmime/gmime-2.6.22.ebuild new file mode 100644 index 000000000000..e1cb3dad15b0 --- /dev/null +++ b/dev-libs/gmime/gmime-2.6.22.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit 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.32.0:2 + sys-libs/zlib + mono? ( + dev-lang/mono + >=dev-dotnet/gtk-sharp-2.12.21:2 ) + smime? ( >=app-crypt/gpgme-1.1.6:1= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.8 + virtual/libiconv + 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 +} |