Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgdata/
Date: Sat, 02 Sep 2017 23:33:53
Message-Id: 1504395194.b313daf54734e23122aaaf6c255df4029f603558.eva@gentoo
1 commit: b313daf54734e23122aaaf6c255df4029f603558
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 2 22:47:28 2017 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 23:33:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b313daf5
7
8 dev-libs/libgdata: fix build dependency issue on gnome-online-accounts, bug #614600
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 dev-libs/libgdata/libgdata-0.17.9-r1.ebuild | 66 +++++++++++++++++++++++++++++
13 1 file changed, 66 insertions(+)
14
15 diff --git a/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild b/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild
16 new file mode 100644
17 index 00000000000..11e9b54b1f4
18 --- /dev/null
19 +++ b/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild
20 @@ -0,0 +1,66 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +VALA_USE_DEPEND="vapigen"
26 +GNOME2_EAUTORECONF="yes"
27 +
28 +inherit gnome2 vala
29 +
30 +DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol"
31 +HOMEPAGE="https://wiki.gnome.org/Projects/libgdata"
32 +
33 +LICENSE="LGPL-2.1+"
34 +SLOT="0/22" # subslot = libgdata soname version
35 +
36 +IUSE="+crypt gnome-online-accounts +introspection static-libs test vala"
37 +REQUIRED_USE="
38 + gnome-online-accounts? ( crypt )
39 + vala? ( introspection )
40 +"
41 +
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
43 +
44 +RDEPEND="
45 + >=dev-libs/glib-2.44.0:2
46 + >=dev-libs/json-glib-0.15
47 + >=dev-libs/libxml2-2:2
48 + >=net-libs/liboauth-0.9.4
49 + >=net-libs/libsoup-2.55.90:2.4[introspection?]
50 + >=x11-libs/gdk-pixbuf-2.14:2
51 + crypt? ( app-crypt/gcr:= )
52 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:=[introspection?,vala?] )
53 + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
54 +"
55 +DEPEND="${RDEPEND}
56 + >=dev-util/gtk-doc-am-1.25
57 + >=dev-util/intltool-0.40
58 + virtual/pkgconfig
59 + test? ( >=net-libs/uhttpmock-0.5 )
60 + vala? ( $(vala_depend) )
61 +"
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${PN}-0.17.8-disable-demos.patch
65 +)
66 +
67 +src_prepare() {
68 + use vala && vala_src_prepare
69 + gnome2_src_prepare
70 +}
71 +
72 +src_configure() {
73 + gnome2_src_configure \
74 + --disable-build-demos \
75 + $(use_enable crypt gnome) \
76 + $(use_enable gnome-online-accounts goa) \
77 + $(use_enable introspection) \
78 + $(use_enable vala) \
79 + $(use_enable static-libs static) \
80 + $(use_enable test always-build-tests)
81 +}
82 +
83 +src_test() {
84 + unset ORBIT_SOCKETDIR
85 + dbus-run-session emake check
86 +}