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: warzone2100-2.1.1.ebuild ChangeLog
Date: Wed, 21 Jan 2009 22:09:26
Message-Id: E1LPlGG-0000FR-EM@stork.gentoo.org
1 nyhm 09/01/21 22:09:24
2
3 Modified: ChangeLog
4 Added: warzone2100-2.1.1.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.26 games-strategy/warzone2100/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.26&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.26&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.25&r2=1.26
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v
19 retrieving revision 1.25
20 retrieving revision 1.26
21 diff -u -r1.25 -r1.26
22 --- ChangeLog 22 Dec 2008 02:41:36 -0000 1.25
23 +++ ChangeLog 21 Jan 2009 22:09:24 -0000 1.26
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-strategy/warzone2100
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.25 2008/12/22 02:41:36 nyhm Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.26 2009/01/21 22:09:24 nyhm Exp $
30 +
31 +*warzone2100-2.1.1 (21 Jan 2009)
32 +
33 + 21 Jan 2009; Tristan Heaven <nyhm@g.o> +warzone2100-2.1.1.ebuild:
34 + Version bump
35
36 *warzone2100-2.1.0 (22 Dec 2008)
37
38
39
40
41 1.1 games-strategy/warzone2100/warzone2100-2.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: warzone2100-2.1.1.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-strategy/warzone2100/warzone2100-2.1.1.ebuild,v 1.1 2009/01/21 22:09:24 nyhm Exp $
51
52 inherit versionator games
53
54 MY_PV=$(get_version_component_range -2)
55 DESCRIPTION="3D real-time strategy game"
56 HOMEPAGE="http://wz2100.net/"
57 SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/${P}.tar.bz2"
58
59 LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domain"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 # upstream requested debug support
63 IUSE="debug nls"
64
65 RDEPEND="dev-games/physfs
66 dev-libs/popt
67 media-libs/jpeg
68 media-libs/libogg
69 media-libs/libpng
70 media-libs/libsdl
71 media-libs/libvorbis
72 media-libs/openal
73 media-libs/sdl-net
74 media-libs/quesoglc
75 virtual/glu
76 virtual/opengl
77 nls? ( virtual/libintl )"
78 DEPEND="${RDEPEND}
79 app-arch/zip
80 dev-util/pkgconfig
81 nls? ( sys-devel/gettext )"
82 RDEPEND="${RDEPEND}
83 media-fonts/dejavu"
84
85 src_compile() {
86 egamesconf \
87 --disable-dependency-tracking \
88 --docdir=/usr/share/doc/${PF} \
89 --localedir=/usr/share/locale \
90 --with-distributor="Gentoo ${PF}" \
91 --with-icondir=/usr/share/pixmaps \
92 --with-applicationdir=/usr/share/applications \
93 $(use_enable debug) \
94 $(use_enable nls) \
95 || die
96 emake || die "emake failed"
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 rm -f "${D}"/usr/share/doc/${PF}/COPYING*
102 prepgamesdirs
103 }