mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 21:07:13 +08:00
26 lines
670 B
Plaintext
26 lines
670 B
Plaintext
# the install prefix
|
|
KFInstallPrefix="/usr"
|
|
# download location
|
|
KFServer="http://download.kde.org/stable/frameworks/5.9"
|
|
KFQtVersion=5.4.1
|
|
KFECMVersion=5.9.0
|
|
|
|
# Frameworks version
|
|
KFVersion="5.9.0"
|
|
# Build type; can be one of Debug,Release and RelWithDebInfo
|
|
KFBuildType="RelWithDebInfo"
|
|
|
|
function cmake_kf5() {
|
|
cmake -DCMAKE_BUILD_TYPE=${KFBuildType} \
|
|
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DSYSCONF_INSTALL_DIR=/etc \
|
|
-DLIBEXEC_INSTALL_DIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
}
|
|
|
|
function getSum() {
|
|
awk "\$2 ~ /${1}-/ {print \$1}" ../frameworks.sums ;
|
|
}
|