summaryrefslogtreecommitdiff
path: root/system/geoclue2
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-05-27 15:46:56 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-06-09 07:15:35 +0700
commit0827bb34e5a46d600bddd0ce6832d998f4ed3b34 (patch)
tree81cebb9164be0fd5ffe19873295f1454964fa4f1 /system/geoclue2
parent827981929f2373664d6f8f240f24c58ec202e274 (diff)
downloadslackbuilds-0827bb34e5a46d600bddd0ce6832d998f4ed3b34.tar.gz
system/geoclue2: Made avahi opt-in.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/geoclue2')
-rw-r--r--system/geoclue2/README4
-rw-r--r--system/geoclue2/geoclue2.SlackBuild4
-rw-r--r--system/geoclue2/geoclue2.info2
3 files changed, 5 insertions, 5 deletions
diff --git a/system/geoclue2/README b/system/geoclue2/README
index f44876b2cd..64c739f895 100644
--- a/system/geoclue2/README
+++ b/system/geoclue2/README
@@ -9,6 +9,6 @@ geoclue2 is a rewrite of the original geoclue. You can safely install
both geoclue and geoclue2 at the same time.
avahi is an optional dependency, used for location sharing (by redshift,
-for example). To disable it, use the option AVAHI=no
+for example). To enable it, use the option AVAHI=yes
- AVAHI=no ./geoclue2.Slackbuild
+ AVAHI=yes ./geoclue2.Slackbuild
diff --git a/system/geoclue2/geoclue2.SlackBuild b/system/geoclue2/geoclue2.SlackBuild
index e57d409a5b..9c07653702 100644
--- a/system/geoclue2/geoclue2.SlackBuild
+++ b/system/geoclue2/geoclue2.SlackBuild
@@ -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 {} \;
-avahi_opts=''
-[ "${AVAHI:-yes}" != "yes" ] && avahi_opts="--disable-nmea-source"
+avahi_opts='--disable-nmea-source'
+[ "${AVAHI:-no}" != "no" ] && avahi_opts=''
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/system/geoclue2/geoclue2.info b/system/geoclue2/geoclue2.info
index 987772111c..531d456371 100644
--- a/system/geoclue2/geoclue2.info
+++ b/system/geoclue2/geoclue2.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-2.4.
MD5SUM="e50086e742740413669ab72d8572db05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib avahi"
+REQUIRES="json-glib"
MAINTAINER="Aaditya Bagga"
EMAIL="aaditya_gnulinux@zoho.com"