diff options
Diffstat (limited to 'app-crypt/gcr')
-rw-r--r-- | app-crypt/gcr/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/gcr/gcr-3.20.0.ebuild | 76 | ||||
-rw-r--r-- | app-crypt/gcr/metadata.xml | 8 |
3 files changed, 87 insertions, 0 deletions
diff --git a/app-crypt/gcr/Manifest b/app-crypt/gcr/Manifest new file mode 100644 index 000000000000..f012006f8940 --- /dev/null +++ b/app-crypt/gcr/Manifest @@ -0,0 +1,3 @@ +DIST gcr-3.20.0.tar.xz 1324216 BLAKE2B dca283d1bde4994ee60666b2d5fdc4f0861df453355dcf20cea22a87808da0b9284506460ecdfe779ab9ecdf4ce17e231bd1d9426d677511684c35e43da19550 SHA512 0acd0fb085a38507b1cc895ac773f91c6f4e14d2ea7e27b8e74c85ef78426597b6ea08ebee696452b0651939ec4a0d8a4a2523c41b3a8a0bd1b0d7b338b1d9c7 +EBUILD gcr-3.20.0.ebuild 1862 BLAKE2B a7ea202af7bb711d0fe024ef95c7d6a9c89cbf5fd8b98d2f8d1cbc0ac1372d6a890f6c17e6430176c8cbd841e5d235e3d9010ae67d9deb1abc9ff0360dd28716 SHA512 b66e96c94fa8a8d19f3c4fb26b5c3902a56baffd21fd883fb4971a88341ca2c62257db86679c3d2eaf054ea40ec284929adba5b174dc566471965e162d589713 +MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 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..b5dec6d72c6a --- /dev/null +++ b/app-crypt/gcr/gcr-3.20.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python2_7 ) + +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 +} diff --git a/app-crypt/gcr/metadata.xml b/app-crypt/gcr/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/app-crypt/gcr/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |