Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/warzone2100: ChangeLog warzone2100-2.3.0.ebuild
Date: Sun, 25 Apr 2010 23:13:10
Message-Id: 20100425223604.EE80A2C05F@corvid.gentoo.org
1 mr_bones_ 10/04/25 22:36:04
2
3 Modified: ChangeLog
4 Added: warzone2100-2.3.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.40 games-strategy/warzone2100/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 23 Jan 2010 15:45:33 -0000 1.39
23 +++ ChangeLog 25 Apr 2010 22:36:04 -0000 1.40
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-strategy/warzone2100
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.39 2010/01/23 15:45:33 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.40 2010/04/25 22:36:04 mr_bones_ Exp $
29 +
30 +*warzone2100-2.3.0 (25 Apr 2010)
31 +
32 + 25 Apr 2010; Michael Sterrett <mr_bones_@g.o>
33 + +warzone2100-2.3.0.ebuild:
34 + version bump
35
36 23 Jan 2010; Brent Baude <ranger@g.o> warzone2100-2.2.4.ebuild:
37 stable ppc, bug 296688
38
39
40
41 1.1 games-strategy/warzone2100/warzone2100-2.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/warzone2100/warzone2100-2.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: warzone2100-2.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.3.0.ebuild,v 1.1 2010/04/25 22:36:04 mr_bones_ Exp $
51
52 EAPI=2
53 inherit versionator games
54
55 MY_PV=$(get_version_component_range -2)
56 VIDEO_PV=2.2
57 DESCRIPTION="3D real-time strategy game"
58 HOMEPAGE="http://wz2100.net/"
59 SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.gz
60 videos? ( http://download.gna.org/warzone/videos/sequences-${VIDEO_PV}.wz )"
61
62 LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domain"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 # upstream requested debug support
66 IUSE="debug nls +videos"
67
68 RDEPEND="dev-db/sqlite:3
69 >=dev-games/physfs-2[zip]
70 dev-libs/popt
71 media-libs/libogg
72 media-libs/libpng
73 media-libs/libsdl[opengl,video]
74 media-libs/libtheora
75 media-libs/libvorbis
76 media-libs/openal
77 media-libs/sdl-net
78 media-libs/quesoglc
79 virtual/glu
80 virtual/opengl
81 nls? ( virtual/libintl )"
82 DEPEND="${RDEPEND}
83 app-arch/zip
84 dev-util/pkgconfig
85 nls? ( sys-devel/gettext )"
86 RDEPEND="${RDEPEND}
87 media-fonts/dejavu"
88
89 src_configure() {
90 egamesconf \
91 --disable-dependency-tracking \
92 --docdir=/usr/share/doc/${PF} \
93 --localedir=/usr/share/locale \
94 --with-distributor="Gentoo ${PF}" \
95 --with-icondir=/usr/share/pixmaps \
96 --with-applicationdir=/usr/share/applications \
97 $(use_enable debug debug relaxed) \
98 $(use_enable nls)
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die "emake install failed"
103 rm -f "${D}"/usr/share/doc/${PF}/COPYING*
104 if use videos ; then
105 insinto "${GAMES_DATADIR}"/${PN}
106 newins "${DISTDIR}"/sequences-${VIDEO_PV}.wz sequences.wz \
107 || die "newins failed"
108 fi
109 prepgamesdirs
110 }