1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 VALA_USE_DEPEND="vapigen"
9 DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol"
10 HOMEPAGE="https://wiki.gnome.org/Projects/libgdata"
13 SLOT="0/22" # subslot = libgdata soname version
15 IUSE="+crypt gnome-online-accounts +introspection static-libs test vala"
17 gnome-online-accounts? ( crypt )
18 vala? ( introspection )
21 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
23 # configure checks for gtk:3, but only uses it for demos which are not installed
25 >=dev-libs/glib-2.38.0:2
26 >=dev-libs/json-glib-0.15
27 >=dev-libs/libxml2-2:2
28 >=net-libs/liboauth-0.9.4
29 >=net-libs/libsoup-2.55.90:2.4[introspection?]
30 >=x11-libs/gdk-pixbuf-2.14:2
31 crypt? ( app-crypt/gcr:= )
32 gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
33 introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
36 >=dev-util/gtk-doc-am-1.25
37 >=dev-util/intltool-0.40
39 test? ( >=net-libs/uhttpmock-0.5 )
40 vala? ( $(vala_depend) )
44 use vala && vala_src_prepare
49 gnome2_src_configure \
50 $(use_enable crypt gnome) \
51 $(use_enable gnome-online-accounts goa) \
52 $(use_enable introspection) \
54 $(use_enable static-libs static) \
55 $(use_enable test always-build-tests)
60 export GSETTINGS_BACKEND="memory" #486412
61 dbus-launch emake check