commit:     302644a8cc563d108de86ca849e00c1541dee2d5
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 05:03:01 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 05:03:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302644a8

Revert "dev-libs/libgdata: drop old revisions"

This reverts commit d2ad299798b58873b9f72ab57c4e15e9a226131c.

 dev-libs/libgdata/libgdata-0.17.8.ebuild | 64 +++++++++++++++++++++++++++++++
 dev-libs/libgdata/libgdata-0.17.9.ebuild | 66 ++++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+)

diff --git a/dev-libs/libgdata/libgdata-0.17.8.ebuild 
b/dev-libs/libgdata/libgdata-0.17.8.ebuild
new file mode 100644
index 00000000000..7c6ac6bb7a9
--- /dev/null
+++ b/dev-libs/libgdata/libgdata-0.17.8.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 vala
+
+DESCRIPTION="GLib-based library for accessing online service APIs using the 
GData protocol"
+HOMEPAGE="https://wiki.gnome.org/Projects/libgdata";
+
+LICENSE="LGPL-2.1+"
+SLOT="0/22" # subslot = libgdata soname version
+
+IUSE="+crypt gnome-online-accounts +introspection static-libs test vala"
+REQUIRED_USE="
+       gnome-online-accounts? ( crypt )
+       vala? ( introspection )
+"
+
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+
+RDEPEND="
+       >=dev-libs/glib-2.38.0:2
+       >=dev-libs/json-glib-0.15
+       >=dev-libs/libxml2-2:2
+       >=net-libs/liboauth-0.9.4
+       >=net-libs/libsoup-2.55.90:2.4[introspection?]
+       >=x11-libs/gdk-pixbuf-2.14:2
+       crypt? ( app-crypt/gcr:= )
+       gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
+       introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
+"
+DEPEND="${RDEPEND}
+       >=dev-util/gtk-doc-am-1.25
+       >=dev-util/intltool-0.40
+       virtual/pkgconfig
+       test? ( >=net-libs/uhttpmock-0.5 )
+       vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+       use vala && vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # configure checks for gtk:3, but only uses it for demos which are not 
installed
+       gnome2_src_configure \
+               $(use_enable crypt gnome) \
+               $(use_enable gnome-online-accounts goa) \
+               $(use_enable introspection) \
+               $(use_enable vala) \
+               $(use_enable static-libs static) \
+               $(use_enable test always-build-tests) \
+               GTK_CFLAGS= \
+               GTK_LIBS=
+}
+
+src_test() {
+       unset ORBIT_SOCKETDIR
+       export GSETTINGS_BACKEND="memory" #486412
+       dbus-launch emake check
+}

diff --git a/dev-libs/libgdata/libgdata-0.17.9.ebuild 
b/dev-libs/libgdata/libgdata-0.17.9.ebuild
new file mode 100644
index 00000000000..03f11210125
--- /dev/null
+++ b/dev-libs/libgdata/libgdata-0.17.9.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2 vala
+
+DESCRIPTION="GLib-based library for accessing online service APIs using the 
GData protocol"
+HOMEPAGE="https://wiki.gnome.org/Projects/libgdata";
+
+LICENSE="LGPL-2.1+"
+SLOT="0/22" # subslot = libgdata soname version
+
+IUSE="+crypt gnome-online-accounts +introspection static-libs test vala"
+REQUIRED_USE="
+       gnome-online-accounts? ( crypt )
+       vala? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-libs/glib-2.44.0:2
+       >=dev-libs/json-glib-0.15
+       >=dev-libs/libxml2-2:2
+       >=net-libs/liboauth-0.9.4
+       >=net-libs/libsoup-2.55.90:2.4[introspection?]
+       >=x11-libs/gdk-pixbuf-2.14:2
+       crypt? ( app-crypt/gcr:= )
+       gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
+       introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
+"
+DEPEND="${RDEPEND}
+       >=dev-util/gtk-doc-am-1.25
+       >=dev-util/intltool-0.40
+       virtual/pkgconfig
+       test? ( >=net-libs/uhttpmock-0.5 )
+       vala? ( $(vala_depend) )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.17.8-disable-demos.patch
+)
+
+src_prepare() {
+       use vala && vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       gnome2_src_configure \
+               --disable-build-demos \
+               $(use_enable crypt gnome) \
+               $(use_enable gnome-online-accounts goa) \
+               $(use_enable introspection) \
+               $(use_enable vala) \
+               $(use_enable static-libs static) \
+               $(use_enable test always-build-tests)
+}
+
+src_test() {
+       unset ORBIT_SOCKETDIR
+       dbus-run-session emake check
+}

Reply via email to