From cd0118a461f66695bcbbbef55cd9620e851a5c68 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Fri, 18 May 2018 00:30:43 +0530 Subject: system/geoclue2: Updated for version 2.4.10. --- system/geoclue2/README.Slackware | 3 +++ system/geoclue2/geoclue2.SlackBuild | 9 +++++---- system/geoclue2/geoclue2.info | 6 +++--- 3 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 system/geoclue2/README.Slackware (limited to 'system/geoclue2') diff --git a/system/geoclue2/README.Slackware b/system/geoclue2/README.Slackware new file mode 100644 index 0000000000..942d49460a --- /dev/null +++ b/system/geoclue2/README.Slackware @@ -0,0 +1,3 @@ +avahi is an optional dependency, used for location sharing (by redshift, for example). + +To disable it, AVAHI=no ./geoclue2.Slackbuild can be used. diff --git a/system/geoclue2/geoclue2.SlackBuild b/system/geoclue2/geoclue2.SlackBuild index 4ee14f42d9..2f0418bd49 100644 --- a/system/geoclue2/geoclue2.SlackBuild +++ b/system/geoclue2/geoclue2.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for geoclue2 -# Copyright 2017 Aaditya Bagga +# Copyright 2017-2018 Aaditya Bagga # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geoclue2 -VERSION=${VERSION:-2.4.7} +VERSION=${VERSION:-2.4.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,8 +70,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# to avoid avahi as a dependency add --disable-nmea-source -# to the configure options +avahi_opts='' +[ "${AVAHI:-yes}" != "yes" ] && avahi_opts="--disable-nmea-source" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -83,6 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + $avahi_opts \ --enable-static=no \ --build=$ARCH-slackware-linux diff --git a/system/geoclue2/geoclue2.info b/system/geoclue2/geoclue2.info index 987772111c..b8ce33f161 100644 --- a/system/geoclue2/geoclue2.info +++ b/system/geoclue2/geoclue2.info @@ -1,8 +1,8 @@ PRGNAM="geoclue2" -VERSION="2.4.7" +VERSION="2.4.10" HOMEPAGE="https://www.freedesktop.org/wiki/Software/GeoClue" -DOWNLOAD="https://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-2.4.7.tar.xz" -MD5SUM="e50086e742740413669ab72d8572db05" +DOWNLOAD="https://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-2.4.10.tar.xz" +MD5SUM="9c3a02f554cbdfd3a4aafea00ef0ad55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="json-glib avahi" -- cgit v1.2.3