plasma-systemmonitor: provides ksysguard now

This commit is contained in:
Đoàn Trần Công Danh 2024-05-13 07:24:35 +07:00
parent d57df3e479
commit 416ec861c4
3 changed files with 7 additions and 31 deletions

View file

@ -1,13 +0,0 @@
--- a/ksysguardd/Linux/netstat.c 2016-12-20 14:11:50.955834485 +0400
+++ b/ksysguardd/Linux/netstat.c 2016-12-20 14:12:42.736385772 +0400
@@ -32,6 +32,10 @@
#include "ccont.h"
#include "netstat.h"
+#if !defined(__GLIBC__)
+typedef unsigned int uint;
+#endif
+
static CONTAINER TcpSocketList = 0;
static CONTAINER UdpSocketList = 0;
static CONTAINER UnixSocketList = 0;

View file

@ -1,17 +0,0 @@
# Template file for 'ksysguard'
pkgname=ksysguard
version=5.22.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools
pkg-config gettext kcoreaddons"
makedepends="knewstuff-devel libksysguard-devel kinit-devel libsensors-devel
libnl3-devel libpcap-devel"
depends="hicolor-icon-theme lm_sensors"
short_desc="KDE program to monitor various elements of your system"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, GFDL-1.2-only"
homepage="https://invent.kde.org/plasma/ksysguard"
distfiles="${KDE_SITE}/ksysguard/${version}/${pkgname}-${version}.tar.xz"
checksum=0f9c624e5fbb2aee906d8d9563c5a7eb09eaf38bc8e4382c072f9e6d8854622d

View file

@ -1,7 +1,7 @@
# Template file for 'plasma-systemmonitor'
pkgname=plasma-systemmonitor
version=6.0.4
revision=1
revision=2
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
@ -18,3 +18,9 @@ license="GPL-2.0-only, GPL-3.0-only, LGPL-2.1-only, LGPL-3.0-only"
homepage="https://invent.kde.org/plasma/plasma-systemmonitor"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=acf5860a15d73b7727ddc69c271fe4dc56c2704dacf3a02e2c7b545689fce245
ksysguard_package() {
build_style=meta
depends="plasma-systemmonitor"
short_desc+=" - transition"
}