frameworks.conf 664 Bytes
Newer Older
Xuetian Weng's avatar
Xuetian Weng committed
1 2 3
# the install prefix
KFInstallPrefix="/usr"
# download location
AlmAck's avatar
AlmAck committed
4 5
KFServer="http://download.kde.org/stable/frameworks/5.29"
KFECMVersion=5.29.0
Xuetian Weng's avatar
Xuetian Weng committed
6 7

# Frameworks version
AlmAck's avatar
AlmAck committed
8
KFVersion="5.29.0"
Xuetian Weng's avatar
Xuetian Weng committed
9 10 11
# Build type; can be one of Debug,Release and RelWithDebInfo
KFBuildType="RelWithDebInfo"

Xuetian Weng's avatar
Xuetian Weng committed
12 13 14
function cmake_kf5() {
  cmake -DCMAKE_BUILD_TYPE=${KFBuildType} \
        -DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
15 16 17
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
Xuetian Weng's avatar
Xuetian Weng committed
18
        -DBUILD_TESTING=OFF \
Xuetian Weng's avatar
Xuetian Weng committed
19 20 21
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
}

Xuetian Weng's avatar
Xuetian Weng committed
22 23 24
function getSum() {
  awk "\$2 ~ /${1}-/ {print \$1}" ../frameworks.sums ;
}