Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/
Date: Sat, 02 Apr 2022 09:03:24
Message-Id: 1648890157.a9e4b52409935d31b8fa5d8275eb33124c98aa5d.chewi@gentoo
1 commit: a9e4b52409935d31b8fa5d8275eb33124c98aa5d
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Fri Apr 1 19:10:31 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 09:02:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e4b524
7
8 games-fps/rott: EAPI8 bump, use HTTPS, fix calling cc directly
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Closes: https://github.com/gentoo/gentoo/pull/24855
13 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
14
15 games-fps/rott/rott-1.1.2-r1.ebuild | 18 +++++++++++-------
16 1 file changed, 11 insertions(+), 7 deletions(-)
17
18 diff --git a/games-fps/rott/rott-1.1.2-r1.ebuild b/games-fps/rott/rott-1.1.2-r1.ebuild
19 index 915ad6efa315..a11a0d2074c1 100644
20 --- a/games-fps/rott/rott-1.1.2-r1.ebuild
21 +++ b/games-fps/rott/rott-1.1.2-r1.ebuild
22 @@ -1,24 +1,27 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=6
28 +EAPI=8
29 +
30 +inherit toolchain-funcs
31
32 DESCRIPTION="Rise of the Triad for Linux!"
33 -HOMEPAGE="http://www.icculus.org/rott/"
34 -SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
35 +HOMEPAGE="https://www.icculus.org/rott/"
36 +SRC_URI="https://www.icculus.org/rott/releases/${P}.tar.gz
37 demo? ( http://filesingularity.timedoctor.org/swdata.zip )"
38
39 -LICENSE="GPL-2"
40 +LICENSE="GPL-2+"
41 SLOT="0"
42 KEYWORDS="~amd64 ~x86"
43 IUSE="demo"
44
45 -RDEPEND="media-libs/libsdl[sound,joystick,video]
46 +RDEPEND="
47 + media-libs/libsdl[sound,joystick,video]
48 media-libs/sdl-mixer"
49 DEPEND="${RDEPEND}
50 app-arch/unzip"
51
52 -S=${WORKDIR}/${P}/rott
53 +S="${WORKDIR}/${P}/rott"
54
55 src_prepare() {
56 default
57 @@ -30,6 +33,7 @@ src_prepare() {
58 }
59
60 src_compile() {
61 + tc-export CC
62 emake -j1 \
63 EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"/usr/share/${PN}/\\\"" \
64 SHAREWARE=$(usex demo "1" "0")