pmaports/temp/libksysguard/APKBUILD
Bart Ribbers 9aa3a65a83
temp/plasma*: fork from Alpine to upgrade to 5.20.90 (MR 1881)
[ci:skip-build] Never succeeds in time
[ci:skip-vercheck] We need our Mauikit to be a rel newer than in Alpine
repos, but the CI doesn't like it

This includes a big rewrite in kwin which should increase the
performance a whole lot, and some awesome other stuff
2021-02-02 14:13:31 +01:00

60 lines
1.4 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libksysguard
pkgver=5.20.90
pkgrel=0
pkgdesc="KDE system monitor library"
# armhf blocked by extra-cmake-modules
# mips, mips64, s390x blocked by kauth
arch="all !armhf !mips !mips64 !s390x"
url="https://kde.org/plasma-desktop/"
license="LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only)"
depends_dev="
kauth-dev
kcompletion-dev
kconfig-dev
kconfigwidgets-dev
kcoreaddons-dev
kglobalaccel-dev
ki18n-dev
kiconthemes-dev
kio-dev
knewstuff-dev
kservice-dev
kwidgetsaddons-dev
kwindowsystem-dev
plasma-framework-dev
qt5-qttools-dev
qt5-qtwebchannel-dev
zlib-dev
"
makedepends="$depends_dev
extra-cmake-modules
"
checkdepends="xvfb-run"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/libksysguard-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
# processtest requires working OpenGL
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "processtest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="17ff0052eaf2176839fc2dd09e3c4bdb580669d5518fdace7a01c40bd980db65af04b30468ab0cf2a1673e2a8222cb5e659bcea816c19b801c176b3c85f72bde libksysguard-5.20.90.tar.xz"