summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"