From 55bb52de959214602121867d55723cf27d7684a7 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 6 Oct 2019 23:36:02 +0200 Subject: Add support for building Plasma5 on a PAM-ified Slackware 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 --- kde/cmake/sddm-qt5 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kde/cmake/sddm-qt5') 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 \ .. -- cgit v1.2.3