summaryrefslogtreecommitdiffstats
path: root/kde/cmake/breeze
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-09-02 09:49:32 +0200
committer Eric Hameleers <alien@slackware.com>2015-09-02 09:49:32 +0200
commit434e6e6d65bdcdf2bbb05fe6c65462949a0619d7 (patch)
tree1ee0a43e480bbca3951eb19c77978b010ca9c8e7 /kde/cmake/breeze
parent4cb7b16f28d1831c501c053f7b8deea88308aa7f (diff)
downloadktown-434e6e6d65bdcdf2bbb05fe6c65462949a0619d7.tar.gz
ktown-434e6e6d65bdcdf2bbb05fe6c65462949a0619d7.tar.xz
Updated/added cmake scripts, mainly for new KF5 ports of Applications
Diffstat (limited to 'kde/cmake/breeze')
-rw-r--r--[l---------]kde/cmake/breeze35
1 files changed, 34 insertions, 1 deletions
diff --git a/kde/cmake/breeze b/kde/cmake/breeze
index eff359e..c5ab268 120000..100644
--- a/kde/cmake/breeze
+++ b/kde/cmake/breeze
@@ -1 +1,34 @@
-plasma \ No newline at end of file
+function configure_breeze()
+{
+ cmake \
+ $* \
+ -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} \
+ -DBUILD_TESTING=OFF \
+ ..
+}
+
+# First configure the Qt5 support:
+mkdir build_qt5
+cd build_qt5
+configure_breeze \
+ -DLIB_INSTALL_DIR=lib$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
+cd -
+
+# Next, the Qt4 integration:
+mkdir build_qt4
+cd build_qt4
+configure_breeze \
+ -DUSE_KDE4=ON
+