commit: 9df3277eab8872be400ecb91b291895e9cf07d8c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 21:14:28 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 18 21:16:52 2025 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9df3277e
kde-plasma/plasma-meta: Better deal with kde-plasma/spectacle version
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../plasma-meta/plasma-meta-6.3.49.9999.ebuild | 20 ++++++++++----------
kde-plasma/plasma-meta/plasma-meta-6.3.90.ebuild | 20 ++++++++++----------
.../plasma-meta/plasma-meta-6.4.49.9999.ebuild | 20 ++++++++++----------
kde-plasma/plasma-meta/plasma-meta-9999.ebuild | 21 +++++++++++----------
4 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/kde-plasma/plasma-meta/plasma-meta-6.3.49.9999.ebuild
b/kde-plasma/plasma-meta/plasma-meta-6.3.49.9999.ebuild
index 3ac4cc247c..c1b0522015 100644
--- a/kde-plasma/plasma-meta/plasma-meta-6.3.49.9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-6.3.49.9999.ebuild
@@ -18,15 +18,6 @@ thunderbolt unsupported wacom +wallpapers webengine"
REQUIRED_USE="^^ ( elogind systemd ) firewall? ( systemd )"
-# The =kde-apps/spectacle-6.3* pin is needed because Spectacle moved from
-# KDE Gear => KDE Plasma, but KDE Gear's version scheme is higher than
-# KDE Plasma's, so without such a pin, there's nothing that will cause
-# the in-reality newer (but wrt PV, older) Spectacle to be pulled in for users.
-#
-# It can be changed to =kde-apps/spectacle-6* in due course once newer
-# KDE Plasma and KDE Gear are stabled and old is cleaned up. Changing it
-# to >=kde-plasma/spectacle-${PV}:${SLOT} however can't be done for quite
-# some time.
RDEPEND="
!${CATEGORY}/${PN}:5
!kde-plasma/khotkeys:5
@@ -69,7 +60,6 @@ RDEPEND="
>=kde-plasma/polkit-kde-agent-${PV}:*
>=kde-plasma/powerdevil-${PV}:${SLOT}
>=kde-plasma/qqc2-breeze-style-${PV}:${SLOT}
- =kde-plasma/spectacle-6.3*:${SLOT}
>=kde-plasma/systemsettings-${PV}:${SLOT}
>=kde-plasma/xdg-desktop-portal-kde-${PV}:${SLOT}
sys-apps/dbus[elogind?,systemd?]
@@ -135,6 +125,16 @@ RDEPEND="
wallpapers? ( >=kde-plasma/plasma-workspace-wallpapers-${PV}:${SLOT} )
webengine? ( kde-apps/khelpcenter:6 )
"
+# NOTE spectacle moved from KDE Gear (yy.mm) to KDE Plasma version scheme
+case ${PV} in
+ *9999) RDEPEND+=" ~kde-plasma/spectacle-${PV}:${SLOT}" ;;
+ *)
+ RDEPEND+="
+ >=kde-plasma/spectacle-$(ver_cut 1-3):${SLOT}
+ <kde-plasma/spectacle-15
+ "
+ ;;
+esac
# Optional runtime deps: kde-plasma/plasma-desktop
RDEPEND="${RDEPEND}
accessibility? ( app-accessibility/orca )
diff --git a/kde-plasma/plasma-meta/plasma-meta-6.3.90.ebuild
b/kde-plasma/plasma-meta/plasma-meta-6.3.90.ebuild
index bac49a236c..9163c03761 100644
--- a/kde-plasma/plasma-meta/plasma-meta-6.3.90.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-6.3.90.ebuild
@@ -18,15 +18,6 @@ thunderbolt unsupported wacom +wallpapers webengine X"
REQUIRED_USE="^^ ( elogind systemd ) firewall? ( systemd )"
-# The =kde-apps/spectacle-6.3* pin is needed because Spectacle moved from
-# KDE Gear => KDE Plasma, but KDE Gear's version scheme is higher than
-# KDE Plasma's, so without such a pin, there's nothing that will cause
-# the in-reality newer (but wrt PV, older) Spectacle to be pulled in for users.
-#
-# It can be changed to =kde-apps/spectacle-6* in due course once newer
-# KDE Plasma and KDE Gear are stabled and old is cleaned up. Changing it
-# to >=kde-plasma/spectacle-${PV}:${SLOT} however can't be done for quite
-# some time.
RDEPEND="
!${CATEGORY}/${PN}:5
!kde-plasma/khotkeys:5
@@ -69,7 +60,6 @@ RDEPEND="
>=kde-plasma/polkit-kde-agent-${PV}:*
>=kde-plasma/powerdevil-${PV}:${SLOT}
>=kde-plasma/qqc2-breeze-style-${PV}:${SLOT}
- =kde-plasma/spectacle-6*:${SLOT}
>=kde-plasma/systemsettings-${PV}:${SLOT}
>=kde-plasma/xdg-desktop-portal-kde-${PV}:${SLOT}
sys-apps/dbus[elogind?,systemd?]
@@ -137,6 +127,16 @@ RDEPEND="
webengine? ( kde-apps/khelpcenter:6 )
X? ( >=kde-plasma/kwin-x11-${PV}:${SLOT}[lock] )
"
+# NOTE spectacle moved from KDE Gear (yy.mm) to KDE Plasma version scheme
+case ${PV} in
+ *9999) RDEPEND+=" ~kde-plasma/spectacle-${PV}:${SLOT}" ;;
+ *)
+ RDEPEND+="
+ >=kde-plasma/spectacle-$(ver_cut 1-3):${SLOT}
+ <kde-plasma/spectacle-15
+ "
+ ;;
+esac
# Optional runtime deps: kde-plasma/plasma-desktop
RDEPEND="${RDEPEND}
accessibility? ( app-accessibility/orca )
diff --git a/kde-plasma/plasma-meta/plasma-meta-6.4.49.9999.ebuild
b/kde-plasma/plasma-meta/plasma-meta-6.4.49.9999.ebuild
index c7bd001aca..c398bbf8ed 100644
--- a/kde-plasma/plasma-meta/plasma-meta-6.4.49.9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-6.4.49.9999.ebuild
@@ -18,15 +18,6 @@ thunderbolt unsupported wacom +wallpapers webengine X"
REQUIRED_USE="^^ ( elogind systemd ) firewall? ( systemd )"
-# The =kde-apps/spectacle-6.3* pin is needed because Spectacle moved from
-# KDE Gear => KDE Plasma, but KDE Gear's version scheme is higher than
-# KDE Plasma's, so without such a pin, there's nothing that will cause
-# the in-reality newer (but wrt PV, older) Spectacle to be pulled in for users.
-#
-# It can be changed to =kde-apps/spectacle-6* in due course once newer
-# KDE Plasma and KDE Gear are stabled and old is cleaned up. Changing it
-# to >=kde-plasma/spectacle-${PV}:${SLOT} however can't be done for quite
-# some time.
RDEPEND="
!${CATEGORY}/${PN}:5
!kde-plasma/khotkeys:5
@@ -69,7 +60,6 @@ RDEPEND="
>=kde-plasma/polkit-kde-agent-${PV}:*
>=kde-plasma/powerdevil-${PV}:${SLOT}
>=kde-plasma/qqc2-breeze-style-${PV}:${SLOT}
- =kde-plasma/spectacle-6*:${SLOT}
>=kde-plasma/systemsettings-${PV}:${SLOT}
>=kde-plasma/xdg-desktop-portal-kde-${PV}:${SLOT}
sys-apps/dbus[elogind?,systemd?]
@@ -137,6 +127,16 @@ RDEPEND="
webengine? ( kde-apps/khelpcenter:6 )
X? ( >=kde-plasma/kwin-x11-${PV}:${SLOT}[lock] )
"
+# NOTE spectacle moved from KDE Gear (yy.mm) to KDE Plasma version scheme
+case ${PV} in
+ *9999) RDEPEND+=" ~kde-plasma/spectacle-${PV}:${SLOT}" ;;
+ *)
+ RDEPEND+="
+ >=kde-plasma/spectacle-$(ver_cut 1-3):${SLOT}
+ <kde-plasma/spectacle-15
+ "
+ ;;
+esac
# Optional runtime deps: kde-plasma/plasma-desktop
RDEPEND="${RDEPEND}
accessibility? ( app-accessibility/orca )
diff --git a/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
b/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
index c7bd001aca..80b3876a80 100644
--- a/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
@@ -18,15 +18,6 @@ thunderbolt unsupported wacom +wallpapers webengine X"
REQUIRED_USE="^^ ( elogind systemd ) firewall? ( systemd )"
-# The =kde-apps/spectacle-6.3* pin is needed because Spectacle moved from
-# KDE Gear => KDE Plasma, but KDE Gear's version scheme is higher than
-# KDE Plasma's, so without such a pin, there's nothing that will cause
-# the in-reality newer (but wrt PV, older) Spectacle to be pulled in for users.
-#
-# It can be changed to =kde-apps/spectacle-6* in due course once newer
-# KDE Plasma and KDE Gear are stabled and old is cleaned up. Changing it
-# to >=kde-plasma/spectacle-${PV}:${SLOT} however can't be done for quite
-# some time.
RDEPEND="
!${CATEGORY}/${PN}:5
!kde-plasma/khotkeys:5
@@ -69,7 +60,6 @@ RDEPEND="
>=kde-plasma/polkit-kde-agent-${PV}:*
>=kde-plasma/powerdevil-${PV}:${SLOT}
>=kde-plasma/qqc2-breeze-style-${PV}:${SLOT}
- =kde-plasma/spectacle-6*:${SLOT}
>=kde-plasma/systemsettings-${PV}:${SLOT}
>=kde-plasma/xdg-desktop-portal-kde-${PV}:${SLOT}
sys-apps/dbus[elogind?,systemd?]
@@ -137,6 +127,17 @@ RDEPEND="
webengine? ( kde-apps/khelpcenter:6 )
X? ( >=kde-plasma/kwin-x11-${PV}:${SLOT}[lock] )
"
+# NOTE spectacle moved from KDE Gear (yy.mm) to KDE Plasma version scheme
+# TODO drop after 2027-04-26
+case ${PV} in
+ *9999) RDEPEND+=" ~kde-plasma/spectacle-${PV}:${SLOT}" ;;
+ *)
+ RDEPEND+="
+ >=kde-plasma/spectacle-$(ver_cut 1-3):${SLOT}
+ <kde-plasma/spectacle-15
+ "
+ ;;
+esac
# Optional runtime deps: kde-plasma/plasma-desktop
RDEPEND="${RDEPEND}
accessibility? ( app-accessibility/orca )