diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/gmime | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/gmime')
-rw-r--r-- | dev-libs/gmime/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/gmime/gmime-2.6.23.ebuild | 72 | ||||
-rw-r--r-- | dev-libs/gmime/gmime-3.2.0.ebuild | 68 | ||||
-rw-r--r-- | dev-libs/gmime/metadata.xml | 14 |
4 files changed, 159 insertions, 0 deletions
diff --git a/dev-libs/gmime/Manifest b/dev-libs/gmime/Manifest new file mode 100644 index 000000000000..1aa60ef12bf7 --- /dev/null +++ b/dev-libs/gmime/Manifest @@ -0,0 +1,5 @@ +DIST gmime-2.6.23.tar.xz 5216588 BLAKE2B e173a7dbd418663ebbc55b856359bf9286c3791827f9b7f89da48dd7c3609e77312546f9489c08d34a7dcaeb78659789809d5fafc1323cbae9b9f1c4a316c659 SHA512 2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14 +DIST gmime-3.2.0.tar.xz 1962544 BLAKE2B 2d5f9bbd2fb69015dfe52b7b9a8aaeba5d06c3c00e853212f098181efd1a30cb4588ebf173f1370dccc03d5a137ec1a0823608a7271ffd7d7e882a214c0e4189 SHA512 bb45f34b80ff237478602ff05ce0f736373185b7aa260c17aaf00a519d0b75ce9e24b0f6b256ce0f17b613e9f67174c54e302411110bf5f143947591f5f5aa43 +EBUILD gmime-2.6.23.ebuild 1735 BLAKE2B 53f9f6f52467235a3de521c880fcf55a6a9f3498000c52557fcac809d7ae118640c35204a61c2f69ac2d99db68b3232c6a672b99dbe658a0d5eac299ea987fa9 SHA512 2fbc586acb1dea60334039199a75f796bdd222ac5451c47ab76b2f8453adb4a2850d52dabb0c9d30af9a31332d5804bcc7891ceff5c58b78a61b2b54d0dd0354 +EBUILD gmime-3.2.0.ebuild 1565 BLAKE2B d2b07d8e77c51f0df053fe29aa5cb5ddd684d0c0b328ebed6ba5df1269e5130343fc8d11fe71bd08eb965d8d97713bc4d1d2c55e8791bfb1a7fca73cc304770b SHA512 eaa6764d31758a82b3e53c93174f7e2c3bbbd2a6c86ab9a7a3438d2213026880af0a31c33e9280902d8f4fbe2d04e3b6a0d0f525fd349d0beaf213bff211b009 +MISC metadata.xml 407 BLAKE2B 6079e838028f6063248e1dfe1b1b720c2bde65fe73512d4749aeda39aa9bd01b5bd047217e51be2ec6ab1050551f6e2f1c1d7162400261c841be312f8538df6e SHA512 0567710e8d8d0a61a0828325440aa243d8517d94767069d165c106fc5d1b96e5f952738874772ef9f28d1a391d3c47939a2ee32ecf3f8321ec00ee81d646d502 diff --git a/dev-libs/gmime/gmime-2.6.23.ebuild b/dev-libs/gmime/gmime-2.6.23.ebuild new file mode 100644 index 000000000000..e9b4bef636fc --- /dev/null +++ b/dev-libs/gmime/gmime-2.6.23.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit mono-env gnome2 vala flag-o-matic + +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 ~arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc mono smime static-libs test 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= ) + vala? ( + $(vala_depend) + >=dev-libs/gobject-introspection-1.30.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.8 + virtual/libiconv + virtual/pkgconfig + doc? ( app-text/docbook-sgml-utils ) + test? ( app-crypt/gnupg ) +" +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally + +pkg_setup() { + use mono && mono-env_pkg_setup +} + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +src_configure() { + [[ ${CHOST} == *-solaris* ]] && append-libs iconv + 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 -r docs/tutorial/html/ + fi +} diff --git a/dev-libs/gmime/gmime-3.2.0.ebuild b/dev-libs/gmime/gmime-3.2.0.ebuild new file mode 100644 index 000000000000..eb566a256693 --- /dev/null +++ b/dev-libs/gmime/gmime-3.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit flag-o-matic gnome2 vala + +DESCRIPTION="Utilities for creating and parsing messages using MIME" +HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/" + +SLOT="3.0" +LICENSE="LGPL-2.1" +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" +IUSE="crypt doc idn static-libs test vala" + +RDEPEND=" + >=dev-libs/glib-2.32.0:2 + sys-libs/zlib + crypt? ( >=app-crypt/gpgme-1.8.0:1= ) + idn? ( net-dns/libidn:= ) + vala? ( + $(vala_depend) + >=dev-libs/gobject-introspection-1.30.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.8 + virtual/libiconv + virtual/pkgconfig + doc? ( app-text/docbook-sgml-utils ) + test? ( app-crypt/gnupg ) +" +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +src_configure() { + if [[ ${CHOST} == *-solaris* ]]; then + # bug #???, why not use --with-libiconv + append-libs iconv + fi + + gnome2_src_configure \ + $(use_enable crypt crypto) \ + $(use_enable static-libs static) \ + $(use_enable vala) \ + $(use_with idn libidn) \ + $(usex doc "" DB2HTML=) +} + +src_compile() { + gnome2_src_compile + if use doc; then + emake -C docs/tutorial html + fi +} + +src_install() { + gnome2_src_install + + if use doc ; then + docinto tutorial + dodoc -r docs/tutorial/html/ + fi +} diff --git a/dev-libs/gmime/metadata.xml b/dev-libs/gmime/metadata.xml new file mode 100644 index 000000000000..3faea473b958 --- /dev/null +++ b/dev-libs/gmime/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">spruce</remote-id> + </upstream> + <use> + <flag name="smime">Enable experimental S/MIME support</flag> + </use> +</pkgmetadata> |