Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 11983 Details for
Bug 20993
app-games/ut2003-demo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild with fix included
ut2003-demo-2206-r1.ebuild (text/plain), 3.14 KB, created by
Chris Gianelloni (RETIRED)
on 2003-05-14 15:18:31 UTC
(
hide
)
Description:
New ebuild with fix included
Filename:
MIME Type:
Creator:
Chris Gianelloni (RETIRED)
Created:
2003-05-14 15:18:31 UTC
Size:
3.14 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/app-games/ut2003-demo/ut2003-demo-2206.ebuild,v 1.1 2003/02/28 01:02:06 drobbins Exp $. > >RESTRICT="nostrip" >FILENAME="ut2003demo-lnx-2206.sh.bin" >DESCRIPTION="Unreal Tournament 2003 Demo" >HOMEPAGE="http://www.icculus.org/" >SRC_URI="http://unreal.epicgames.com/linux/ut2003/${FILENAME} \ > http://unreal.epicgames.com/files/IpDrv.so.bz2" >LICENSE="ut2003-demo" >SLOT="0" >KEYWORDS="-* x86" >DEPEND="virtual/opengl app-arch/unzip" > >src_unpack() { > mkdir ${S} > # Copying and extracting the archive > cp ${DISTDIR}/${FILENAME} ${S} > chmod 755 ${S}/${FILENAME} > einfo "Extracting the demo (build ${PV})" > ${S}/${FILENAME} --target ${S}/extracted --confirm --nox11 << EOF &> /dev/null >n >EOF > # Delete the archives in order to save space > rm -f ${S}/${FILENAME} >} > >src_install() { > local FILE > dodir /opt/ut2003-demo > > einfo "Installing the game. This can take quite some time." > tar jxvf ${S}/extracted/ut2003lnx_demo.tar.bz2 -C ${D}/opt/ut2003-demo &> /dev/null || die "Unpack failed" > tar jxvf ${FILESDIR}/misc.tar.bz2 -C ${D}/opt/ut2003-demo &> /dev/null || die > bzcat ${DISTDIR}/IpDrv.so.bz2 > ${D}/opt/ut2003-demo/System &> /dev/null | die > > #We need to fix the benchmark configurations to use SDL rather than the Windows driver > cd ${D}/opt/ut2003-demo/Benchmark/Stuff > for FILE in {"MaxDetail.ini","MinDetail.ini"} > do > cp ${FILE} ${FILE}.orig || die > sed -e 's/RenderDevice=D3DDrv.D3DRenderDevice/\;RenderDevice=D3DDrv.D3DRenderDevice/' \ > -e 's/ViewportManager=WinDrv.WindowsClient/\;ViewportManager=WinDrv.WindowsClient/' \ > -e 's/\;RenderDevice=OpenGLDrv.OpenGLRenderDevice/RenderDevice=OpenGLDrv.OpenGLRenderDevice/' \ > -e 's/\;ViewportManager=SDLDrv.SDLClient/ViewportManager=SDLDrv.SDLClient/' ${FILE}.orig > ${FILE} || die > rm ${FILE}.orig > done > > #We want the benchmarks to run the nifty wrapper script rather than ../System/ut2003-bin directly > cd ${D}/opt/ut2003-demo/Benchmark > for FILE in *-*.sh > do > cp ${FILE} ${FILE}.orig || die > sed -e 's:\.\./System/ut2003-bin:../ut2003_demo:' ${FILE}.orig > ${FILE} || die > rm ${FILE}.orig > done > > # Wrapper and benchmark-scripts > insinto /usr/bin > doins ${FILESDIR}/ut2003-demo > chmod 755 ${D}/usr/bin/ut2003-demo > insinto /opt/ut2003-demo/Benchmark > doins ${FILESDIR}/{benchmark,results.sh} > chmod 755 ${D}/opt/ut2003-demo/Benchmark/{benchmark,results.sh} > insinto /usr/share/applications > doins ${FILESDIR}/ut2003-demo.desktop > chown root.root ${D}/opt/ut2003-demo -R >} > >pkg_postinst() { > echo > einfo "Type 'ut2003-demo' to start the game." > einfo "You can run benchmarks by typing 'ut2003-demo --bench' (MinDetail seems" > einfo "to not be working for some unknown reason :/)" > echo > einfo "This version of ut2003 works well with NVIDIA cards and may also work" > einfo "with some recent versions of the commercial Xi Graphics drivers" > einfo "(http://www.xig.com/) and the latest ATI unified drivers, although this" > einfo "has not yet been confirmed by me :)" > echo > einfo "Read /opt/ut2003-demo/README.linux for instructions on how to run a" > einfo "dedicated server." > echo > einfo "Have fun :)" >}
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 20993
:
11983
|
11984
|
11990