commit:     7651c0ee8215bf5e9f2c3d24ab8ff538e2bced1a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 11:07:38 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 10:28:20 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7651c0ee

kde-plasma/plasma-meta: Add IUSE unsupported, blocking bad packages

For starters, blocking:
- gui-apps/qt6ct
- sys-apps/xdg-desktop-portal-gnome

See also:
https://community.kde.org/Distributions/Packaging_Recommendations

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

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

diff --git a/kde-plasma/plasma-meta/metadata.xml 
b/kde-plasma/plasma-meta/metadata.xml
index 088886905a..f4563d4ab0 100644
--- a/kde-plasma/plasma-meta/metadata.xml
+++ b/kde-plasma/plasma-meta/metadata.xml
@@ -26,6 +26,7 @@
                <flag name="sdk">Pull in <pkg>kde-plasma/plasma-sdk</pkg> for 
Plasma development</flag>
                <flag name="smart">Pull in <pkg>kde-plasma/plasma-disks</pkg> 
for disk health monitoring</flag>
                <flag name="thunderbolt">Pull in 
<pkg>kde-plasma/plasma-thunderbolt</pkg> control center module</flag>
+               <flag name="unsupported">Allow packages that are known to ruin 
runtime experience ** DO NOT FILE BUGS WITH THIS ENABLED **</flag>
                <flag name="wacom">Pull in <pkg>kde-plasma/wacomtablet</pkg> 
control center module</flag>
                <flag name="wallpapers">Install wallpapers for the Plasma 
Workspace</flag>
        </use>

diff --git a/kde-plasma/plasma-meta/plasma-meta-6.0.49.9999.ebuild 
b/kde-plasma/plasma-meta/plasma-meta-6.0.49.9999.ebuild
index 821e06a8b7..927536a4c6 100644
--- a/kde-plasma/plasma-meta/plasma-meta-6.0.49.9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-6.0.49.9999.ebuild
@@ -12,7 +12,7 @@ KEYWORDS=""
 IUSE="accessibility bluetooth +browser-integration colord +crash-handler crypt
 cups discover +display-manager +elogind +firewall flatpak grub gtk +handbook
 +kwallet +networkmanager plymouth pulseaudio +sddm sdk +smart systemd
-thunderbolt wacom +wallpapers"
+thunderbolt unsupported wacom +wallpapers"
 
 REQUIRED_USE="^^ ( elogind systemd )"
 
@@ -98,6 +98,10 @@ RDEPEND="
                firewall? ( >=kde-plasma/plasma-firewall-${PV}:${SLOT} )
        )
        thunderbolt? ( >=kde-plasma/plasma-thunderbolt-${PV}:${SLOT} )
+       !unsupported? (
+               !gui-apps/qt6ct
+               !sys-apps/xdg-desktop-portal-gnome
+       )
        wacom? ( >=kde-plasma/wacomtablet-${PV}:${SLOT} )
        wallpapers? ( >=kde-plasma/plasma-workspace-wallpapers-${PV}:${SLOT} )
 "

diff --git a/kde-plasma/plasma-meta/plasma-meta-9999.ebuild 
b/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
index 821e06a8b7..927536a4c6 100644
--- a/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
@@ -12,7 +12,7 @@ KEYWORDS=""
 IUSE="accessibility bluetooth +browser-integration colord +crash-handler crypt
 cups discover +display-manager +elogind +firewall flatpak grub gtk +handbook
 +kwallet +networkmanager plymouth pulseaudio +sddm sdk +smart systemd
-thunderbolt wacom +wallpapers"
+thunderbolt unsupported wacom +wallpapers"
 
 REQUIRED_USE="^^ ( elogind systemd )"
 
@@ -98,6 +98,10 @@ RDEPEND="
                firewall? ( >=kde-plasma/plasma-firewall-${PV}:${SLOT} )
        )
        thunderbolt? ( >=kde-plasma/plasma-thunderbolt-${PV}:${SLOT} )
+       !unsupported? (
+               !gui-apps/qt6ct
+               !sys-apps/xdg-desktop-portal-gnome
+       )
        wacom? ( >=kde-plasma/wacomtablet-${PV}:${SLOT} )
        wallpapers? ( >=kde-plasma/plasma-workspace-wallpapers-${PV}:${SLOT} )
 "

Reply via email to