commit: d931c492f05156971bf3c8de41ae3b643a95b7e8
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 17 17:23:52 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 17 17:23:52 2022 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d931c492
kde-plasma/plasma-workspace: Users KCM moved from plasma-desktop
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/plasma-workspace/metadata.xml | 1 +
kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild | 9 +++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/kde-plasma/plasma-workspace/metadata.xml
b/kde-plasma/plasma-workspace/metadata.xml
index a740eb6b82..79fb12a10a 100644
--- a/kde-plasma/plasma-workspace/metadata.xml
+++ b/kde-plasma/plasma-workspace/metadata.xml
@@ -11,6 +11,7 @@
<use>
<flag name="appstream">Enable AppStream software metadata
support</flag>
<flag name="geolocation">Enables dataengine providing location
information</flag>
+ <flag name="policykit">Build the Users KCM using
<pkg>sys-apps/accountsservice</pkg> and <pkg>sys-auth/polkit</pkg></flag>
<flag name="screencast">Enable screencast portal using
<pkg>media-video/pipewire</pkg></flag>
<flag name="telemetry">Enable User Feedback control module for
<pkg>kde-plasma/systemsettings</pkg></flag>
</use>
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
index b10443f538..7745f1b69a 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
@@ -16,8 +16,8 @@ DESCRIPTION="KDE Plasma workspace"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS=""
-IUSE="appstream +calendar +fontconfig geolocation gps screencast
-+semantic-desktop telemetry"
+IUSE="appstream +calendar +fontconfig geolocation gps +policykit
+screencast +semantic-desktop telemetry"
REQUIRED_USE="gps? ( geolocation )"
RESTRICT="test"
@@ -143,6 +143,7 @@ RDEPEND="${COMMON_DEPEND}
x11-apps/xsetroot
!<kde-plasma/breeze-5.22.90:5
!<kde-plasma/plasma-desktop-5.21.90:5
+ policykit? ( sys-apps/accountsservice )
"
BDEPEND="virtual/pkgconfig"
PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5"
@@ -165,6 +166,10 @@ src_prepare() {
if ! use screencast; then
sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt
|| die
fi
+
+ if ! use policykit; then
+ cmake_run_in kcms cmake_comment_add_subdirectory users
+ fi
}
src_configure() {