summaryrefslogtreecommitdiffstats
path: root/deps/accountsservice
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-06-08 21:30:18 +0200
committer Eric Hameleers <alien@slackware.com>2020-06-08 21:30:18 +0200
commite41c0c99c8d498cc2f3761eb35d4f5389a6d1798 (patch)
tree3b0294e2874f1a34943eeb9a19682313ba43e6c2 /deps/accountsservice
parentf6a28c20081bd24619074c99ddfeb1932b09df2f (diff)
downloadktown-e41c0c99c8d498cc2f3761eb35d4f5389a6d1798.tar.gz
ktown-e41c0c99c8d498cc2f3761eb35d4f5389a6d1798.tar.xz
Proposed changes for a migration from ConsoleKit2 to elogind
Using elogind will enable a fully working Wayland session for KDE Plasma5.
Diffstat (limited to 'deps/accountsservice')
-rwxr-xr-xdeps/accountsservice/accountsservice.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/deps/accountsservice/accountsservice.SlackBuild b/deps/accountsservice/accountsservice.SlackBuild
index e5d65ca..8ad729a 100755
--- a/deps/accountsservice/accountsservice.SlackBuild
+++ b/deps/accountsservice/accountsservice.SlackBuild
@@ -26,7 +26,7 @@
PKGNAM=accountsservice
VERSION=${VERSION:-0.6.55}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
CWD=$(pwd)
TMP=${TMP:-/tmp}
@@ -80,6 +80,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Choose correct options depending on whether elogind is installed:
+if [ -L /lib${LIBDIRSUFFIX}/libelogind.so.? ]; then
+ DO_ELOGIND=true
+else
+ DO_ELOGIND=false
+fi
+
export LDFLAGS="$SLKLDFLAGS"
export CXXFLAGS="$SLKCFLAGS"
export CFLAGS="$SLKCFLAGS"
@@ -89,9 +96,10 @@ meson build \
--mandir=/usr/man \
--localstatedir=/var \
--sysconfdir=/etc \
- -D admin-group=wheel \
+ -D admin_group=wheel \
-D docbook=false \
- -D gtk-doc=true \
+ -D gtk_doc=true \
+ -D elogind=${DO_ELOGIND} \
-D systemd=false \
-D systemdsystemunitdir=no \
-D user_heuristics=false \