Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/sdb/
Date: Wed, 23 Jun 2021 02:24:53
Message-Id: 1624414956.8bcb1024a1ded07b09bbaaebdf3c707c3fb8dcfd.ionen@gentoo
1 commit: 8bcb1024a1ded07b09bbaaebdf3c707c3fb8dcfd
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 23 00:06:33 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 23 02:22:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bcb1024
7
8 games-arcade/sdb: drop 1.0.2-r1
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 games-arcade/sdb/sdb-1.0.2-r1.ebuild | 54 ------------------------------------
13 1 file changed, 54 deletions(-)
14
15 diff --git a/games-arcade/sdb/sdb-1.0.2-r1.ebuild b/games-arcade/sdb/sdb-1.0.2-r1.ebuild
16 deleted file mode 100644
17 index 6456cfc460c..00000000000
18 --- a/games-arcade/sdb/sdb-1.0.2-r1.ebuild
19 +++ /dev/null
20 @@ -1,54 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -inherit desktop toolchain-funcs
26 -
27 -DESCRIPTION="A 2D top-down action game; escape a facility full of walking death machines"
28 -HOMEPAGE="http://sdb.gamecreation.org/"
29 -SRC_URI="http://gcsociety.sp.cs.cmu.edu/~frenzy/${P}.tar.gz"
30 -
31 -LICENSE="GPL-2"
32 -SLOT="0"
33 -KEYWORDS="~amd64 ~x86"
34 -IUSE=""
35 -
36 -DEPEND="virtual/opengl
37 - media-libs/libsdl
38 - media-libs/sdl-image[png]
39 - media-libs/sdl-mixer"
40 -RDEPEND="${DEPEND}"
41 -
42 -PATCHES=(
43 - "${FILESDIR}"/${P}-endian.patch
44 - "${FILESDIR}"/${P}-gcc43.patch
45 - "${FILESDIR}"/${P}-ldflags.patch
46 - "${FILESDIR}"/${P}-gcc-11.patch
47 -)
48 -
49 -src_prepare() {
50 - default
51 - sed -i \
52 - -e "s:models/:/usr/share/${PN}/models/:" \
53 - -e "s:snd/:/usr/share/${PN}/snd/:" \
54 - -e "s:sprites/:/usr/share/${PN}/sprites/:" \
55 - -e "s:levels/:/usr/share/${PN}/levels/:" \
56 - src/sdb.h src/game.cpp || die "setting game paths"
57 -}
58 -
59 -src_compile() {
60 - emake \
61 - -C src \
62 - CXXFLAGS="${CXXFLAGS} $(sdl-config --cflags)" \
63 - CC=$(tc-getCC) \
64 - CPP=$(tc-getCXX)
65 -}
66 -
67 -src_install() {
68 - dobin src/sdb
69 - insinto /usr/share/${PN}
70 - doins -r levels models snd sprites
71 - newicon sprites/barrel.png ${PN}.png
72 - make_desktop_entry sdb "Shotgun Debugger"
73 - einstalldocs
74 -}