pmaports/temp/plasma-disks/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

54 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-disks
pkgver=5.20.90
pkgrel=0
pkgdesc="Monitors S.M.A.R.T. capable devices for imminent failure"
# armhf blocked by qt5-qtdeclarative
# s390x blocked by solid, kio, kauth and kdeclarative
arch="all !armhf !s390x !mips64"
url="https://kde.org/plasma-desktop/"
license="GPL-2.0-or-later"
depends="
kirigami2
smartmontools
"
makedepends="
extra-cmake-modules
qt5-qtbase-dev
kcoreaddons-dev
kdbusaddons-dev
knotifications-dev
ki18n-dev
solid-dev
kservice-dev
kio-dev
kauth-dev
kdeclarative-dev
"
checkdepends="xvfb-run"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-disks-$pkgver.tar.xz"
subpackages="$pkgname-lang"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="5476d3d3565cf26331b0e22c5985c0bb9e940aba2cb4f98d5ee376f50b180c62ca71e268606cb875ac4217d26b1b0f77abbebf1ee09e3a7264536130fa81b9c0 plasma-disks-5.20.90.tar.xz"