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-fps/alienarena: alienarena-20090616.ebuild ChangeLog
Date: Sun, 21 Jun 2009 09:29:34
Message-Id: E1MIJMh-0004oO-Kw@stork.gentoo.org
1 nyhm 09/06/21 09:29:31
2
3 Modified: ChangeLog
4 Added: alienarena-20090616.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.13 games-fps/alienarena/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 22 Dec 2008 17:20:30 -0000 1.12
23 +++ ChangeLog 21 Jun 2009 09:29:31 -0000 1.13
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-fps/alienarena
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.12 2008/12/22 17:20:30 nyhm Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.13 2009/06/21 09:29:31 nyhm Exp $
30 +
31 +*alienarena-20090616 (21 Jun 2009)
32 +
33 + 21 Jun 2009; Tristan Heaven <nyhm@g.o> +alienarena-20090616.ebuild,
34 + +files/alienarena-20090616-path-overflows.patch:
35 + Version bump
36
37 *alienarena-20081016 (22 Dec 2008)
38
39
40
41
42 1.1 games-fps/alienarena/alienarena-20090616.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/alienarena-20090616.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/alienarena-20090616.ebuild?rev=1.1&content-type=text/plain
46
47 Index: alienarena-20090616.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/alienarena-20090616.ebuild,v 1.1 2009/06/21 09:29:31 nyhm Exp $
52
53 EAPI=2
54 inherit eutils toolchain-funcs games
55
56 MY_PN=${PN}${PV:0:4}
57 DESCRIPTION="Fast-paced multiplayer deathmatch game"
58 HOMEPAGE="http://red.planetarena.org/"
59 SRC_URI="http://icculus.org/${PN}/Files/${MY_PN}-linux${PV}.zip"
60
61 LICENSE="GPL-2 free-noncomm"
62 SLOT="0"
63 KEYWORDS="" # ~amd64 ~x86
64 IUSE="dedicated opengl"
65
66 UIRDEPEND="media-libs/jpeg
67 media-libs/openal
68 media-libs/libvorbis
69 virtual/glu
70 virtual/opengl
71 x11-libs/libXxf86dga
72 x11-libs/libXxf86vm"
73 RDEPEND="opengl? ( ${UIRDEPEND} )
74 !opengl? ( !dedicated? ( ${UIRDEPEND} ) )
75 net-misc/curl"
76 UIDEPEND="x11-proto/xf86dgaproto
77 x11-proto/xf86vidmodeproto"
78 DEPEND="${RDEPEND}
79 opengl? ( ${UIDEPEND} )
80 !opengl? ( !dedicated? ( ${UIDEPEND} ) )
81 dev-util/pkgconfig
82 app-arch/unzip"
83
84 S=${WORKDIR}/${MY_PN}/source
85
86 src_prepare() {
87 rm -f ../*/*.so
88 epatch "${FILESDIR}"/${P}-path-overflows.patch
89 }
90
91 src_compile() {
92 emake \
93 ARCH="unknown" \
94 OSTYPE="linux" \
95 CC="$(tc-getCC)" \
96 OPTIMIZED_CFLAGS=no \
97 WITH_DATADIR=yes \
98 WITH_LIBDIR=yes \
99 DATADIR="${GAMES_DATADIR}"/${PN} \
100 LIBDIR="$(games_get_libdir)"/${PN} \
101 $(use opengl && ! use dedicated && echo BUILD=CLIENT) \
102 $(! use opengl && use dedicated && echo BUILD=DEDICATED) \
103 $(use opengl && use dedicated && echo BUILD=ALL) \
104 $(use opengl || use dedicated || echo BUILD=CLIENT) \
105 || die "emake failed"
106 }
107
108 src_install() {
109 cd release
110 exeinto "$(games_get_libdir)"/${PN}
111 doexe game.so || die "doexe failed"
112 dosym . "$(games_get_libdir)"/${PN}/arena
113 dosym . "$(games_get_libdir)"/${PN}/data1
114
115 if use opengl || ! use dedicated ; then
116 newgamesbin crx ${PN} || die "newgamesbin crx failed"
117 make_desktop_entry ${PN} "Alien Arena"
118 fi
119
120 if use dedicated ; then
121 newgamesbin crded ${PN}-ded || die "newgamesbin crded failed"
122 fi
123
124 cd "${WORKDIR}"/${MY_PN}
125 insinto "${GAMES_DATADIR}"/${PN}
126 doins -r arena botinfo data1 || die "doins failed"
127 newicon aa.png ${PN}.png || die "newicon failed"
128 dodoc docs/README.txt
129
130 prepgamesdirs
131 }