2016-06-30 22:26:57 +02:00
|
|
|
sed -i.cmakehack -e "s|^cmake_minimum_required|#cmake_minimum_required|" CMakeLists.txt
|
2012-09-26 03:10:42 +02:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake \
|
|
|
|
$KDE_OPT_ARGS \
|
|
|
|
-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} \
|
|
|
|
-DK3B_ENABLE_HAL_SUPPORT:BOOL=OFF \
|
2016-06-30 22:26:57 +02:00
|
|
|
-DK3B_BUILD_LAME_ENCODER_PLUGIN:BOOL=OFF \
|
2012-09-26 03:10:42 +02:00
|
|
|
-DKDE4_ENABLE_HTMLHANDBOOK:BOOL=ON \
|
|
|
|
..
|
|
|
|
|