commit:     9c818a45460219c1a1793cdfe28e6f17f254f505
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 12:35:57 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 14:16:03 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9c818a45

kde-plasma/plasma-desktop: Add IUSE screencast for the time being

This may break at any time, but we can justify the flag atm for its
dependency on kde-plasma/plasma-workspace[screencast]. At the same
time this flag has a less than ideal name but we will keep it in sync
with kde-plasma/plasma-workspace for ease of use anyway.

Closes: https://bugs.gentoo.org/848771
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/plasma-desktop/metadata.xml               | 1 +
 kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/kde-plasma/plasma-desktop/metadata.xml 
b/kde-plasma/plasma-desktop/metadata.xml
index 3ea9270f30..2b30d63b6a 100644
--- a/kde-plasma/plasma-desktop/metadata.xml
+++ b/kde-plasma/plasma-desktop/metadata.xml
@@ -13,5 +13,6 @@
                <flag name="ibus">Use ibus input method via 
<pkg>app-i18n/ibus</pkg></flag>
                <flag name="kaccounts">Build the OpenDesktop integration 
plugin</flag>
                <flag name="scim">Enable applets that use 
<pkg>app-i18n/scim</pkg></flag>
+               <flag name="screencast">Enable screencast portal thumbnails 
using <pkg>kde-plasma/kpipewire</pkg></flag>
        </use>
 </pkgmetadata>

diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild 
b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
index 9c1c38664a..4d280b203d 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
@@ -18,7 +18,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz";
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS=""
-IUSE="emoji ibus +kaccounts scim +semantic-desktop telemetry"
+IUSE="emoji ibus +kaccounts scim screencast +semantic-desktop telemetry"
 
 COMMON_DEPEND="
        >=dev-qt/qtconcurrent-${QTMIN}:5
@@ -72,7 +72,7 @@ COMMON_DEPEND="
        >=kde-plasma/kwin-${PVCUT}:5
        >=kde-plasma/libksysguard-${PVCUT}:5
        >=kde-plasma/libkworkspace-${PVCUT}:5
-       >=kde-plasma/plasma-workspace-${PVCUT}:5
+       >=kde-plasma/plasma-workspace-${PVCUT}:5[screencast?]
        >=media-libs/phonon-4.11.0
        x11-libs/libX11
        x11-libs/libXfixes
@@ -110,12 +110,12 @@ RDEPEND="${COMMON_DEPEND}
        >=kde-frameworks/kirigami-${KFMIN}:5
        >=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
        >=kde-plasma/kde-cli-tools-${PVCUT}:5
-       >=kde-plasma/kpipewire-${PVCUT}:5
        >=kde-plasma/oxygen-${PVCUT}:5
        sys-apps/util-linux
        x11-apps/setxkbmap
        x11-misc/xdg-user-dirs
        kaccounts? ( net-libs/signon-oauth2 )
+       screencast? ( >=kde-plasma/kpipewire-${PVCUT}:5 )
 "
 BDEPEND="virtual/pkgconfig"
 

Reply via email to