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@gentoo.org>
This commit is contained in:
Sam James 2025-06-18 20:00:01 +01:00
parent 29d6e08a91
commit 9582bcb70d
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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