1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
7 VALA_MIN_API_VERSION=0.18
8 VALA_USE_DEPEND=vapigen
10 inherit gnome2 python-any-r1 vala virtualx
12 DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
13 HOMEPAGE="https://live.gnome.org/Libsecret"
15 LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
17 IUSE="+crypt debug +introspection test vala"
18 REQUIRED_USE="vala? ( introspection )"
19 KEYWORDS="alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
22 >=dev-libs/glib-2.38:2
23 crypt? ( >=dev-libs/libgcrypt-1.2.2:0= )
24 introspection? ( >=dev-libs/gobject-introspection-1.29 )
26 PDEPEND=">=gnome-base/gnome-keyring-3
28 # PDEPEND to avoid circular dep (bug #547456)
29 # Add ksecrets to PDEPEND when it's added to portage
32 dev-util/gdbus-codegen
33 >=dev-util/gtk-doc-am-1.9
34 >=dev-util/intltool-0.35.0
42 dev-python/pygobject:3 )
44 vala? ( $(vala_depend) )
48 use vala && vala_src_prepare
53 DOCS="AUTHORS ChangeLog NEWS README"
54 gnome2_src_configure \
59 $(use_enable crypt gcrypt) \
60 $(use_enable introspection) \