summaryrefslogtreecommitdiffstats
path: root/system/geoclue2
diff options
context:
space:
mode:
author Aaditya Bagga <aaditya_gnulinux@zoho.com>2018-05-18 00:30:43 +0530
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-18 04:11:02 +0700
commitcd0118a461f66695bcbbbef55cd9620e851a5c68 (patch)
tree8276b2e59fee2bedd5677cdb9f093c18b176d136 /system/geoclue2
parente39d049acaa7ffe13bd4155bc42fca72e813ef08 (diff)
downloadslackbuilds-cd0118a461f66695bcbbbef55cd9620e851a5c68.tar.gz
slackbuilds-cd0118a461f66695bcbbbef55cd9620e851a5c68.tar.xz
system/geoclue2: Updated for version 2.4.10.
Diffstat (limited to 'system/geoclue2')
-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"