+++ /dev/null
-From 58de2d787a31175b26687b9a228da0fb1cea5809 Mon Sep 17 00:00:00 2001
-From: Andreas Henriksson <andreas@fatal.se>
-Date: Mon, 29 Sep 2014 20:28:00 +0000
-Subject: gcr: Fix race building gdbus-codegen header and source
-
-https://bugzilla.gnome.org/show_bug.cgi?id=737622
-
-diff --git a/gcr/Makefile.am b/gcr/Makefile.am
-index 0834c67..59f32b7 100644
---- a/gcr/Makefile.am
-+++ b/gcr/Makefile.am
-@@ -161,12 +161,12 @@ gcr/gcr-dbus-generated.c: $(DBUS_XML_DEFINITIONS)
- $(AM_V_GEN) sed -e 's/gcr_dbus/_gcr_dbus/g' \
- gcr/gcr-dbus-generated.c > gcr/gcr-dbus-generated.c.tmp && \
- mv gcr/gcr-dbus-generated.c.tmp gcr/gcr-dbus-generated.c
--
--gcr/gcr-dbus-generated.h: gcr/gcr-dbus-generated.c
- $(AM_V_GEN) sed -e 's/gcr_dbus/_gcr_dbus/g' \
- gcr/gcr-dbus-generated.h > gcr/gcr-dbus-generated.h.tmp && \
- mv gcr/gcr-dbus-generated.h.tmp gcr/gcr-dbus-generated.h
-
-+gcr/gcr-dbus-generated.h: gcr/gcr-dbus-generated.c
-+
- pkgconfig_DATA += \
- gcr-base-$(GCR_MAJOR).pc
-
---
-cgit v0.10.1
-
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-GCONF_DEBUG="no"
-VALA_USE_DEPEND="vapigen"
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools eutils gnome2 python-any-r1 vala virtualx
-
-DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
-HOMEPAGE="https://developer.gnome.org/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 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/gnupg-2
- >=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() {
- # Fix race building gdbus-codegen header and source (from '3.14')
- epatch "${FILESDIR}"/${P}-race-building.patch
-
- # Disable stupid flag changes
- sed -e 's/CFLAGS="$CFLAGS -g"//' \
- -e 's/CFLAGS="$CFLAGS -O0"//' \
- -i configure.ac configure || die
-
- eautoreconf
- use vala && vala_src_prepare
- gnome2_src_prepare
-}
-
-src_configure() {
- DOCS="AUTHORS ChangeLog HACKING NEWS README"
- 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() {
- unset DBUS_SESSION_BUS_ADDRESS
- Xemake check
-}