From 95a4837067c1ae539b6cf41686310b46c2b6d888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 10 Apr 2022 21:09:43 +0200 Subject: [PATCH] Add ksystemstats to plasma-systemmonitor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is intermediate TODO: plasma-systemmonitor still not working as expected Signed-off-by: Andreas Müller --- recipes-kde/packagegroups/plasma-world.bb | 1 + .../untier/ksystemstats/ksystemstats.bb | 37 +++++++++++++++++++ .../plasma-systemmonitor.bb | 2 + 3 files changed, 40 insertions(+) create mode 100644 recipes-kde/plasma/untier/ksystemstats/ksystemstats.bb diff --git a/recipes-kde/packagegroups/plasma-world.bb b/recipes-kde/packagegroups/plasma-world.bb index e2ba4dd7..a65dee05 100644 --- a/recipes-kde/packagegroups/plasma-world.bb +++ b/recipes-kde/packagegroups/plasma-world.bb @@ -39,6 +39,7 @@ UNTIER = " \ kscreen \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "kscreenlocker", "",d)} \ ksshaskpass \ + ksystemstats \ kwallet-pam \ kwayland-integration \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "kwin", "",d)} \ diff --git a/recipes-kde/plasma/untier/ksystemstats/ksystemstats.bb b/recipes-kde/plasma/untier/ksystemstats/ksystemstats.bb new file mode 100644 index 00000000..5a26e6ab --- /dev/null +++ b/recipes-kde/plasma/untier/ksystemstats/ksystemstats.bb @@ -0,0 +1,37 @@ +SUMMARY = "A plugin based system monitoring daemon" +LICENSE = "BSD-2-Clause & BSD-3-Clause & CC0-1.0 & GPL-2.0-only & GPL-2.0-or-later & GPL-3.0-only" +LIC_FILES_CHKSUM = " \ + file://LICENSES/BSD-2-Clause.txt;md5=534956ece1a160a65f088a8f82672ef9 \ + file://LICENSES/BSD-3-Clause.txt;md5=f225922a2c12dfa5218fb70c49db3ea6 \ + file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \ + file://LICENSES/GPL-2.0-only.txt;md5=93e64b4a83c7e441e48bbdeeea05c977 \ + file://LICENSES/GPL-2.0-or-later.txt;md5=fed54355545ffd980b814dab4a3b312c \ + file://LICENSES/GPL-3.0-only.txt;md5=1c76c4cc354acaac30ed4d5eefea7245 \ +" + +inherit kde-plasma + +DEPENDS += " \ + kauth-native \ + kcoreaddons-native kcoreaddons \ + kconfig-native kconfig \ + kdbusaddons \ + ki18n \ + libksysguard \ + solid \ + kio \ + networkmanager-qt \ + lmsensors \ + libnl \ + udev \ +" + +PV = "${PLASMA_VERSION}" +SRC_URI[sha256sum] = "8dc735e9133ab01e537d71121b0e76e078f4fffce2d86b4c5d62c85878ee47dd" + +FILES:${PN} += " \ + ${datadir}/dbus-1 \ + ${systemd_user_unitdir} \ + ${OE_QMAKE_PATH_PLUGINS} \ +" + diff --git a/recipes-kde/plasma/untier/plasma-systemmonitor/plasma-systemmonitor.bb b/recipes-kde/plasma/untier/plasma-systemmonitor/plasma-systemmonitor.bb index 9cd87050..f1b13290 100644 --- a/recipes-kde/plasma/untier/plasma-systemmonitor/plasma-systemmonitor.bb +++ b/recipes-kde/plasma/untier/plasma-systemmonitor/plasma-systemmonitor.bb @@ -40,3 +40,5 @@ FILES:${PN} += " \ ${datadir}/plasma \ ${OE_QMAKE_PATH_QML} \ " + +RDEPENDS:${PN} += "ksystemstats"