summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-15 05:57:42 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-15 05:57:42 +0000
commitaca1d9477ccb5936a6ede646b8d7cf9fee8072b8 (patch)
treedd81e847946c5f24373e1c516f38b0de6e4f9dbd /sci-geosciences
parentVersion RDEPEND and add util-linux dep with correct version (diff)
downloadgentoo-2-aca1d9477ccb5936a6ede646b8d7cf9fee8072b8.tar.gz
gentoo-2-aca1d9477ccb5936a6ede646b8d7cf9fee8072b8.tar.bz2
gentoo-2-aca1d9477ccb5936a6ede646b8d7cf9fee8072b8.zip
Add glib interface to Yahoo! place finder geocoding service; needed for empathy-3.4.
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/geocode-glib/ChangeLog11
-rw-r--r--sci-geosciences/geocode-glib/geocode-glib-0.99.0.ebuild49
-rw-r--r--sci-geosciences/geocode-glib/metadata.xml9
3 files changed, 69 insertions, 0 deletions
diff --git a/sci-geosciences/geocode-glib/ChangeLog b/sci-geosciences/geocode-glib/ChangeLog
new file mode 100644
index 000000000000..8bbb47f6daa4
--- /dev/null
+++ b/sci-geosciences/geocode-glib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-geosciences/geocode-glib
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/geocode-glib/ChangeLog,v 1.1 2012/05/15 05:57:42 tetromino Exp $
+
+*geocode-glib-0.99.0 (15 May 2012)
+
+ 15 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +geocode-glib-0.99.0.ebuild, +metadata.xml:
+ Add glib interface to Yahoo! place finder geocoding service; needed for
+ empathy-3.4.
+
diff --git a/sci-geosciences/geocode-glib/geocode-glib-0.99.0.ebuild b/sci-geosciences/geocode-glib/geocode-glib-0.99.0.ebuild
new file mode 100644
index 000000000000..fcc81f500ee8
--- /dev/null
+++ b/sci-geosciences/geocode-glib/geocode-glib-0.99.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/geocode-glib/geocode-glib-0.99.0.ebuild,v 1.1 2012/05/15 05:57:42 tetromino Exp $
+
+EAPI="4"
+
+GNOME2_LA_PUNT="yes"
+GNOME_TARBALL_SUFFIX="bz2"
+GCONF_DEBUG="no" # --enable-debug does not do anything useful
+
+inherit gnome2
+
+DESCRIPTION="GLib geocoding library that uses the Yahoo! Place Finder service"
+HOMEPAGE="http://git.gnome.org/browse/geocode-glib"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+introspection test"
+
+RDEPEND="dev-libs/glib:2
+ >=dev-libs/json-glib-0.13.1
+ gnome-base/gvfs[http]
+ net-libs/libsoup:2.4
+ introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ sys-devel/gettext
+ virtual/pkgconfig
+ test? ( sys-apps/dbus )
+"
+# eautoreconf requires:
+# dev-libs/gobject-introspection-common
+# gnome-base/gnome-common
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Crazy flags
+ sed -e 's:-Wall ::' -i configure || die
+}
+
+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"
+}
diff --git a/sci-geosciences/geocode-glib/metadata.xml b/sci-geosciences/geocode-glib/metadata.xml
new file mode 100644
index 000000000000..0b6b5da045eb
--- /dev/null
+++ b/sci-geosciences/geocode-glib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+<use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+</use>
+</pkgmetadata>