games-emulation/higan: Drop USE=qt4, bug #631788
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 3 Dec 2017 18:52:42 +0000 (19:52 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 3 Dec 2017 19:40:44 +0000 (20:40 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

games-emulation/higan/higan-094.ebuild
games-emulation/higan/higan-099.ebuild

index ec815cc3da6fd5d6b6ce3f8984a186e56b30727d..1401fc403ff38966b1c82308e99ade3f23ed53ff 100644 (file)
@@ -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
index 2a660f3b6e1e1720e23e66732c27ae0fb095470a..7bea4f56b1443ebe7c21244efefdf7a7759e96f3 100644 (file)
@@ -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