geoclue2: update to 2.4.6, add gir support (fixes gnome-maps)

This commit is contained in:
Enno Boland 2017-04-03 15:15:46 +02:00
parent 49d31d29c0
commit d04e345589
1 changed files with 8 additions and 3 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'geoclue2'
pkgname=geoclue2
version=2.4.5
version=2.4.6
revision=1
lib32disabled=yes
wrksrc="geoclue-${version}"
build_style=gnu-configure
configure_args="--disable-static --with-dbus-service-user=geoclue2"
hostmakedepends="pkg-config intltool glib-devel"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
makedepends="eudev-libudev-devel json-glib-devel libsoup-gnome-devel ModemManager-devel
avahi-glib-libs-devel"
depends="libsoup>=2.44"
@ -18,7 +18,12 @@ homepage="http://www.freedesktop.org/wiki/Software/GeoClue"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://www.freedesktop.org/software/geoclue/releases/${version%.*}/geoclue-${version}.tar.xz"
checksum=78162d33a2d42477ec241db7fc082439b0e0f9a791eb3a41e5a2aa1eae9145a1
checksum=c57df7455c9b4b2f43b0f5d9be14d52f5ff9897236df768f6ca9044b79b6d3b6
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
geoclue2-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"