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.2.0.ebuild
Date: Wed, 03 Jun 2009 10:46:05
Message-Id: E1MBnyt-0006kZ-Dk@stork.gentoo.org
1 nyhm 09/06/03 10:46:03
2
3 Modified: ChangeLog
4 Added: warzone2100-2.2.0.ebuild
5 Log:
6 Version bump, bug #272230
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.30 games-strategy/warzone2100/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 10 Apr 2009 02:32:44 -0000 1.29
23 +++ ChangeLog 3 Jun 2009 10:46:03 -0000 1.30
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-strategy/warzone2100
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.29 2009/04/10 02:32:44 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.30 2009/06/03 10:46:03 nyhm Exp $
29 +
30 +*warzone2100-2.2.0 (03 Jun 2009)
31 +
32 + 03 Jun 2009; Tristan Heaven <nyhm@g.o> +warzone2100-2.2.0.ebuild:
33 + Version bump, bug #272230
34
35 *warzone2100-2.1.3 (10 Apr 2009)
36
37
38
39
40 1.1 games-strategy/warzone2100/warzone2100-2.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: warzone2100-2.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2009 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.2.0.ebuild,v 1.1 2009/06/03 10:46:03 nyhm Exp $
50
51 EAPI=2
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 videos? ( http://download.gna.org/warzone/videos/sequences-${MY_PV}.wz )"
59
60 LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domain"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 # upstream requested debug support
64 IUSE="debug nls videos"
65
66 RDEPEND="dev-db/sqlite:3
67 dev-games/physfs
68 dev-libs/popt
69 media-libs/libogg
70 media-libs/libpng
71 media-libs/libsdl[opengl]
72 media-libs/libtheora
73 media-libs/libvorbis
74 media-libs/openal
75 media-libs/sdl-net
76 media-libs/quesoglc
77 virtual/glu
78 virtual/opengl
79 nls? ( virtual/libintl )"
80 DEPEND="${RDEPEND}
81 app-arch/zip
82 dev-util/pkgconfig
83 nls? ( sys-devel/gettext )"
84 RDEPEND="${RDEPEND}
85 media-fonts/dejavu"
86
87 src_configure() {
88 egamesconf \
89 --disable-dependency-tracking \
90 --docdir=/usr/share/doc/${PF} \
91 --localedir=/usr/share/locale \
92 --with-distributor="Gentoo ${PF}" \
93 --with-icondir=/usr/share/pixmaps \
94 --with-applicationdir=/usr/share/applications \
95 $(use_enable debug) \
96 $(use_enable nls)
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 rm -f "${D}"/usr/share/doc/${PF}/COPYING*
102 if use videos ; then
103 insinto "${GAMES_DATADIR}"/${PN}
104 newins "${DISTDIR}"/sequences-${MY_PV}.wz sequences.wz \
105 || die "newins failed"
106 fi
107 prepgamesdirs
108 }