2014-06-22 18:56:52 +08:00
|
|
|
# the install prefix
|
|
|
|
PInstallPrefix="/usr"
|
|
|
|
# download location
|
2015-02-24 04:47:38 +08:00
|
|
|
PServer="http://download.kde.org/stable/plasma/"
|
2014-06-22 18:56:52 +08:00
|
|
|
# Frameworks version
|
2015-03-23 20:07:52 +08:00
|
|
|
PVersion="5.2.2"
|
|
|
|
PSubVersion="5.2.2"
|
2015-01-15 05:23:15 +08:00
|
|
|
# why some package use framework version?
|
2015-03-23 20:07:52 +08:00
|
|
|
PAltSubVersion="5.6.2"
|
2015-01-15 05:23:15 +08:00
|
|
|
PQtVersion="5.4.0"
|
2014-10-23 03:29:25 +08:00
|
|
|
|
2014-06-22 18:56:52 +08:00
|
|
|
# Build type; can be one of Debug,Release and RelWithDebInfo
|
2014-12-01 13:27:04 +08:00
|
|
|
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 \
|
2015-02-24 04:47:38 +08:00
|
|
|
-DBUILD_TESTING=OFF \
|
2014-12-01 13:27:04 +08:00
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
|
|
}
|
2014-06-22 18:56:52 +08:00
|
|
|
|
|
|
|
function getSum() {
|
2015-01-15 05:23:15 +08:00
|
|
|
awk "\$2 ~ /^${1}-/ {print \$1}" ../plasma.sums ;
|
2014-06-22 18:56:52 +08:00
|
|
|
}
|