diff options
Diffstat (limited to 'testing/source/vtown/kde/cmake/kscreenlocker')
-rw-r--r-- | testing/source/vtown/kde/cmake/kscreenlocker | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/cmake/kscreenlocker b/testing/source/vtown/kde/cmake/kscreenlocker new file mode 100644 index 00000000..e505309b --- /dev/null +++ b/testing/source/vtown/kde/cmake/kscreenlocker @@ -0,0 +1,29 @@ +if [ "$SLACKPAM" == "no" ]; then + DO_SLACKPAM="-DHAVE_SHADOW=TRUE -DPAM_REQUIRED=OFF" +else + DO_SLACKPAM="" +fi + +mkdir cmake-build +cd cmake-build + cmake \ + $DO_SLACKPAM \ + $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 \ + -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \ + .. + |