# Template file for 'ksystemstats'
pkgname=ksystemstats
version=6.0.4
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext pkg-config"
makedepends="kf6-networkmanager-qt-devel kf6-solid-devel libnl3-devel
 kf6-kio-devel kf6-kdbusaddons-devel libksysguard-devel libsensors-devel"
short_desc="Plugin based system monitoring daemon"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-only,LGPL-3.0-only"
homepage="https://invent.kde.org/plasma/ksystemstats"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=a4a1a20a32ee7b4b03d4f9b4a3c01c45c85bead6dc1321b6836d2e7713b387fa

do_check() {
	cd build
	ctest -E "ksystemstatstest"
}
