You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.7 KiB
66 lines
1.7 KiB
12 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gcr/gcr-3.8.2.ebuild,v 1.1 2013/05/05 08:02:06 pacho Exp $
|
||
12 years ago
|
|
||
|
EAPI="5"
|
||
|
GCONF_DEBUG="no"
|
||
|
|
||
|
inherit gnome2 virtualx
|
||
|
|
||
|
DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
|
||
12 years ago
|
HOMEPAGE="https://developer.gnome.org/gcr/"
|
||
12 years ago
|
|
||
|
LICENSE="GPL-2+ LGPL-2+"
|
||
|
SLOT="0/1" # subslot = suffix of libgcr-3
|
||
|
IUSE="debug gtk +introspection"
|
||
|
KEYWORDS="~alpha ~amd64 ~arm ~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.6
|
||
|
>=dev-libs/glib-2.32:2
|
||
|
>=dev-libs/libgcrypt-1.2.2:=
|
||
|
>=dev-libs/libtasn1-1:=
|
||
12 years ago
|
>=sys-apps/dbus-1
|
||
|
gtk? ( >=x11-libs/gtk+-3:3 )
|
||
12 years ago
|
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}
|
||
|
dev-libs/gobject-introspection-common
|
||
|
dev-util/gdbus-codegen
|
||
|
>=dev-util/gtk-doc-am-1.9
|
||
|
>=dev-util/intltool-0.35
|
||
|
sys-devel/gettext
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
# eautoreconf needs:
|
||
|
# dev-libs/gobject-introspection-common
|
||
|
|
||
|
src_prepare() {
|
||
|
# Disable stupid flag changes
|
||
|
sed -e 's/CFLAGS="$CFLAGS -g"//' \
|
||
|
-e 's/CFLAGS="$CFLAGS -O0"//' \
|
||
|
-i configure.ac configure || die
|
||
|
|
||
|
gnome2_src_prepare
|
||
|
}
|
||
|
|
||
12 years ago
|
src_configure() {
|
||
|
DOCS="AUTHORS ChangeLog HACKING NEWS README"
|
||
|
gnome2_src_configure \
|
||
|
$(use_with gtk) \
|
||
|
$(use_enable introspection) \
|
||
|
$(usex debug --enable-debug=yes --enable-debug=default) \
|
||
|
--disable-update-icon-cache \
|
||
|
--disable-update-mime
|
||
|
}
|
||
|
|
||
12 years ago
|
src_test() {
|
||
|
unset DBUS_SESSION_BUS_ADDRESS
|
||
|
Xemake check
|
||
|
}
|