diff options
author | Eric Hameleers <alien@slackware.com> | 2020-02-13 22:31:04 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-02-13 22:31:04 +0100 |
commit | 670b40d79ec8cfa0662eff5e9df438e618971515 (patch) | |
tree | 7155b7a27fbad88273ecab3a3bfc6971c3ddbb1e /kde/cmake/sddm-qt5 | |
parent | 445ea2ef242e33c9dd5b1accdab53b9cb5ef3189 (diff) | |
download | ktown-670b40d79ec8cfa0662eff5e9df438e618971515.tar.gz ktown-670b40d79ec8cfa0662eff5e9df438e618971515.tar.xz |
Add support for building Plasma5 on a PAM-ified Slackware
The variable SLACKPAM is set to "yes" in kde/kde.options if PAM is found
installed on the system. Otherwise it is set to "no" and this is meant
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,libpwquality
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 '')
-rw-r--r-- | kde/cmake/sddm-qt5 | 8 |
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 \ .. |