From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-fps/warsow: ChangeLog warsow-0.4.2.ebuild |
Date: | Mon, 17 Mar 2008 07:31:16 |
Message-Id: | E1Jb9oP-0006gM-8c@stork.gentoo.org |
1 | tupone 08/03/17 07:31:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: warsow-0.4.2.ebuild |
5 | Log: |
6 | Version bump to 0.4.2 requested via bug #212706 |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.16 games-fps/warsow/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/warsow/ChangeLog?rev=1.16&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/warsow/ChangeLog?rev=1.16&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/warsow/ChangeLog?r1=1.15&r2=1.16 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v |
19 | retrieving revision 1.15 |
20 | retrieving revision 1.16 |
21 | diff -u -r1.15 -r1.16 |
22 | --- ChangeLog 11 Feb 2008 16:23:52 -0000 1.15 |
23 | +++ ChangeLog 17 Mar 2008 07:31:12 -0000 1.16 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-fps/warsow |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.15 2008/02/11 16:23:52 nyhm Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.16 2008/03/17 07:31:12 tupone Exp $ |
29 | + |
30 | +*warsow-0.4.2 (17 Mar 2008) |
31 | + |
32 | + 17 Mar 2008; Tupone Alfredo <tupone@g.o> |
33 | + +files/warsow-0.4.2-build.patch, +warsow-0.4.2.ebuild: |
34 | + Version bump to 0.4.2 requested via bug #212706 from Norman Jonas |
35 | |
36 | *warsow-0.4.1 (11 Feb 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 games-fps/warsow/warsow-0.4.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/warsow/warsow-0.4.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/warsow/warsow-0.4.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: warsow-0.4.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-0.4.2.ebuild,v 1.1 2008/03/17 07:31:12 tupone Exp $ |
51 | |
52 | inherit eutils toolchain-funcs versionator games |
53 | |
54 | MY_P=${PN}_$(delete_version_separator 2) |
55 | DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)" |
56 | HOMEPAGE="http://www.warsow.net/" |
57 | SRC_URI="http://tastyspleen.net/quake/downloads/mods/warsow/${MY_P}_unified.zip |
58 | http://tastyspleen.net/quake/downloads/mods/warsow/${MY_P}_sdk.zip |
59 | mirror://gentoo/${PN}.png" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="debug dedicated irc openal opengl" |
65 | |
66 | UIRDEPEND="media-libs/jpeg |
67 | media-libs/libvorbis |
68 | media-libs/libsdl |
69 | net-misc/curl |
70 | virtual/opengl |
71 | x11-libs/libXinerama |
72 | x11-libs/libXxf86dga |
73 | x11-libs/libXxf86vm |
74 | openal? ( media-libs/openal )" |
75 | RDEPEND="opengl? ( ${UIRDEPEND} ) |
76 | !opengl? ( !dedicated? ( ${UIRDEPEND} ) )" |
77 | UIDEPEND="x11-proto/xineramaproto |
78 | x11-proto/xf86dgaproto |
79 | x11-proto/xf86vidmodeproto" |
80 | DEPEND="${RDEPEND} |
81 | app-arch/unzip |
82 | x11-misc/makedepend |
83 | opengl? ( ${UIDEPEND} ) |
84 | !opengl? ( !dedicated? ( ${UIDEPEND} ) )" |
85 | |
86 | S=${WORKDIR}/${MY_P}_src/source |
87 | |
88 | src_unpack() { |
89 | unpack ${A} |
90 | cd "${S}" |
91 | |
92 | sed -i \ |
93 | -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \ |
94 | qcommon/files.c \ |
95 | || die "sed files.c failed" |
96 | |
97 | epatch "${FILESDIR}"/${P}-build.patch |
98 | } |
99 | |
100 | src_compile() { |
101 | yesno() { use ${1} && echo YES || echo NO ; } |
102 | |
103 | local client="NO" irc="NO" openal="NO" |
104 | if use opengl || ! use dedicated ; then |
105 | client="YES" |
106 | use irc && irc="YES" |
107 | use openal && openal="YES" |
108 | fi |
109 | |
110 | emake \ |
111 | BUILD_CLIENT=${client} \ |
112 | BUILD_SERVER=$(yesno dedicated) \ |
113 | BUILD_TV_SERVER=$(yesno dedicated) \ |
114 | BUILD_IRC=${irc} \ |
115 | BUILD_SND_OPENAL=${openal} \ |
116 | BUILD_SND_QF=${client} \ |
117 | DEBUG_BUILD=$(yesno debug) \ |
118 | CC="$(tc-getCC)" \ |
119 | LD="$(tc-getCC)" \ |
120 | || die "emake failed" |
121 | } |
122 | |
123 | src_install() { |
124 | cd release |
125 | |
126 | if use opengl || ! use dedicated ; then |
127 | newgamesbin ${PN}.* ${PN} || die "newgamesbin ${PN} failed" |
128 | doicon "${DISTDIR}"/${PN}.png |
129 | make_desktop_entry ${PN} Warsow |
130 | fi |
131 | |
132 | if use dedicated ; then |
133 | newgamesbin wsw_server.* ${PN}-ded || die "newgamesbin ${PN}-ded failed" |
134 | newgamesbin wswtv_server.* ${PN}-tv || die "newgamesbin ${PN}-tv failed" |
135 | fi |
136 | |
137 | exeinto "$(games_get_libdir)"/${PN} |
138 | doexe */*.so || die "doexe failed" |
139 | |
140 | insinto "${GAMES_DATADIR}"/${PN} |
141 | doins -r "${WORKDIR}"/${MY_P}_unified/basewsw || die "doins failed" |
142 | |
143 | local so |
144 | for so in basewsw/*.so ; do |
145 | dosym "$(games_get_libdir)"/${PN}/${so##*/} \ |
146 | "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed" |
147 | done |
148 | |
149 | dodir "${GAMES_DATADIR}"/${PN}/libs |
150 | for so in libs/*.so ; do |
151 | dosym "$(games_get_libdir)"/${PN}/${so##*/} \ |
152 | "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed" |
153 | done |
154 | |
155 | dodoc "${WORKDIR}"/docs/* |
156 | prepgamesdirs |
157 | } |
158 | |
159 | |
160 | |
161 | -- |
162 | gentoo-commits@l.g.o mailing list |