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