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