commit: 2aab7d5533f5341e54755f235bc9598490328f24 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:26:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aab7d55
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.5.ebuild | 12 +++++++++++- kde-plasma/plasma-welcome/plasma-welcome-6.4.0.ebuild | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/kde-plasma/plasma-welcome/plasma-welcome-6.3.5.ebuild b/kde-plasma/plasma-welcome/plasma-welcome-6.3.5.ebuild index 47d32c0cf5d6..36747865bb24 100644 --- a/kde-plasma/plasma-welcome/plasma-welcome-6.3.5.ebuild +++ b/kde-plasma/plasma-welcome/plasma-welcome-6.3.5.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.0.ebuild b/kde-plasma/plasma-welcome/plasma-welcome-6.4.0.ebuild index 0d1b48697b92..9799d7e19793 100644 --- a/kde-plasma/plasma-welcome/plasma-welcome-6.4.0.ebuild +++ b/kde-plasma/plasma-welcome/plasma-welcome-6.4.0.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 +}
