diff --git a/srcpkgs/ksystemstats/template b/srcpkgs/ksystemstats/template index 63e5d8b885b..089d84f5d32 100644 --- a/srcpkgs/ksystemstats/template +++ b/srcpkgs/ksystemstats/template @@ -1,15 +1,21 @@ # Template file for 'ksystemstats' pkgname=ksystemstats -version=5.27.11 +version=6.0.4 revision=1 build_style=cmake -hostmakedepends="extra-cmake-modules qt5-qmake gettext - kcoreaddons pkg-config qt5-host-tools" -makedepends="qt5-devel networkmanager-qt5-devel ksolid-devel libnl3-devel - kio-devel kdbusaddons-devel libksysguard-devel libsensors-devel" +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 " -license="GPL-2.0-only OR GPL-3.0-only, LGPL-2.1-only OR LGPL-3-only" +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=378e5fc88899d538bde930a8f20fc22e7d4067ecfd63dfce47a1e7c722825cd5 +checksum=a4a1a20a32ee7b4b03d4f9b4a3c01c45c85bead6dc1321b6836d2e7713b387fa + +do_check() { + cd build + ctest -E "ksystemstatstest" +}