mirror of
git://slackware.nl/current.git
synced 2025-01-11 08:01:05 +01:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
|
# https://bugs.kde.org/show_bug.cgi?id=377597 :
|
||
|
# Don't try to compile documentation translations for the moment.
|
||
|
# Only the English handbook compiles fine.
|
||
|
# Use cmake option "-DDIGIKAMSC_COMPILE_DOC=OFF"
|
||
|
|
||
|
mkdir cmake-build
|
||
|
cd cmake-build
|
||
|
cmake \
|
||
|
$KDE_OPT_ARGS \
|
||
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
|
||
|
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -std=c++11" \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DMAN_INSTALL_DIR=/usr/man \
|
||
|
-DSYSCONF_INSTALL_DIR=/etc/kde \
|
||
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
||
|
-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 \
|
||
|
-DBUILD_TESTING=OFF \
|
||
|
-DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \
|
||
|
-DENABLE_AKONADICONTACTSUPPORT=ON \
|
||
|
-DENABLE_APPSTYLES=ON \
|
||
|
-DENABLE_KFILEMETADATASUPPORT=ON \
|
||
|
-DENABLE_MEDIAPLAYER=ON \
|
||
|
-DENABLE_MYSQLSUPPORT=ON \
|
||
|
-DENABLE_OPENCV3=ON \
|
||
|
-DENABLE_QWEBENGINE=ON \
|
||
|
-DOpenGL_GL_PREFERENCE=GLVND \
|
||
|
..
|
||
|
|