summaryrefslogtreecommitdiffstats
path: root/kde/cmake/kscreenlocker
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-10-06 23:36:02 +0200
committer Eric Hameleers <alien@slackware.com>2019-10-06 23:36:02 +0200
commit55bb52de959214602121867d55723cf27d7684a7 (patch)
tree62a82ef1ea1b67e72068d2e96583fe25594fbff4 /kde/cmake/kscreenlocker
parent57ec3da3a54f8380517de0b37f42be75ef04a307 (diff)
downloadktown-55bb52de959214602121867d55723cf27d7684a7.tar.gz
ktown-55bb52de959214602121867d55723cf27d7684a7.tar.xz
Add support for building Plasma5 on a PAM-ified Slackwarepam
Set the variable SLACKPAM to "yes" in kde/kde.options if you want to add support for PAM. These packages will be supplied by a pam-ified Slackware, so they should not be installed from 'ktown': deps:ConsoleKit2,cracklib These packages will react to SLACKPAM variable setting: plasma:kscreenlocker,plasma-workspace plasma-extra:sddm-qt5 Uncomment in kde/modules/plasma and compile: plasma:kwallet-pam
Diffstat (limited to 'kde/cmake/kscreenlocker')
-rw-r--r--kde/cmake/kscreenlocker10
1 files changed, 7 insertions, 3 deletions
diff --git a/kde/cmake/kscreenlocker b/kde/cmake/kscreenlocker
index 943d246..7141030 100644
--- a/kde/cmake/kscreenlocker
+++ b/kde/cmake/kscreenlocker
@@ -1,6 +1,13 @@
+if [ "$SLACKPAM" == "no" ]; then
+ DO_SLACKPAM="-DHAVE_SHADOW=TRUE -DPAM_REQUIRED=OFF"
+else
+ DO_SLACKPAM=""
+fi
+
mkdir build
cd build
cmake \
+ $DO_SLACKPAM \
$KDE_OPT_ARGS \
-DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
@@ -17,9 +24,6 @@ cd build
-DQT_PLUGIN_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/plugins \
-DQML_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/qml \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- -DBUILD_TESTING=OFF \
- -DHAVE_SHADOW=TRUE \
- -DPAM_REQUIRED=OFF \
-DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \
..