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.2.ebuild
Date: Wed, 26 Aug 2009 20:32:33
Message-Id: E1MgE5B-00045d-7J@stork.gentoo.org
1 nyhm 09/08/26 08:42:17
2
3 Modified: ChangeLog
4 Added: warzone2100-2.2.2.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.34 games-strategy/warzone2100/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 16 Jul 2009 11:22:26 -0000 1.33
23 +++ ChangeLog 26 Aug 2009 08:42:16 -0000 1.34
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.33 2009/07/16 11:22:26 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.34 2009/08/26 08:42:16 nyhm Exp $
29 +
30 +*warzone2100-2.2.2 (26 Aug 2009)
31 +
32 + 26 Aug 2009; Tristan Heaven <nyhm@g.o> +warzone2100-2.2.2.ebuild:
33 + Version bump
34
35 16 Jul 2009; Tristan Heaven <nyhm@g.o> warzone2100-2.2.1.ebuild:
36 Depend on dev-games/physfs with zip enabled, bug #277288
37
38
39
40 1.1 games-strategy/warzone2100/warzone2100-2.2.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.2.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.2.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: warzone2100-2.2.2.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.2.ebuild,v 1.1 2009/08/26 08:42:16 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="mirror://sourceforge/warzone2100/${P}.tar.gz
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-2[zip] <dev-games/physfs-2 )
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 debug relaxed) \
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 }