blob: c8979fc45c7b6141de8be7319133575f9b92c2ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
if [ "$SLACKPAM" == "no" ]; then
DO_SLACKPAM="-DENABLE_PAM:BOOL=OFF"
else
DO_SLACKPAM="-DENABLE_PAM:BOOL=ON"
fi
if [ "$SLKELOGIND" == "no" ]; then
DO_SLKELOGIND=""
else
DO_SLKELOGIND=" \
-DNO_SYSTEMD:BOOL=TRUE \
-DUSE_ELOGIND:BOOL=TRUE \
"
fi
mkdir -p cmake-build
cd cmake-build
cmake \
$DO_SLACKPAM \
$DO_SLKELOGIND \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_FULL_MANDIR=/usr/man \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DBUILD_MAN_PAGES:BOOL=TRUE \
-DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" \
-DUSE_QT4:BOOL=FALSE \
-DUSE_QT5:BOOL=TRUE \
-DENABLE_JOURNALD:BOOL=FALSE \
..
|