Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/sdlsasteroids/
Date: Wed, 02 Jun 2021 12:51:02
Message-Id: 1622636484.0cdf9a57d4d1a49f90a490d50e96884a8fd2976d.sam@gentoo
1 commit: 0cdf9a57d4d1a49f90a490d50e96884a8fd2976d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 2 11:55:19 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 2 12:21:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdf9a57
7
8 games-arcade/sdlsasteroids: add virtual/glu dep
9
10 Closes: https://bugs.gentoo.org/739114
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild | 19 ++++++++++++-------
14 1 file changed, 12 insertions(+), 7 deletions(-)
15
16 diff --git a/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild b/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild
17 index ca199ae1cbe..aa5cf2f17d8 100644
18 --- a/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild
19 +++ b/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild
20 @@ -1,32 +1,35 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27 +
28 inherit desktop
29
30 DESCRIPTION="Rework of Sasteroids using SDL"
31 HOMEPAGE="http://sdlsas.sourceforge.net/"
32 SRC_URI="mirror://sourceforge/sdlsas/SDLSasteroids-${PV}.tar.gz"
33 +S="${WORKDIR}/SDLSasteroids-${PV}"
34
35 LICENSE="sdlsasteroids GPL-2+ public-domain"
36 SLOT="0"
37 KEYWORDS="~amd64 ~x86"
38 -IUSE=""
39
40 -DEPEND="virtual/opengl
41 +DEPEND="
42 media-libs/sdl-mixer
43 media-libs/libsdl[sound,joystick,video]
44 media-libs/sdl-image[png]
45 - media-libs/sdl-ttf"
46 + media-libs/sdl-ttf
47 + virtual/opengl
48 + virtual/glu"
49 RDEPEND="${DEPEND}"
50
51 -S="${WORKDIR}/SDLSasteroids-${PV}"
52 -
53 src_prepare() {
54 default
55 +
56 eapply \
57 "${FILESDIR}"/${P}-gcc43.patch \
58 "${FILESDIR}"/${P}-ldflags.patch
59 +
60 sed -i \
61 -e 's/make /$(MAKE) /' \
62 -e 's/--strip//' \
63 @@ -47,11 +50,13 @@ src_compile() {
64
65 src_install() {
66 dodir /usr/share/man/man6/
67 +
68 emake \
69 GAMEDIR="${D}/usr/share/${PN}" \
70 BINDIR="${D}/usr/bin" \
71 MANDIR="${D}/usr/share/man/" \
72 install
73 +
74 dodoc ChangeLog README README.xast TODO description
75 newicon graphics/sprite/bigast.png ${PN}.png
76 make_desktop_entry sasteroids "Sasteroids" ${PN}