diff options
Diffstat (limited to 'community/plasma-systemmonitor/APKBUILD')
-rw-r--r-- | community/plasma-systemmonitor/APKBUILD | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/community/plasma-systemmonitor/APKBUILD b/community/plasma-systemmonitor/APKBUILD index 1b0afa09ab7..aa2a7c6fbde 100644 --- a/community/plasma-systemmonitor/APKBUILD +++ b/community/plasma-systemmonitor/APKBUILD @@ -1,15 +1,20 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-plasma pkgname=plasma-systemmonitor -pkgver=5.22.3 +pkgver=6.0.3 pkgrel=0 pkgdesc="An application for monitoring system resources" # armhf blocked by extra-cmake-modules -# s390x, mips64 and riscv64 blocked by polkit -> kio -arch="all !armhf !s390x !mips64 !riscv64" +arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND CC0-1.0" -depends="kirigami2" +depends=" + kirigami + ksystemstats + " makedepends=" extra-cmake-modules kconfig-dev @@ -18,38 +23,41 @@ makedepends=" kglobalaccel-dev ki18n-dev kio-dev + kirigami-addons-dev kitemmodels-dev knewstuff-dev kservice-dev libksysguard-dev - qt5-qtbase-dev - qt5-qtdeclarative-dev + qt6-qtbase-dev + qt6-qtdeclarative-dev + samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac -source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-systemmonitor-$pkgver.tar.xz" subpackages="$pkgname-lang" +_repo_url="https://invent.kde.org/plasma/plasma-systemmonitor.git" +source="https://download.kde.org/stable/plasma/$pkgver/plasma-systemmonitor-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { - cd build # ksystemstatstest is broken - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "ksystemstatstest" + ctest --test-dir build --output-on-failure -E "ksystemstatstest" } package() { DESTDIR="$pkgdir" cmake --install build } + sha512sums=" -71e815356ddeeb5ce4ef90c0e3a7b343446005b96e42b4b256095bfcf861d354764d9d1b2a0b6f4f09c484852116bf70607ce9bbc0b1fcbc5e608daa39bc181a plasma-systemmonitor-5.22.3.tar.xz +3e4b7f8178c7c774eae0fe9daff7f1fe346a242af32e245676d36ab4bb46d557d5806d3255beeda8e4c7ba60dd697ec43188fac82903a65cd2ca2de75baa4c48 plasma-systemmonitor-6.0.3.tar.xz " |