commit:     74053616a0a30c48a60a44d9f02841bc9f3550cb
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 27 16:31:56 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Aug 27 16:48:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74053616

games-emulation/higan: drop gtk USE (always enabled)

higan is mostly in low maintenance mode with the author gone and kind
of obsolete with all the alternatives, so porting efforts are likely
to take a long time if ever (not to mention it is buggy with Qt5
as-is). May as well stick to the less problematic options bare
straight up last-riting.

Has a not-in-tree fork (ares) but it does not support Qt currently,
so either way Qt likely has to go.

Closes: https://bugs.gentoo.org/962040
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../higan/higan-116_pre20210818-r2.ebuild          | 27 +++++++++-------------
 games-emulation/higan/metadata.xml                 |  3 ---
 2 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/games-emulation/higan/higan-116_pre20210818-r2.ebuild 
b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
index a82c1c6c1f24..68c87710a8c1 100644
--- a/games-emulation/higan/higan-116_pre20210818-r2.ebuild
+++ b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
@@ -15,12 +15,18 @@ S="${WORKDIR}/${PN}-${HIGAN_COMMIT}"
 LICENSE="GPL-3+ ISC"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa ao +gtk openal +opengl oss +pulseaudio +sdl udev xv"
+IUSE="alsa ao openal +opengl oss +pulseaudio +sdl udev xv"
 
 RDEPEND="
+       dev-libs/glib:2
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/gtk+:3[X]
+       x11-libs/gtksourceview:3.0=
        x11-libs/libX11
        x11-libs/libXext
        x11-libs/libXrandr
+       x11-libs/pango
        alsa? ( media-libs/alsa-lib )
        ao? ( media-libs/libao )
        openal? ( media-libs/openal )
@@ -29,22 +35,11 @@ RDEPEND="
        sdl? ( media-libs/libsdl2[joystick] )
        udev? ( virtual/libudev:= )
        xv? ( x11-libs/libXv )
-       gtk? (
-               dev-libs/glib:2
-               x11-libs/cairo
-               x11-libs/gdk-pixbuf:2
-               x11-libs/gtk+:3[X]
-               x11-libs/gtksourceview:3.0=
-               x11-libs/pango
-       )
-       !gtk? (
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtwidgets:5
-       )"
+"
 DEPEND="
        ${RDEPEND}
-       x11-base/xorg-proto"
+       x11-base/xorg-proto
+"
 BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
@@ -64,7 +59,7 @@ src_compile() {
        local makeopts=(
                platform=linux
                compiler="$(tc-getCXX)"
-               hiro=$(usex gtk gtk3 qt5)
+               hiro=gtk3 # TODO: re-add Qt option if supports Qt6 (bug #962040)
        )
 
        local drivers=(

diff --git a/games-emulation/higan/metadata.xml 
b/games-emulation/higan/metadata.xml
index 22489d8406c6..33dd02d9a5f9 100644
--- a/games-emulation/higan/metadata.xml
+++ b/games-emulation/higan/metadata.xml
@@ -5,9 +5,6 @@
                <email>[email protected]</email>
                <name>Gentoo Games Project</name>
        </maintainer>
-       <use>
-               <flag name="gtk">Use GTK3 (Qt5 if disabled) user interface 
backend</flag>
-       </use>
        <upstream>
                <bugs-to>https://github.com/higan-emu/higan/issues</bugs-to>
                <remote-id type="github">higan-emu/higan</remote-id>

Reply via email to