commit:     28c3043c1a88228d6d73b98ff1e9cc4599572d5f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 22 10:26:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 10:28:05 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=28c3043c

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 <AT> gentoo.org>

 kde-plasma/plasma-welcome/plasma-welcome-6.3.49.9999.ebuild | 12 +++++++++++-
 kde-plasma/plasma-welcome/plasma-welcome-6.4.49.9999.ebuild | 12 +++++++++++-
 kde-plasma/plasma-welcome/plasma-welcome-9999.ebuild        | 12 +++++++++++-
 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 af8e76f6fc..6b68924db1 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 b88cf0235d..cac1099209 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 4bb4a6b0bc..9b1cdb4347 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
+}

Reply via email to