mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
29 lines
778 B
Plaintext
29 lines
778 B
Plaintext
# the install prefix
|
|
PInstallPrefix="/usr"
|
|
# download location
|
|
PServer="http://download.kde.org/stable/plasma/"
|
|
# Frameworks version
|
|
PVersion="5.3.0"
|
|
PSubVersion="5.3.0"
|
|
# why some package use framework version?
|
|
PAltSubVersion="5.9.0"
|
|
PQtVersion="5.4.1"
|
|
|
|
# Build type; can be one of Debug,Release and RelWithDebInfo
|
|
PBuildType="RelWithDebInfo"
|
|
|
|
function cmake_kf5() {
|
|
cmake -DCMAKE_BUILD_TYPE=${PBuildType} \
|
|
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DSYSCONF_INSTALL_DIR=/etc \
|
|
-DLIBEXEC_INSTALL_DIR=lib \
|
|
-DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
}
|
|
|
|
function getSum() {
|
|
awk "\$2 ~ /^${1}-/ {print \$1}" ../plasma.sums ;
|
|
}
|