mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
31 lines
983 B
Plaintext
31 lines
983 B
Plaintext
# the install prefix
|
|
PInstallPrefix="/usr"
|
|
# download location
|
|
PServer="http://download.kde.org/stable/plasma/"
|
|
#PServer="http://download.kde.org/unstable/plasma/"
|
|
# Frameworks version
|
|
PVersion="5.11.3"
|
|
PSubVersion="5.11.3"
|
|
|
|
# Build type; can be one of Debug,Release and RelWithDebInfo
|
|
PBuildType="RelWithDebInfo"
|
|
|
|
Pvalidpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
|
|
'348C8651206633FD983A8FC4DEACEA00075E1D76' # KDE Neon
|
|
'D07BD8662C56CB291B316EB2F5675605C74E02CF') # David Edmundson
|
|
|
|
function cmake_kf5() {
|
|
cmake -DCMAKE_BUILD_TYPE=${PBuildType} \
|
|
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
-DKDE_INSTALL_LIBEXECDIR=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 ;
|
|
}
|