commit:     2d67f882ab5deb35b653ab110e6fb52ea0031a34
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 19:00:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 19:00:18 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2d67f882

kde-frameworks/breeze-icons: filter LTO again

There's a trade-off between allowing LTO upstream vs supporting
compilation with less RAM available because of how Qt resources work.

See https://mail.kde.org/pipermail/distributions/2025-June/001602.html.

Bug: https://bugs.gentoo.org/931904
Bug: https://bugs.gentoo.org/956679
Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-frameworks/breeze-icons/breeze-icons-9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/breeze-icons/breeze-icons-9999.ebuild 
b/kde-frameworks/breeze-icons/breeze-icons-9999.ebuild
index 700989165d..e6b1cef3ab 100644
--- a/kde-frameworks/breeze-icons/breeze-icons-9999.ebuild
+++ b/kde-frameworks/breeze-icons/breeze-icons-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake frameworks.kde.org python-any-r1 xdg
+inherit cmake flag-o-matic frameworks.kde.org python-any-r1 xdg
 
 DESCRIPTION="Breeze SVG icon theme"
 
@@ -31,6 +31,11 @@ python_check_deps() {
 }
 
 src_configure() {
+       # There's a trade-off between allowing LTO upstream vs supporting
+       # compilation with less RAM available because of how Qt resources work.
+       # See bug #931904 and bug #956679.
+       filter-lto
+
        local mycmakeargs=(
                -DPython_EXECUTABLE="${PYTHON}"
                -DBINARY_ICONS_RESOURCE=ON # TODO: remove when kexi was ported 
away

Reply via email to