Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/arnold/
Date: Mon, 05 Jul 2021 15:48:18
Message-Id: 1625448262.19054dc81c4cddfd929384c2a137874b71fcf3c4.lanodan@gentoo
1 commit: 19054dc81c4cddfd929384c2a137874b71fcf3c4
2 Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
3 AuthorDate: Mon Jul 5 01:23:38 2021 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Mon Jul 5 01:24:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19054dc8
7
8 app-emulation/arnold: wxwidgets eclass does not add x11-libs/wxGTK as a dependency
9
10 Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
11
12 app-emulation/arnold/arnold-20170513.ebuild | 11 ++++++-----
13 1 file changed, 6 insertions(+), 5 deletions(-)
14
15 diff --git a/app-emulation/arnold/arnold-20170513.ebuild b/app-emulation/arnold/arnold-20170513.ebuild
16 index cfd2fa1e7..6704b1763 100644
17 --- a/app-emulation/arnold/arnold-20170513.ebuild
18 +++ b/app-emulation/arnold/arnold-20170513.ebuild
19 @@ -9,26 +9,27 @@ inherit cmake desktop wxwidgets
20
21 DESCRIPTION="Amstrad CPC emulator"
22 HOMEPAGE="http://www.cpctech.org.uk"
23 -SRC_URI="https://cpctech.cpc-live.com/arnsrc.zip -> ${P}.zip"
24 +SRC_URI="http://cpctech.cpc-live.com/arnsrc.zip -> ${P}.zip"
25
26 LICENSE="GPL-2 LGPL-2.1"
27 SLOT="0"
28 KEYWORDS="~amd64 ~x86"
29 IUSE="inkz80"
30
31 -DEPEND="
32 +RDEPEND="
33 media-libs/libsdl2
34 virtual/opengl
35 + x11-libs/wxGTK:${WX_GTK_VER}
36 "
37 -RDEPEND="${DEPEND}"
38 +DEPEND="${RDEPEND}"
39 BDEPEND="app-arch/unzip"
40
41 -S="${WORKDIR}/src"
42 +S=${WORKDIR}/src
43
44 src_prepare() {
45 setup-wxwidgets
46 sed -i "4421s:=.*$:=wxT(\"/usr/share/${PN}/\");:" arngui/arnguiApp.cpp || die
47 - # Prevent running at 150% of original speed
48 + # Prevent running at 150%
49 sed -i '390s/20000/30000/' arngui/sdl2/SDL2PlatformSpecific.cpp || die
50 cmake_src_prepare
51 }