summaryrefslogtreecommitdiffstats
path: root/geoclue/Pkgfile
blob: 8228018862e811f3901776897caaa4558f7b9734 (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
# Description: Service de geoinformation modulaire.
# URL: http://geoclue.freedesktop.org
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: gconf, gtk, gypsy, libgnome-keyring, sqlite3, libproxy, libsoup
# Run on: gconf, gtk, gypsy, libgnome-keyring, sqlite3, libproxy, libsoup

name=geoclue
version=0.12
release=1
source=(http://cgit.freedesktop.org/$name/snapshot/$name-$version.tar.bz2
	geoclue-NMCrash.patch
	geoclue-nm08.patch)

build() {
	cd $name-$version
	patch -p1 < ../geoclue-NMCrash.patch
	patch -p1 < ../geoclue-nm08.patch
	./autogen.sh
	sed "s/-Werror//g" -i configure
	./configure --prefix=/usr \
		--disable-gtk-doc \
		--enable-gtk=yes \
		--enable-networkmanager=yes \
		--enable-gypsy=yes \
		--enable-gpsd=yes \
		--enable-skyhook=yes
	make
	make DESTDIR=$PKG install
}