summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Aaditya Bagga2018-05-17 21:00:43 +0200
committer Willy Sudiarto Raharjo2018-05-17 23:11:02 +0200
commitb0c4a417d300a8ddcc3ff791cea8923183b1b610 (patch)
tree0159cd57491da6afc463e6fc0683fd93eed031b5 /system
parent4266801b75d37245cb964ec13a6542275ce65c6c (diff)
downloadold.slackbuilds-b0c4a417d300a8ddcc3ff791cea8923183b1b610.tar.gz
system/geoclue2: Updated for version 2.4.10.
Diffstat (limited to 'system')
-rw-r--r--system/geoclue2/README.Slackware3
-rw-r--r--system/geoclue2/geoclue2.SlackBuild9
-rw-r--r--system/geoclue2/geoclue2.info6
3 files changed, 11 insertions, 7 deletions
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 <aaditya_gnulinux@zoho.com>
+# Copyright 2017-2018 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# 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"