diff options
author | 2016-06-24 21:51:56 +0200 | |
---|---|---|
committer | 2016-06-24 22:06:28 +0200 | |
commit | f3cf8ba748d9ac6478fec5c98a9006f5c6604348 (patch) | |
tree | 4d79bf0bcbe36caf8b963dfd9fca674d88cc7fa3 /app-crypt/gcr/gcr-3.20.0.ebuild | |
parent | app-arch/file-roller: Version bump (diff) | |
download | gentoo-f3cf8ba748d9ac6478fec5c98a9006f5c6604348.tar.gz gentoo-f3cf8ba748d9ac6478fec5c98a9006f5c6604348.tar.bz2 gentoo-f3cf8ba748d9ac6478fec5c98a9006f5c6604348.zip |
app-crypt/gcr: Version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-crypt/gcr/gcr-3.20.0.ebuild')
-rw-r--r-- | app-crypt/gcr/gcr-3.20.0.ebuild | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/app-crypt/gcr/gcr-3.20.0.ebuild b/app-crypt/gcr/gcr-3.20.0.ebuild new file mode 100644 index 000000000000..e1000e960a70 --- /dev/null +++ b/app-crypt/gcr/gcr-3.20.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" +HOMEPAGE="https://git.gnome.org/browse/gcr" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0/1" # subslot = suffix of libgcr-3 + +IUSE="debug gtk +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris" + +COMMON_DEPEND=" + >=app-crypt/p11-kit-0.19 + >=dev-libs/glib-2.38:2 + >=dev-libs/libgcrypt-1.2.2:0= + >=dev-libs/libtasn1-1:= + >=sys-apps/dbus-1 + gtk? ( >=x11-libs/gtk+-3.12:3[X,introspection?] ) + introspection? ( >=dev-libs/gobject-introspection-1.34:= ) +" +RDEPEND="${COMMON_DEPEND} + !<gnome-base/gnome-keyring-3.3 +" +# gcr was part of gnome-keyring until 3.3 +DEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + dev-libs/gobject-introspection-common + dev-libs/libxslt + dev-libs/vala-common + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.9 + >=dev-util/intltool-0.35 + sys-devel/gettext + virtual/pkgconfig + vala? ( $(vala_depend) ) +" +# eautoreconf needs: +# dev-libs/gobject-introspection-common +# dev-libs/vala-common + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + # Disable stupid flag changes + sed -e 's/CFLAGS="$CFLAGS -g"//' \ + -e 's/CFLAGS="$CFLAGS -O0"//' \ + -i configure.ac configure || die + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_with gtk) \ + $(use_enable introspection) \ + $(use_enable vala) \ + $(usex debug --enable-debug=yes --enable-debug=default) \ + --disable-update-icon-cache \ + --disable-update-mime +} + +src_test() { + virtx emake check +} |