mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
56 lines
1.2 KiB
Text
56 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-disks
|
|
pkgver=5.22.4
|
|
pkgrel=0
|
|
pkgdesc="Monitors S.M.A.R.T. capable devices for imminent failure"
|
|
# armhf blocked by qt5-qtdeclarative
|
|
# s390x, mips64 and riscv64 blocked by polkit -> kio
|
|
arch="all !armhf !s390x !mips64 !riscv64"
|
|
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="
|
|
cf54be894a61fbbdcbc32010475e0542dae4da59b43a5f9b2ae9e8a8e511b7a64fd1475dc4c90f33b9918f864e34549b91f210cadbf50681e36b9a6919d8711b plasma-disks-5.22.4.tar.xz
|
|
"
|