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.10.ebuild
Date: Sun, 30 Dec 2007 01:38:23
Message-Id: E1J8n81-0006pg-5a@stork.gentoo.org
1 nyhm 07/12/30 01:38:13
2
3 Modified: ChangeLog
4 Added: warzone2100-2.0.10.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.18 games-strategy/warzone2100/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.18&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.18&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.17&r2=1.18
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v
19 retrieving revision 1.17
20 retrieving revision 1.18
21 diff -u -r1.17 -r1.18
22 --- ChangeLog 4 Dec 2007 19:07:11 -0000 1.17
23 +++ ChangeLog 30 Dec 2007 01:38:12 -0000 1.18
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.17 2007/12/04 19:07:11 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.18 2007/12/30 01:38:12 nyhm Exp $
29 +
30 +*warzone2100-2.0.10 (30 Dec 2007)
31 +
32 + 30 Dec 2007; Tristan Heaven <nyhm@g.o> +warzone2100-2.0.10.ebuild:
33 + Version bump
34
35 *warzone2100-2.0.9 (04 Dec 2007)
36
37
38
39
40 1.1 games-strategy/warzone2100/warzone2100-2.0.10.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.10.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.10.ebuild?rev=1.1&content-type=text/plain
44
45 Index: warzone2100-2.0.10.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.10.ebuild,v 1.1 2007/12/30 01:38:12 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-distributor="Gentoo ${PF}" \
89 --with-icondir=/usr/share/pixmaps \
90 --with-applicationdir=/usr/share/applications \
91 --with-ogg=/usr \
92 --with-vorbis=/usr \
93 --enable-ogg \
94 $(use_enable mp3) \
95 $(use_enable debug) \
96 || die
97 emake || die "emake failed"
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "emake install failed"
102 prepalldocs
103 prepgamesdirs
104 }
105
106
107
108 --
109 gentoo-commits@g.o mailing list