diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-10 17:28:22 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-10 17:28:22 +0000 |
commit | c08ce38a5c7ca60d831f89ac0876b33a6595fcb4 (patch) | |
tree | 0e1ae99334abe80c5ed8810c8d8427ae3e94c70a /app-crypt/gcr/gcr-3.4.1-r2.ebuild | |
parent | Add missing dependency on gsettings-desktop-schemas (bug #434498, thanks to A... (diff) | |
download | historical-c08ce38a5c7ca60d831f89ac0876b33a6595fcb4.tar.gz historical-c08ce38a5c7ca60d831f89ac0876b33a6595fcb4.tar.bz2 historical-c08ce38a5c7ca60d831f89ac0876b33a6595fcb4.zip |
Respect USE=-introspection (bug #434412, thanks to Sergey Golubev and Ben Longbons). Drop revisions that didn't.
Package-Manager: portage-2.2.0_alpha124/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/gcr/gcr-3.4.1-r2.ebuild')
-rw-r--r-- | app-crypt/gcr/gcr-3.4.1-r2.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/app-crypt/gcr/gcr-3.4.1-r2.ebuild b/app-crypt/gcr/gcr-3.4.1-r2.ebuild new file mode 100644 index 000000000000..8c8bf7183fa6 --- /dev/null +++ b/app-crypt/gcr/gcr-3.4.1-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gcr/gcr-3.4.1-r2.ebuild,v 1.1 2012/09/10 17:28:21 tetromino Exp $ + +EAPI="4" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit autotools gnome2 virtualx + +DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +IUSE="debug doc +introspection" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" + +COMMON_DEPEND=">=app-crypt/gnupg-2 + >=app-crypt/p11-kit-0.6 + >=dev-libs/glib-2.30:2 + >=dev-libs/libgcrypt-1.2.2 + >=dev-libs/libtasn1-1 + >=sys-apps/dbus-1.0 + >=x11-libs/gtk+-3.0:3 + introspection? ( >=dev-libs/gobject-introspection-1.29 ) +" +RDEPEND="${COMMON_DEPEND} + !<gnome-base/gnome-keyring-3.3" +# gcr was part of gnome-keyring until 3.3 +DEPEND="${COMMON_DEPEND} + dev-util/gdbus-codegen + >=dev-util/intltool-0.35 + sys-devel/gettext + virtual/pkgconfig + + dev-libs/gobject-introspection-common + >=dev-util/gtk-doc-am-1.9 + + doc? ( >=dev-util/gtk-doc-1.9 )" +# eautoreconf needs: +# dev-libs/gobject-introspection-common +# >=dev-util/gtk-doc-am-1.9 + +pkg_setup() { + DOCS="AUTHORS ChangeLog HACKING NEWS README" + G2CONF="${G2CONF} + $(use_enable debug) + $(use_enable introspection) + --disable-update-icon-cache + --disable-update-mime" +} + +src_prepare() { + epatch "${FILESDIR}/${P}-invalid-whitespace.patch" #434422 + + # FIXME: failing tests + if use test; then + sed -e 's:test-subject-public-key::' \ + -e 's:test-system-prompt:$(NULL):' \ + -i gcr/tests/Makefile.am || die "sed failed" + eautoreconf + fi + + gnome2_src_prepare +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + Xemake check +} |