1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/plasma-disks/APKBUILD
2023-03-04 03:47:16 +00:00

57 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-disks
pkgver=5.27.2
pkgrel=0
pkgdesc="Monitors S.M.A.R.T. capable devices for imminent failure"
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
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
samurai
"
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 -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-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="
f0ed46bac31784b959e60bcb809cff26cbb8ae98e75fe68bddeb5f869721125414a652346acef1e12337a7c53f6b75092ff4459ffc5ec2cf2924fbdc71cc8df6 plasma-disks-5.27.2.tar.xz
"