Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/opentyrian: ChangeLog opentyrian-20090423.ebuild opentyrian-20081211.ebuild
Date: Thu, 23 Apr 2009 22:53:35
Message-Id: E1Lx7nQ-0004hF-Bk@stork.gentoo.org
1 chainsaw 09/04/23 22:53:32
2
3 Modified: ChangeLog
4 Added: opentyrian-20090423.ebuild
5 Removed: opentyrian-20081211.ebuild
6 Log:
7 New snapshot, upstream has improved the loudness (music) code. Delete old ebuild.
8 (Portage version: 2.1.6.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 games-arcade/opentyrian/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 15 Apr 2009 14:55:51 -0000 1.4
24 +++ ChangeLog 23 Apr 2009 22:53:32 -0000 1.5
25 @@ -1,6 +1,14 @@
26 # ChangeLog for games-arcade/opentyrian
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.4 2009/04/15 14:55:51 tove Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.5 2009/04/23 22:53:32 chainsaw Exp $
30 +
31 +*opentyrian-20090423 (23 Apr 2009)
32 +
33 + 23 Apr 2009; <chainsaw@g.o> -files/20081211-datapath.diff,
34 + +files/20090423-datapath.diff, -opentyrian-20081211.ebuild,
35 + +opentyrian-20090423.ebuild:
36 + New snapshot, upstream has improved the loudness (music) code. Delete old
37 + ebuild.
38
39 15 Apr 2009; Torsten Veller <tove@g.o> opentyrian-20090222.ebuild:
40 Add ~x86 (#266229)
41
42
43
44 1.1 games-arcade/opentyrian/opentyrian-20090423.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/opentyrian-20090423.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/opentyrian/opentyrian-20090423.ebuild?rev=1.1&content-type=text/plain
48
49 Index: opentyrian-20090423.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/opentyrian-20090423.ebuild,v 1.1 2009/04/23 22:53:32 chainsaw Exp $
54
55 inherit eutils games
56
57 DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter"
58 HOMEPAGE="http://code.google.com/p/opentyrian/"
59 SRC_URI="http://darklomax.org/tyrian/tyrian21.zip
60 mirror://gentoo/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="debug"
66
67 RDEPEND="media-libs/libsdl
68 media-libs/sdl-net"
69 DEPEND="${RDEPEND}
70 app-arch/unzip
71 dev-util/subversion"
72
73 S=${WORKDIR}/${PN}
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78 epatch "${FILESDIR}/${PV}-datapath.diff"
79 if ! use debug; then
80 sed -i -e "s@DEBUG := 1@DEBUG := 0@" "${S}/Makefile" || die "sed failed"
81 fi
82 }
83
84 src_compile() {
85 emake DATA_PATH="${GAMES_DATADIR}/${PN}" || die "Compilation failed"
86 }
87
88 src_install() {
89 dogamesbin tyrian || die "Failed to install game binary"
90 dodoc CREDITS NEWS README || die "Failed to install documentation"
91 domenu opentyrian.desktop || die "Failed to install desktop file"
92 doicon tyrian.xpm || die "Failed to install program icon"
93 insinto "${GAMES_DATADIR}/${PN}"
94 cd "${WORKDIR}/tyrian21"
95 doins * || die "Failed to install game data"
96 prepgamesdirs
97 }