commit:     b34a8017a0faa59faac8d19621c7e9ff1fb9402e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 05:01:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 05:01:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34a8017

games-emulation/dolphin: filter LTO with USE=gui

Interaction between Qt and LTO.

Bug: https://bugs.dolphin-emu.org/issues/11481
Bug: https://bugreports.qt.io/browse/QTBUG-61710
Closes: https://bugs.gentoo.org/891225
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild | 7 +++++--
 games-emulation/dolphin/dolphin-9999.ebuild             | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild 
b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild
index af6e7afd45e0..c1f43ed2cbd5 100644
--- a/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild
+++ b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake desktop xdg-utils pax-utils
+inherit cmake desktop flag-o-matic xdg-utils pax-utils
 
 if [[ ${PV} == *9999 ]]
 then
@@ -153,6 +153,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #891225 (https://bugs.dolphin-emu.org/issues/11481, QTBUG-61710)
+       use gui && filter-lto
+
        local mycmakeargs=(
                # Use ccache only when user did set FEATURES=ccache (or similar)
                # not when ccache binary is present in system (automagic).

diff --git a/games-emulation/dolphin/dolphin-9999.ebuild 
b/games-emulation/dolphin/dolphin-9999.ebuild
index 690c3afb5517..25bf321c0c70 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake desktop xdg-utils pax-utils
+inherit cmake desktop flag-o-matic xdg-utils pax-utils
 
 if [[ ${PV} == *9999 ]]
 then
@@ -151,6 +151,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #891225 (https://bugs.dolphin-emu.org/issues/11481, QTBUG-61710)
+       use gui && filter-lto
+
        local mycmakeargs=(
                # Use ccache only when user did set FEATURES=ccache (or similar)
                # not when ccache binary is present in system (automagic).

Reply via email to