summaryrefslogtreecommitdiffstats
path: root/kde/cmake/sddm-qt5
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/sddm-qt5
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/sddm-qt5')
-rw-r--r--kde/cmake/sddm-qt58
1 files changed, 6 insertions, 2 deletions
diff --git a/kde/cmake/sddm-qt5 b/kde/cmake/sddm-qt5
index fe0b89d..1265dc5 100644
--- a/kde/cmake/sddm-qt5
+++ b/kde/cmake/sddm-qt5
@@ -1,8 +1,13 @@
-# Switch the two booleans USE_QT4 and USE_QT5 to build a Qt4 version instead.
+if [ "$SLACKPAM" == "no" ]; then
+ DO_SLACKPAM="-DENABLE_PAM:BOOL=OFF"
+else
+ DO_SLACKPAM=""
+fi
mkdir -p build
cd build
cmake \
+ $DO_SLACKPAM \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
@@ -13,6 +18,5 @@ cd build
-DUSE_QT4:BOOL=FALSE \
-DUSE_QT5:BOOL=TRUE \
-DENABLE_JOURNALD:BOOL=OFF \
- -DENABLE_PAM:BOOL=OFF \
..