diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2018-05-27 15:46:56 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-09 07:15:35 +0700 |
commit | 0827bb34e5a46d600bddd0ce6832d998f4ed3b34 (patch) | |
tree | 81cebb9164be0fd5ffe19873295f1454964fa4f1 /system | |
parent | 827981929f2373664d6f8f240f24c58ec202e274 (diff) | |
download | slackbuilds-0827bb34e5a46d600bddd0ce6832d998f4ed3b34.tar.gz |
system/geoclue2: Made avahi opt-in.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/geoclue2/README | 4 | ||||
-rw-r--r-- | system/geoclue2/geoclue2.SlackBuild | 4 | ||||
-rw-r--r-- | system/geoclue2/geoclue2.info | 2 |
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" |