From 7bb3394d69422f234ffc5544930dd1d90917d50f Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 19 Mar 2017 21:30:01 +0100 Subject: kscreenlocker: Slackware does not use PAM. Actually, adding "-DPAM_REQUIRED=OFF" is not required at this moment, as the current default is "no PAM". But the developer is going to require PAM by default in future releases, and added the above cmake parameter specifically for Slackware (and other non-PAM distros). --- kde/cmake/kscreenlocker | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) mode change 120000 => 100644 kde/cmake/kscreenlocker diff --git a/kde/cmake/kscreenlocker b/kde/cmake/kscreenlocker deleted file mode 120000 index eff359e..0000000 --- a/kde/cmake/kscreenlocker +++ /dev/null @@ -1 +0,0 @@ -plasma \ No newline at end of file diff --git a/kde/cmake/kscreenlocker b/kde/cmake/kscreenlocker new file mode 100644 index 0000000..943d246 --- /dev/null +++ b/kde/cmake/kscreenlocker @@ -0,0 +1,25 @@ +mkdir build +cd build + cmake \ + $KDE_OPT_ARGS \ + -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc/kde \ + -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DLIBEXEC_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -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 \ + .. + -- cgit v1.2.3