From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-fps/alienarena: ChangeLog alienarena-20091227.ebuild |
Date: | Tue, 29 Dec 2009 05:09:20 |
Message-Id: | E1NPUKX-0001HF-QQ@stork.gentoo.org |
1 | mr_bones_ 09/12/29 05:09:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: alienarena-20091227.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.6.13/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.17 games-fps/alienarena/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?rev=1.17&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?rev=1.17&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/ChangeLog?r1=1.16&r2=1.17 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v |
19 | retrieving revision 1.16 |
20 | retrieving revision 1.17 |
21 | diff -u -r1.16 -r1.17 |
22 | --- ChangeLog 3 Nov 2009 23:28:31 -0000 1.16 |
23 | +++ ChangeLog 29 Dec 2009 05:09:13 -0000 1.17 |
24 | @@ -1,6 +1,12 @@ |
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.16 2009/11/03 23:28:31 nyhm Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.17 2009/12/29 05:09:13 mr_bones_ Exp $ |
29 | + |
30 | +*alienarena-20091227 (29 Dec 2009) |
31 | + |
32 | + 29 Dec 2009; Michael Sterrett <mr_bones_@g.o> |
33 | + +alienarena-20091227.ebuild: |
34 | + version bump |
35 | |
36 | *alienarena-20091016 (03 Nov 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 games-fps/alienarena/alienarena-20091227.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/alienarena-20091227.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/alienarena-20091227.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: alienarena-20091227.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-fps/alienarena/alienarena-20091227.ebuild,v 1.1 2009/12/29 05:09:13 mr_bones_ Exp $ |
51 | |
52 | EAPI=2 |
53 | inherit eutils games |
54 | |
55 | MY_PN=alienarena7_33 |
56 | DESCRIPTION="Fast-paced multiplayer deathmatch game" |
57 | HOMEPAGE="http://red.planetarena.org/" |
58 | SRC_URI="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.zip" |
59 | |
60 | LICENSE="GPL-2 free-noncomm" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="dedicated opengl" |
64 | |
65 | UIRDEPEND="media-libs/jpeg |
66 | media-libs/openal |
67 | media-libs/libvorbis |
68 | virtual/glu |
69 | virtual/opengl |
70 | x11-libs/libXxf86dga |
71 | x11-libs/libXxf86vm" |
72 | RDEPEND="opengl? ( ${UIRDEPEND} ) |
73 | !opengl? ( !dedicated? ( ${UIRDEPEND} ) ) |
74 | net-misc/curl" |
75 | UIDEPEND="x11-proto/xf86dgaproto |
76 | x11-proto/xf86vidmodeproto" |
77 | DEPEND="${RDEPEND} |
78 | opengl? ( ${UIDEPEND} ) |
79 | !opengl? ( !dedicated? ( ${UIDEPEND} ) ) |
80 | dev-util/pkgconfig |
81 | app-arch/unzip" |
82 | |
83 | S=${WORKDIR}/${MY_PN}/source |
84 | |
85 | src_prepare() { |
86 | rm -f ../*/*.so |
87 | sed -i \ |
88 | -e 's:\($(SHLIBLDFLAGS)\):$(LDFLAGS) \1:' \ |
89 | Makefile \ |
90 | || die "sed failed" |
91 | } |
92 | |
93 | src_compile() { |
94 | emake \ |
95 | ARCH="unknown" \ |
96 | OSTYPE="linux" \ |
97 | OPTIMIZED_CFLAGS=no \ |
98 | WITH_DATADIR=yes \ |
99 | WITH_LIBDIR=yes \ |
100 | DATADIR="${GAMES_DATADIR}"/${PN} \ |
101 | LIBDIR="$(games_get_libdir)"/${PN} \ |
102 | $(use opengl && ! use dedicated && echo BUILD=CLIENT) \ |
103 | $(! use opengl && use dedicated && echo BUILD=DEDICATED) \ |
104 | $(use opengl && use dedicated && echo BUILD=ALL) \ |
105 | $(use opengl || use dedicated || echo BUILD=CLIENT) \ |
106 | || die "emake failed" |
107 | } |
108 | |
109 | src_install() { |
110 | cd release |
111 | exeinto "$(games_get_libdir)"/${PN} |
112 | doexe game.so || die "doexe failed" |
113 | dosym . "$(games_get_libdir)"/${PN}/arena |
114 | dosym . "$(games_get_libdir)"/${PN}/data1 |
115 | |
116 | if use opengl || ! use dedicated ; then |
117 | newgamesbin crx ${PN} || die "newgamesbin crx failed" |
118 | make_desktop_entry ${PN} "Alien Arena" |
119 | fi |
120 | |
121 | if use dedicated ; then |
122 | newgamesbin crded ${PN}-ded || die "newgamesbin crded failed" |
123 | fi |
124 | |
125 | cd "${WORKDIR}"/${MY_PN} |
126 | insinto "${GAMES_DATADIR}"/${PN} |
127 | doins -r arena botinfo data1 || die "doins failed" |
128 | newicon aa.png ${PN}.png || die "newicon failed" |
129 | dodoc docs/README.txt |
130 | |
131 | prepgamesdirs |
132 | } |