summaryrefslogtreecommitdiffstats
path: root/kde/cmake/kde-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'kde/cmake/kde-runtime')
-rw-r--r--kde/cmake/kde-runtime27
1 files changed, 0 insertions, 27 deletions
diff --git a/kde/cmake/kde-runtime b/kde/cmake/kde-runtime
deleted file mode 100644
index 5162bf9..0000000
--- a/kde/cmake/kde-runtime
+++ /dev/null
@@ -1,27 +0,0 @@
-# Temporary kludge to allow badly ported app to compile:
-if ! grep -q 'cmake_minimum_required' CMakeLists.txt ; then
- # Prepend a cmake_minimum_required stanza at the top, which enables
- # newer cmake features which the build needs:
- sed -i -e '1icmake_minimum_required(VERSION 2.8.9)\' CMakeLists.txt
-fi
-
-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_SUFFIX=${LIBDIRSUFFIX} \
- -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \
- -DBUILD_khelpcenter=OFF \
- -DBUILD_kglobalaccel=OFF \
- -DBUILD_kuiserver=OFF \
- ..
-