diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2014-03-24 14:40:17 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2014-03-24 14:40:17 +0000 |
commit | b29c8e8b785c2b5cbfb160a662e15a10efdd19fd (patch) | |
tree | ce6bb1b871842a4d4f034c21c6c5b4f6d6d498fc /mate-base/mate-keyring | |
parent | Stable for ppc64, wrt bug #503630 (diff) | |
download | gentoo-2-b29c8e8b785c2b5cbfb160a662e15a10efdd19fd.tar.gz gentoo-2-b29c8e8b785c2b5cbfb160a662e15a10efdd19fd.tar.bz2 gentoo-2-b29c8e8b785c2b5cbfb160a662e15a10efdd19fd.zip |
New ebuild for mate-base/mate-keyring, password and keyring managing daemon for MATE; imported from the mate-overlay, reviewed and adjusted.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'mate-base/mate-keyring')
-rw-r--r-- | mate-base/mate-keyring/ChangeLog | 10 | ||||
-rw-r--r-- | mate-base/mate-keyring/mate-keyring-1.6.1.ebuild | 83 | ||||
-rw-r--r-- | mate-base/mate-keyring/metadata.xml | 12 |
3 files changed, 105 insertions, 0 deletions
diff --git a/mate-base/mate-keyring/ChangeLog b/mate-base/mate-keyring/ChangeLog new file mode 100644 index 000000000000..d1640564c818 --- /dev/null +++ b/mate-base/mate-keyring/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for mate-base/mate-keyring +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-keyring/ChangeLog,v 1.1 2014/03/24 14:40:17 tomwij Exp $ + +*mate-keyring-1.6.1 (24 Mar 2014) + + 24 Mar 2014; Tom Wijsman <TomWij@gentoo.org> +mate-keyring-1.6.1.ebuild, + +metadata.xml: + New ebuild for mate-base/mate-keyring, password and keyring managing daemon + for MATE; imported from the mate-overlay, reviewed and adjusted. diff --git a/mate-base/mate-keyring/mate-keyring-1.6.1.ebuild b/mate-base/mate-keyring/mate-keyring-1.6.1.ebuild new file mode 100644 index 000000000000..037131001907 --- /dev/null +++ b/mate-base/mate-keyring/mate-keyring-1.6.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-keyring/mate-keyring-1.6.1.ebuild,v 1.1 2014/03/24 14:40:17 tomwij Exp $ + +EAPI="5" + +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +inherit autotools gnome2 pam virtualx versionator + +MATE_BRANCH="$(get_version_component_range 1-2)" + +SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" +DESCRIPTION="Password and keyring managing daemon for MATE" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="debug +gpg-agent pam +ssh-agent test" + +RDEPEND=">=dev-libs/glib-2.25:2 + >=x11-libs/gtk+-2.20:2 + >=sys-apps/dbus-1:0 + >=dev-libs/libgcrypt-1.2.2:0= + >=dev-libs/libtasn1-0.3.4:0= + sys-libs/libcap:0 + x11-libs/cairo:0 + x11-libs/gdk-pixbuf:2 + x11-libs/pango:0 + virtual/libintl:0 + pam? ( virtual/pam:0 )" + +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.9 + >=dev-util/intltool-0.35:* + sys-devel/gettext:* + virtual/pkgconfig:*" + +PDEPEND=">=mate-base/libmatekeyring-1.6:0" + +# Fails in several ways, should work in next cycle (bug #340283), revisit then. +RESTRICT="test" + +src_prepare() { + sed -e 's/DOC_MODULE=gck/DOC_MODULE=mate-gck/' \ + -i docs/reference/gck/Makefile.am || die + + eautoreconf + + gnome2_src_prepare + + # Remove error related CFLAGS. + sed 's:CFLAGS="$CFLAGS -Werror:CFLAGS="$CFLAGS:' \ + -i configure.ac configure || die "sed CFLAGS failed" + + # Remove DISABLE_DEPRECATED flags. + sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' \ + -i configure.ac configure || die "sed DISABLE_DEPRECATED failed" +} + +src_configure() { + gnome2_src_configure \ + $(use_enable debug) \ + $(use_enable test tests) \ + $(use_enable gpg-agent) \ + $(use_enable pam) \ + $(use_enable ssh-agent) \ + $(use_with pam pam-dir $(getpam_mod_dir)) \ + --with-root-certs="${EPREFIX}"/usr/share/ca-certificates/ \ + --with-gtk=2.0 \ + --enable-ssh-agent \ + --enable-gpg-agent +} + +DOCS="AUTHORS ChangeLog NEWS README" + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + Xemake check || die "emake check failed!" +} diff --git a/mate-base/mate-keyring/metadata.xml b/mate-base/mate-keyring/metadata.xml new file mode 100644 index 000000000000..71045c7f9292 --- /dev/null +++ b/mate-base/mate-keyring/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <use> + <flag name="gpg-agent">Include GPG agent in mate-keyring.</flag> + <flag name="ssh-agent">Include SSH agent in mate-keyring.</flag> + </use> +</pkgmetadata> |