summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-05-18 23:14:28 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-05-18 23:16:52 +0200
commit9df3277eab8872be400ecb91b291895e9cf07d8c (patch)
tree007032c1388f573d68962d7bf55a2cb960555325
parent1634fabd42a2e316d2d736475dec0afea4181335 (diff)
downloadkde-9df3277eab8872be400ecb91b291895e9cf07d8c.tar.gz
kde-9df3277eab8872be400ecb91b291895e9cf07d8c.tar.bz2
kde-9df3277eab8872be400ecb91b291895e9cf07d8c.zip
kde-plasma/plasma-meta: Better deal with kde-plasma/spectacle version
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-plasma/plasma-meta/plasma-meta-6.3.49.9999.ebuild20
-rw-r--r--kde-plasma/plasma-meta/plasma-meta-6.3.90.ebuild20
-rw-r--r--kde-plasma/plasma-meta/plasma-meta-6.4.49.9999.ebuild20
-rw-r--r--kde-plasma/plasma-meta/plasma-meta-9999.ebuild21
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 3ac4cc247cd..c1b0522015c 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 bac49a236c0..9163c03761b 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 c7bd001acaa..c398bbf8edc 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 c7bd001acaa..80b3876a800 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 )