commit:     9582bcb70d3c14a67778459ad3409c2260ad294d
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:02:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9582bcb7

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.

(We backported the upstream fix for 32-bit systems to 6.15.0
in 1a6c9b23d83e6138e7ecf391b7cfa67cb88100f3.)

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-6.15.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/breeze-icons/breeze-icons-6.15.0.ebuild 
b/kde-frameworks/breeze-icons/breeze-icons-6.15.0.ebuild
index 8668c832ca42..18bcadc45f10 100644
--- a/kde-frameworks/breeze-icons/breeze-icons-6.15.0.ebuild
+++ b/kde-frameworks/breeze-icons/breeze-icons-6.15.0.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"
 
@@ -33,6 +33,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