commit:     0eb12c94c3e58d777a79ab67d07c7a1210dca62d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 18:52:42 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 19:40:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb12c94

games-emulation/higan: Drop USE=qt4, bug #631788

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 games-emulation/higan/higan-094.ebuild | 20 +++++---------------
 games-emulation/higan/higan-099.ebuild | 19 ++++---------------
 2 files changed, 9 insertions(+), 30 deletions(-)

diff --git a/games-emulation/higan/higan-094.ebuild 
b/games-emulation/higan/higan-094.ebuild
index ec815cc3da6..1401fc403ff 100644
--- a/games-emulation/higan/higan-094.ebuild
+++ b/games-emulation/higan/higan-094.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,12 +14,13 @@ SRC_URI="http://byuu.org/files/${MY_P}.tar.xz";
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="ao +alsa openal opengl oss profile_accuracy +profile_balanced 
profile_performance pulseaudio qt4 +sdl udev xv"
+IUSE="ao +alsa openal opengl oss profile_accuracy +profile_balanced 
profile_performance pulseaudio +sdl udev xv"
 REQUIRED_USE="|| ( ao openal alsa pulseaudio oss )
        || ( xv opengl sdl )
        || ( profile_accuracy profile_balanced profile_performance )"
 
 RDEPEND="
+       x11-libs/gtk+:2
        x11-libs/libX11
        x11-libs/libXext
        ao? ( media-libs/libao )
@@ -30,8 +31,7 @@ RDEPEND="
        opengl? ( virtual/opengl )
        sdl? ( media-libs/libsdl[X,joystick,video] )
        udev? ( virtual/udev )
-       !qt4? ( x11-libs/gtk+:2 )
-       qt4? ( >=dev-qt/qtgui-4.5:4 )"
+"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
@@ -69,12 +69,6 @@ src_prepare() {
        use sdl || disable_module input.sdl
        use udev || disable_module input.udev
 
-       # regenerate .moc if needed
-       if use qt4; then
-               cd phoenix/qt || die
-                "$(qt4_get_bindir)"/moc -i -I. -o platform.moc 
platform.moc.hpp || die
-       fi
-
        for i in profile_accuracy profile_balanced profile_performance ; do
                if use ${i} ; then
                        cp -dRP "${S}" "${S}_${i}" || die
@@ -85,11 +79,7 @@ src_prepare() {
 src_compile() {
        local mytoolkit i
 
-       if use qt4; then
-               mytoolkit="qt"
-       else
-               mytoolkit="gtk"
-       fi
+       mytoolkit="gtk"
 
        for i in profile_accuracy profile_balanced profile_performance ; do
                if use ${i} ; then

diff --git a/games-emulation/higan/higan-099.ebuild 
b/games-emulation/higan/higan-099.ebuild
index 2a660f3b6e1..7bea4f56b14 100644
--- a/games-emulation/higan/higan-099.ebuild
+++ b/games-emulation/higan/higan-099.ebuild
@@ -14,11 +14,12 @@ SRC_URI="http://download.byuu.org/${MY_P}.7z";
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="ao +alsa +icarus openal opengl oss pulseaudio qt4 +sdl udev xv"
+IUSE="ao +alsa +icarus openal opengl oss pulseaudio +sdl udev xv"
 REQUIRED_USE="|| ( ao openal alsa pulseaudio oss )
        || ( xv opengl sdl )"
 
 RDEPEND="
+       x11-libs/gtk+:2
        x11-libs/libX11
        x11-libs/libXext
        icarus? ( x11-libs/gtksourceview:2.0
@@ -39,9 +40,7 @@ RDEPEND="
        opengl? ( virtual/opengl )
        sdl? ( media-libs/libsdl[X,joystick,video] )
        udev? ( virtual/udev )
-       !qt4? ( x11-libs/gtk+:2 )
-       qt4? (  dev-qt/qtcore:4
-                       >=dev-qt/qtgui-4.5:4 )"
+"
 DEPEND="${RDEPEND}
        app-arch/p7zip
        virtual/pkgconfig"
@@ -77,22 +76,12 @@ src_prepare() {
        # input modules
        use sdl || disable_module input.sdl
        use udev || disable_module input.udev
-
-       # regenerate .moc if needed
-       if use qt4; then
-               cd hiro/qt || die
-                "$(qt4_get_bindir)"/moc -i -I. -o qt.moc qt.hpp || die
-       fi
 }
 
 src_compile() {
        local mytoolkit
 
-       if use qt4; then
-               mytoolkit="qt"
-       else
-               mytoolkit="gtk"
-       fi
+       mytoolkit="gtk"
 
        if use icarus; then
                cd "${S}/icarus" || die

Reply via email to