commit:     00d1aa2ac4cb6c8e2e24322c811932040eb2da2d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 20:46:28 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May 15 22:13:48 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=00d1aa2a

kde-plasma/plasma-workspace: Add IUSE ksysguard

For lack of a better name considering the range of features.

Upstream commit e66a336e360107ca2aa5e383bd240a644e7e09ea

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/plasma-workspace/metadata.xml                 | 1 +
 kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/kde-plasma/plasma-workspace/metadata.xml 
b/kde-plasma/plasma-workspace/metadata.xml
index 1ecfd2fa7a..98289d49f0 100644
--- a/kde-plasma/plasma-workspace/metadata.xml
+++ b/kde-plasma/plasma-workspace/metadata.xml
@@ -10,6 +10,7 @@
        </upstream>
        <use>
                <flag name="appstream">Enable AppStream software metadata 
support</flag>
+               <flag name="ksysguard">Enable device notifier and system 
monitor applets as well as terminate applications runner</flag>
                <flag name="networkmanager">Enable support for location-based 
time zone changes</flag>
                <flag name="policykit">Enable locale generation and Users KCM 
using <pkg>sys-auth/polkit</pkg> and <pkg>sys-apps/accountsservice</pkg></flag>
                <flag name="screencast">Enable camera indicator applet 
(requires <pkg>media-video/pipewire</pkg> at runtime)</flag>

diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild 
b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
index 47e280c39a..dd60f583fc 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
@@ -14,8 +14,8 @@ DESCRIPTION="KDE Plasma workspace"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="6"
 KEYWORDS=""
-IUSE="appstream +calendar +fontconfig networkmanager +policykit screencast
-+semantic-desktop systemd telemetry +wallpaper-metadata +X"
+IUSE="appstream +calendar +fontconfig +ksysguard networkmanager +policykit
+screencast +semantic-desktop systemd telemetry +wallpaper-metadata +X"
 
 REQUIRED_USE="fontconfig? ( X )"
 RESTRICT="test"
@@ -78,7 +78,6 @@ COMMON_DEPEND="
        >=kde-plasma/kwin-${KDE_CATV}:6
        >=kde-plasma/layer-shell-qt-${KDE_CATV}:6
        >=kde-plasma/libkscreen-${KDE_CATV}:6
-       >=kde-plasma/libksysguard-${KDE_CATV}:6
        >=kde-plasma/libplasma-${KDE_CATV}:6
        >=kde-plasma/plasma-activities-${KDE_CATV}:6
        >=kde-plasma/plasma-activities-stats-${KDE_CATV}:6
@@ -91,6 +90,7 @@ COMMON_DEPEND="
        virtual/libudev:=
        appstream? ( >=dev-libs/appstream-1[qt6] )
        calendar? ( >=kde-frameworks/kholidays-${KFMIN}:6 )
+       ksysguard? ( >=kde-plasma/libksysguard-${KDE_CATV}:6 )
        policykit? ( virtual/libcrypt:= )
        networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:6 )
        semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:6 )
@@ -190,6 +190,7 @@ src_configure() {
                $(cmake_use_find_package appstream AppStreamQt)
                $(cmake_use_find_package calendar KF6Holidays)
                $(cmake_use_find_package fontconfig Fontconfig)
+               $(cmake_use_find_package ksysguard KSysGuard)
                $(cmake_use_find_package networkmanager KF6NetworkManagerQt)
                -DBUILD_CAMERAINDICATOR=$(usex screencast)
                $(cmake_use_find_package semantic-desktop KF6Baloo)

Reply via email to