Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87993 Details for
Bug 98322
New ebuild request for Warsow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
warsow-0.11.ebuild
warsow-0.11.ebuild (text/plain), 3.27 KB, created by
Paul Bredbury
on 2006-05-31 09:27:00 UTC
(
hide
)
Description:
warsow-0.11.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-05-31 09:27:00 UTC
Size:
3.27 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >MY_PV=${PV/_/} >F=${PN}_${MY_PV}_linux.tar.gz >SDK=${PN}_${MY_PV}_sdk.zip > >DESCRIPTION="Multiplayer FPS based on the Quake 2 engine" >HOMEPAGE="http://www.warsow.net/" >SRC_URI="http://www.vermaele.be/${PN}/${F} > http://gamer-convention.de/~${PN}/${F} > http://wsw.surreal-xenotronic.com/${F} > ftp://ftp.multiplay.co.uk/pub/games/fps/${PN}/game/linux/${F} > http://warsow.aditsystems.com/${F} > http://www.fatalerror.be/${PN}/${F} > http://warsow.dravennet.de/${MY_PV}/${F} > ftp://ftp.grolier.fr/pub/games/nofrag/${PN}/${F} > http://www.vermaele.be/${PN}/${SDK} > http://gamer-convention.de/~${PN}/${SDK} > http://wsw.surreal-xenotronic.com/${SDK} > http://warsow.aditsystems.com/${SDK} > http://warsow.dravennet.de/${MY_PV}/${SDK}" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >RESTRICT="strip" >IUSE="dedicated sdl" > >UIDEPEND="net-misc/curl > >=media-libs/libsdl-1.2.8-r1 > >=media-libs/sdl-sound-1.0.1-r1 > virtual/opengl > || ( > ( > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp > x11-libs/libXext > x11-proto/xf86dgaproto > x11-proto/xf86vidmodeproto > x11-proto/xproto ) > virtual/x11 )" >RDEPEND="media-libs/jpeg > sys-libs/glibc > sys-libs/zlib > sdl? ( ${UIDEPEND} ) > !sdl? ( !dedicated? ( ${UIDEPEND} ) )" >DEPEND="${RDEPEND} > !games-fps/warsow-bin > app-arch/unzip" > >S=${WORKDIR}/source/source >SDATA=${WORKDIR}/${PN} >dir=${GAMES_DATADIR}/${PN} > >src_unpack() { > unpack ${A} > cd "${S}" > > # Make fs_usehomedir default to 1, so the game will write to ~/.warsow/ > # Make fs_basepath default to correct path > sed -i qcommon/files.c \ > -e 's:"fs_usehomedir", "0":"fs_usehomedir", "1":' \ > -e "s:\"fs_basepath\", \"\.\":\"fs_basepath\", \"${dir}\":" \ > || die "sed files.c failed" > > # Remove pre-compiled binaries, because they are compiled in src_compile() > rm "${SDATA}"/{${PN}{,.x86_64},wswBrowser,wsw_server{,.x86_64}} > > # Remove pre-compiled libraries, because they are compiled in src_compile() > rm "${SDATA}"/basewsw/*.so > > # Remove copy of licence > rm "${SDATA}"/docs/gnu.txt >} > >src_compile() { > local makeopts="game" > > if use sdl || ! use dedicated ; then > # Compile client > makeopts="${makeopts} client cgame ui" > fi > if use dedicated ; then > # Compile server > makeopts="${makeopts} ded" > fi > > emake BINDIR=release ${makeopts} || die "emake failed" > cp -r release/basewsw "${SDATA}" || die "cp basewsw failed" >} > >src_install() { > local ext icon="levelshots/wdm1.jpg" > > cd "${SDATA}" > > if [[ -e "${S}/release/wsw_server" ]] ; then > # Install server-only components > dogamesbin "${S}/release/wsw_server" \ > || die "dogamesbin dedicated failed" > fi > > if [[ -e "${S}/release/${PN}" ]] ; then > # Install client-only components > dogamesbin "${S}/release/${PN}" \ > || die "dogamesbin sdl failed" > # UI setup > # Extract icon - doesn't show in Gnome though > unzip basewsw/data0.pk3 "${icon}" || die "unzip data0.pk3 failed" > ext=${icon##*.} > newicon "${icon}" "${PN}.${ext}" && rm "${icon}" || die "newicon failed" > make_desktop_entry ${PN} "Warsow" "${PN}.${ext}" > fi > > # Install common components > dodoc docs/* && rm -r docs > exeinto "${dir}"/basewsw > doexe basewsw/*.so && rm basewsw/*.so || die "doexe basewsw failed" > insinto "${dir}" > doins -r * || die "doins -r failed" > > prepgamesdirs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 98322
:
71345
|
71348
|
80224
|
87614
|
87941
|
87942
|
87993
|
87994
|
88011
|
88183
|
89085
|
89098
|
89122
|
89133
|
90953
|
91035
|
91976
|
97115
|
97144
|
97147
|
101260
|
101276