From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-fps/alienarena: ChangeLog alienarena-20091016.ebuild |
Date: | Tue, 03 Nov 2009 23:28:33 |
Message-Id: | E1N5Snf-0003uW-MY@stork.gentoo.org |
1 | nyhm 09/11/03 23:28:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: alienarena-20091016.ebuild |
5 | Log: |
6 | Version bump, bug #290121 |
7 | (Portage version: 2.2_rc48/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.16 games-fps/alienarena/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?rev=1.16&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?rev=1.16&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?r1=1.15&r2=1.16 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v |
19 | retrieving revision 1.15 |
20 | retrieving revision 1.16 |
21 | diff -u -r1.15 -r1.16 |
22 | --- ChangeLog 14 Oct 2009 18:34:20 -0000 1.15 |
23 | +++ ChangeLog 3 Nov 2009 23:28:31 -0000 1.16 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for games-fps/alienarena |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.15 2009/10/14 18:34:20 nyhm Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.16 2009/11/03 23:28:31 nyhm Exp $ |
29 | + |
30 | +*alienarena-20091016 (03 Nov 2009) |
31 | + |
32 | + 03 Nov 2009; Tristan Heaven <nyhm@g.o> +alienarena-20091016.ebuild: |
33 | + Version bump, bug #290121 |
34 | |
35 | *alienarena-20091006 (14 Oct 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 games-fps/alienarena/alienarena-20091016.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/alienarena-20091016.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/alienarena-20091016.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: alienarena-20091016.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-fps/alienarena/alienarena-20091016.ebuild,v 1.1 2009/11/03 23:28:31 nyhm Exp $ |
50 | |
51 | EAPI=2 |
52 | inherit eutils games |
53 | |
54 | MY_PN=alienarena7_32 |
55 | DESCRIPTION="Fast-paced multiplayer deathmatch game" |
56 | HOMEPAGE="http://red.planetarena.org/" |
57 | SRC_URI="http://icculus.org/${PN}/Files/${PN}-linux${PV}.zip" |
58 | |
59 | LICENSE="GPL-2 free-noncomm" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="dedicated opengl" |
63 | |
64 | UIRDEPEND="media-libs/jpeg |
65 | media-libs/openal |
66 | media-libs/libvorbis |
67 | virtual/glu |
68 | virtual/opengl |
69 | x11-libs/libXxf86dga |
70 | x11-libs/libXxf86vm" |
71 | RDEPEND="opengl? ( ${UIRDEPEND} ) |
72 | !opengl? ( !dedicated? ( ${UIRDEPEND} ) ) |
73 | net-misc/curl" |
74 | UIDEPEND="x11-proto/xf86dgaproto |
75 | x11-proto/xf86vidmodeproto" |
76 | DEPEND="${RDEPEND} |
77 | opengl? ( ${UIDEPEND} ) |
78 | !opengl? ( !dedicated? ( ${UIDEPEND} ) ) |
79 | dev-util/pkgconfig |
80 | app-arch/unzip" |
81 | |
82 | S=${WORKDIR}/${MY_PN}/source |
83 | |
84 | src_prepare() { |
85 | rm -f ../*/*.so |
86 | sed -i \ |
87 | -e 's:\($(SHLIBLDFLAGS)\):$(LDFLAGS) \1:' \ |
88 | Makefile \ |
89 | || die "sed failed" |
90 | } |
91 | |
92 | src_compile() { |
93 | emake \ |
94 | ARCH="unknown" \ |
95 | OSTYPE="linux" \ |
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 | } |