summaryrefslogtreecommitdiff
path: root/packages/geoclue/geoclue_git.bb
blob: f614c1b425b2cc4bbd32ebb87c1e793bd748bf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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}"
FILE_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"