Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/warzone2100: ChangeLog warzone2100-2.0.9.ebuild
Date: Tue, 04 Dec 2007 19:07:16
Message-Id: E1Izd6t-0002pU-WD@stork.gentoo.org
1 nyhm 07/12/04 19:07:11
2
3 Modified: ChangeLog
4 Added: warzone2100-2.0.9.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4_rc6)
8
9 Revision Changes Path
10 1.17 games-strategy/warzone2100/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 1 Jul 2007 18:09:17 -0000 1.16
23 +++ ChangeLog 4 Dec 2007 19:07:11 -0000 1.17
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-strategy/warzone2100
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.16 2007/07/01 18:09:17 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.17 2007/12/04 19:07:11 nyhm Exp $
29 +
30 +*warzone2100-2.0.9 (04 Dec 2007)
31 +
32 + 04 Dec 2007; Tristan Heaven <nyhm@g.o> +warzone2100-2.0.9.ebuild:
33 + Version bump
34
35 *warzone2100-2.0.7-r1 (01 Jul 2007)
36
37
38
39
40 1.1 games-strategy/warzone2100/warzone2100-2.0.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: warzone2100-2.0.9.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.9.ebuild,v 1.1 2007/12/04 19:07:11 nyhm Exp $
50
51 inherit versionator games
52
53 MY_PV=$(get_version_component_range -2)
54 DESCRIPTION="3D real-time strategy game"
55 HOMEPAGE="http://wz2100.net/"
56 SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~ppc ~x86"
61 # upstream requested debug support
62 IUSE="debug mp3"
63
64 RDEPEND="dev-games/physfs
65 media-libs/jpeg
66 media-libs/libogg
67 media-libs/libpng
68 media-libs/libsdl
69 media-libs/libvorbis
70 >=media-libs/openal-0.0.8-r1
71 media-libs/sdl-net
72 virtual/glu
73 virtual/opengl
74 mp3? ( media-libs/libmad )"
75 DEPEND="${RDEPEND}
76 app-arch/zip"
77
78 src_unpack() {
79 unpack ${A}
80 cd "${S}"
81 sed -i '/^dist_doc_DATA/s:COPYING.*$:TODO:' Makefile.in || die "sed failed"
82 }
83
84 src_compile() {
85 egamesconf \
86 --disable-dependency-tracking \
87 --docdir=/usr/share/doc/${PF} \
88 --with-icondir=/usr/share/pixmaps \
89 --with-applicationdir=/usr/share/applications \
90 --with-ogg=/usr \
91 --with-vorbis=/usr \
92 --enable-ogg \
93 $(use_enable mp3) \
94 $(use_enable debug) \
95 || die
96 emake || die "emake failed"
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 prepalldocs
102 prepgamesdirs
103 }
104
105
106
107 --
108 gentoo-commits@g.o mailing list