summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-06-22 11:26:12 +0100
committerSam James <sam@gentoo.org>2025-06-22 11:28:05 +0100
commit28c3043c1a88228d6d73b98ff1e9cc4599572d5f (patch)
tree60d727d091202498146f76928e5021bd7a54153b
parent44f9b8f34f61a9dda374337fc3d3e849ba950cd0 (diff)
downloadkde-28c3043c1a88228d6d73b98ff1e9cc4599572d5f.tar.gz
kde-28c3043c1a88228d6d73b98ff1e9cc4599572d5f.tar.bz2
kde-28c3043c1a88228d6d73b98ff1e9cc4599572d5f.zip
kde-plasma/plasma-welcome: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. The static lib is required, unfortunately: https://invent.kde.org/plasma/plasma-welcome/-/merge_requests/185#note_1243226 Closes: https://bugs.gentoo.org/958349 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--kde-plasma/plasma-welcome/plasma-welcome-6.3.49.9999.ebuild12
-rw-r--r--kde-plasma/plasma-welcome/plasma-welcome-6.4.49.9999.ebuild12
-rw-r--r--kde-plasma/plasma-welcome/plasma-welcome-9999.ebuild12
3 files changed, 33 insertions, 3 deletions
diff --git a/kde-plasma/plasma-welcome/plasma-welcome-6.3.49.9999.ebuild b/kde-plasma/plasma-welcome/plasma-welcome-6.3.49.9999.ebuild
index af8e76f6fc9..6b68924db11 100644
--- a/kde-plasma/plasma-welcome/plasma-welcome-6.3.49.9999.ebuild
+++ b/kde-plasma/plasma-welcome/plasma-welcome-6.3.49.9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
KFMIN=6.10.0
QTMIN=6.8.1
-inherit ecm plasma.kde.org xdg
+inherit ecm dot-a plasma.kde.org xdg
DESCRIPTION="Friendly onboarding wizard for Plasma"
@@ -34,3 +34,13 @@ DEPEND="
>=kde-plasma/libplasma-${KDE_CATV}:6
"
RDEPEND="${DEPEND}"
+
+src_configure() {
+ lto-guarantee-fat
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ strip-lto-bytecode
+}
diff --git a/kde-plasma/plasma-welcome/plasma-welcome-6.4.49.9999.ebuild b/kde-plasma/plasma-welcome/plasma-welcome-6.4.49.9999.ebuild
index b88cf0235d7..cac10992092 100644
--- a/kde-plasma/plasma-welcome/plasma-welcome-6.4.49.9999.ebuild
+++ b/kde-plasma/plasma-welcome/plasma-welcome-6.4.49.9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
KFMIN=6.14.0
QTMIN=6.8.1
-inherit ecm plasma.kde.org xdg
+inherit ecm dot-a plasma.kde.org xdg
DESCRIPTION="Friendly onboarding wizard for Plasma"
@@ -34,3 +34,13 @@ DEPEND="
>=kde-plasma/libplasma-${KDE_CATV}:6
"
RDEPEND="${DEPEND}"
+
+src_configure() {
+ lto-guarantee-fat
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ strip-lto-bytecode
+}
diff --git a/kde-plasma/plasma-welcome/plasma-welcome-9999.ebuild b/kde-plasma/plasma-welcome/plasma-welcome-9999.ebuild
index 4bb4a6b0bc6..9b1cdb43477 100644
--- a/kde-plasma/plasma-welcome/plasma-welcome-9999.ebuild
+++ b/kde-plasma/plasma-welcome/plasma-welcome-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
KFMIN=9999
QTMIN=6.8.1
-inherit ecm plasma.kde.org xdg
+inherit ecm dot-a plasma.kde.org xdg
DESCRIPTION="Friendly onboarding wizard for Plasma"
@@ -34,3 +34,13 @@ DEPEND="
>=kde-plasma/libplasma-${KDE_CATV}:6
"
RDEPEND="${DEPEND}"
+
+src_configure() {
+ lto-guarantee-fat
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ strip-lto-bytecode
+}