Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/
Date: Fri, 18 Dec 2015 10:14:08
Message-Id: 1450431361.517228da801915dd7e004d66fceeb010ba524599.mr_bones_@gentoo
1 commit: 517228da801915dd7e004d66fceeb010ba524599
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 18 09:36:01 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 09:36:01 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517228da
7
8 EAPI=5; minor tidying
9
10 Package-Manager: portage-2.2.24
11
12 games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 15 +++++++--------
13 1 file changed, 7 insertions(+), 8 deletions(-)
14
15 diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
16 index ec3c789..f053438 100644
17 --- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
18 +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 -EAPI=4
24 +EAPI=5
25 inherit eutils games
26
27 CDOGS_DATA="cdogs-data-2007-07-06"
28 @@ -11,31 +11,30 @@ HOMEPAGE="http://lumaki.com/code/cdogs"
29 SRC_URI="http://icculus.org/cdogs-sdl/files/src/${P}.tar.bz2
30 http://icculus.org/cdogs-sdl/files/data/${CDOGS_DATA}.tar.bz2"
31
32 -LICENSE="GPL-2"
33 +LICENSE="GPL-2+"
34 SLOT="0"
35 KEYWORDS="amd64 x86"
36 IUSE=""
37
38 -DEPEND="media-libs/libsdl
39 +DEPEND="media-libs/libsdl[video]
40 media-libs/sdl-mixer"
41 +RDPEND=${DEPEND}
42
43 S=${WORKDIR}/${P}/src
44
45 src_unpack() {
46 unpack ${A}
47 - mv ${CDOGS_DATA} ${P}/data || die "Failed moving data around"
48 + mv ${CDOGS_DATA} ${P}/data || die
49 }
50
51 src_prepare() {
52 sed -i \
53 -e "/^CF_OPT/d" \
54 -e "/^CC/d" \
55 - Makefile \
56 - || die "sed failed"
57 + Makefile || die
58 sed -i \
59 -e "/\bopen(/s/)/, 0666)/" \
60 - files.c \
61 - || die "sed failed"
62 + files.c || die
63 epatch "${FILESDIR}"/${P}-64bit.patch
64 }