summaryrefslogtreecommitdiff
path: root/packages/geoclue/geoclue_git.bb
blob: 515cfdab1c35c2d3ef2da8a956457186ff7ec585 (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
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 = "r0"
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 "

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"