diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /app-crypt/gcr/gcr-3.34.0-r1.ebuild | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'app-crypt/gcr/gcr-3.34.0-r1.ebuild')
-rw-r--r-- | app-crypt/gcr/gcr-3.34.0-r1.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/app-crypt/gcr/gcr-3.34.0-r1.ebuild b/app-crypt/gcr/gcr-3.34.0-r1.ebuild new file mode 100644 index 000000000000..3c984e3e1e38 --- /dev/null +++ b/app-crypt/gcr/gcr-3.34.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python3_{6,7,8} ) +GNOME2_EAUTORECONF="yes" + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0/1" # subslot = suffix of libgcr-3 + +IUSE="debug gtk +introspection +vala" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-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}" +DEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + dev-libs/gobject-introspection-common + dev-libs/libxml2:2 + dev-libs/libxslt + dev-libs/vala-common + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.9 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" +# eautoreconf needs: +# dev-libs/gobject-introspection-common +# dev-libs/vala-common + +PATCHES=( + "${FILESDIR}"/${PV}-fix-desktop-files.patch +) + +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 +} |