summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/geocode-glib')
-rw-r--r--sci-geosciences/geocode-glib/Manifest1
-rw-r--r--sci-geosciences/geocode-glib/geocode-glib-3.20.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-geosciences/geocode-glib/Manifest b/sci-geosciences/geocode-glib/Manifest
index 9fb90ce91f9a..013c929fa052 100644
--- a/sci-geosciences/geocode-glib/Manifest
+++ b/sci-geosciences/geocode-glib/Manifest
@@ -1 +1,2 @@
DIST geocode-glib-3.18.2.tar.xz 369516 SHA256 95b11ef2697ac5dbb2f397e7117e08e157b2168624c71507656928095012494e SHA512 3ad874d9ae2c5d172dc5a2be06ae2c78293c33f5845b1d4b4eacec789beb87cc6278cde1ab6bd098a36ce6e2596a312333f0e6cfab00b5977416ad14578ff7eb WHIRLPOOL eb65633fcd7ad2d36365fe8e869e2f0057905cf58dc297e195635d334e0afcf63406553aa736381efd6ea16389a9c3ee51335cbefdf21f50f2b901c9c4c4f881
+DIST geocode-glib-3.20.1.tar.xz 371200 SHA256 669fc832cabf8cc2f0fc4194a8fa464cdb9c03ebf9aca5353d7cf935ba8637a2 SHA512 0016b04928d3d7e9e3339bf1457d5ba7951af7af53b72a185f9cb3e92e9d1b1deb7ca11f95de1bcb0a3521a5b200ce3c25bb35eaf8bf15b81672846ec01b718f WHIRLPOOL 5aab167244191ac29489fee4f7b68cd7c41a820d4ad127fd6412f8adbf00b7dfba03a1d372ac064054429d9442d5178314597b93ada19c0c1e66bd6f4781736b
diff --git a/sci-geosciences/geocode-glib/geocode-glib-3.20.1.ebuild b/sci-geosciences/geocode-glib/geocode-glib-3.20.1.ebuild
new file mode 100644
index 000000000000..237cf7334713
--- /dev/null
+++ b/sci-geosciences/geocode-glib/geocode-glib-3.20.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="GLib geocoding library that uses the Yahoo! Place Finder service"
+HOMEPAGE="https://git.gnome.org/browse/geocode-glib"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+introspection test"
+
+RDEPEND="
+ >=dev-libs/glib-2.34:2
+ >=dev-libs/json-glib-0.99.2[introspection?]
+ gnome-base/gvfs[http]
+ >=net-libs/libsoup-2.42:2.4[introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-0.6.3:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.13
+ >=sys-devel/gettext-0.18
+ virtual/pkgconfig
+ test? ( sys-apps/dbus )
+"
+# eautoreconf requires:
+# dev-libs/gobject-introspection-common
+# gnome-base/gnome-common
+
+# FIXME: need network #424719, recheck
+# need various locales to be present
+RESTRICT="test"
+
+src_configure() {
+ gnome2_src_configure $(use_enable introspection)
+}
+
+src_test() {
+ export GVFS_DISABLE_FUSE=1
+ export GIO_USE_VFS=gvfs
+ ewarn "Tests require network access to http://where.yahooapis.com"
+ dbus-launch emake check || die "tests failed"
+}