commit:     19054dc81c4cddfd929384c2a137874b71fcf3c4
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Mon Jul  5 01:23:38 2021 +0000
Commit:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Mon Jul  5 01:24:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19054dc8

app-emulation/arnold: wxwidgets eclass does not add x11-libs/wxGTK as a 
dependency

Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>

 app-emulation/arnold/arnold-20170513.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/app-emulation/arnold/arnold-20170513.ebuild 
b/app-emulation/arnold/arnold-20170513.ebuild
index cfd2fa1e7..6704b1763 100644
--- a/app-emulation/arnold/arnold-20170513.ebuild
+++ b/app-emulation/arnold/arnold-20170513.ebuild
@@ -9,26 +9,27 @@ inherit cmake desktop wxwidgets
 
 DESCRIPTION="Amstrad CPC emulator"
 HOMEPAGE="http://www.cpctech.org.uk";
-SRC_URI="https://cpctech.cpc-live.com/arnsrc.zip -> ${P}.zip"
+SRC_URI="http://cpctech.cpc-live.com/arnsrc.zip -> ${P}.zip"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="inkz80"
 
-DEPEND="
+RDEPEND="
        media-libs/libsdl2
        virtual/opengl
+       x11-libs/wxGTK:${WX_GTK_VER}
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
 BDEPEND="app-arch/unzip"
 
-S="${WORKDIR}/src"
+S=${WORKDIR}/src
 
 src_prepare() {
        setup-wxwidgets
        sed -i "4421s:=.*$:=wxT(\"/usr/share/${PN}/\");:" arngui/arnguiApp.cpp 
|| die
-       # Prevent running at 150% of original speed
+       # Prevent running at 150%
        sed -i '390s/20000/30000/' arngui/sdl2/SDL2PlatformSpecific.cpp || die
        cmake_src_prepare
 }

Reply via email to