summaryrefslogtreecommitdiff
path: root/recipes/geoclue/geoclue_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/geoclue/geoclue_git.bb')
-rw-r--r--recipes/geoclue/geoclue_git.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes/geoclue/geoclue_git.bb b/recipes/geoclue/geoclue_git.bb
new file mode 100644
index 0000000000..b4a0cbda3a
--- /dev/null
+++ b/recipes/geoclue/geoclue_git.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "GeoClue is a project that provide all kinds of geography information to an application"
+HOMEPAGE = "http://live.gnome.org/GeoClue"
+
+DEPENDS = "libgpsmgr libgpsbt gtk+ gpsd libxml2 gconf-dbus libsoup dbus-glib"
+
+PV = "0.0+git${SRCDATE}"
+PR = "r1"
+PE = "1"
+
+inherit autotools pkgconfig
+
+SRC_URI = "git://anongit.freedesktop.org/git/geoclue;protocol=git"
+
+S = "${WORKDIR}/git"
+
+
+LDFLAGS_append = " -lgthread-2.0 "
+
+EXTRA_OECONF = " --enable-applet=no \
+ --enable-gpsd \
+ --enable-system-bus"
+
+do_stage() {
+ autotools_stage_all
+}
+
+do_install_append() {
+ mkdir -p ${D}/usr/share/
+ cp -pPr ${D}${STAGING_DATADIR}/* ${D}/usr/share
+ rm -rf ${D}${STAGING_DATADIR}/
+}
+
+PACKAGES =+ "geoclue-applet"
+
+FILES_geoclue-applet += " \
+ ${libdir}/bonobo/servers/* \
+ ${libdir}/gnome-panel/*"
+
+
+FILES_${PN} += " \
+ ${libdir}/gnome-panel/* \
+ ${datadir}/dbus-1"