Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87350 Details for
Bug 134156
games-fps/unreal-tournament-451 ebuild tidy-up
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
unreal-tournament-goty-451.ebuild
unreal-tournament-goty-451.ebuild (text/plain), 4.42 KB, created by
Paul Bredbury
on 2006-05-23 15:33:40 UTC
(
hide
)
Description:
unreal-tournament-goty-451.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-05-23 15:33:40 UTC
Size:
4.42 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >DESCRIPTION="Futuristic FPS (Game Of The Year edition)" >HOMEPAGE="http://www.unrealtournament.com/ > http://utpg.org/" >SRC_URI="mirror://lokigames/../beta/ut/ut-install-436-GOTY.run > http://utpg.org/patches/UTPGPatch${PV}.tar.bz2" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~amd64 x86" >IUSE="3dfx S3TC nls opengl" >RESTRICT="strip" > >RDEPEND="!amd64? ( > || ( > ( > x11-libs/libXext > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp ) > virtual/x11 ) > opengl? ( virtual/opengl ) > =media-libs/libsdl-1.2* ) > amd64? ( > app-emulation/emul-linux-x86-sdl > app-emulation/emul-linux-x86-baselibs > app-emulation/emul-linux-x86-xlibs )" >DEPEND="${RDEPEND} > !games-fps/unreal-tournament" > >S=${WORKDIR} >dir=${GAMES_PREFIX_OPT}/${PN/-goty/} >Ddir=${D}/${dir} > >pkg_setup() { > games_pkg_setup > > cdrom_get_cds System/ Help/chaosut >} > >src_unpack() { > unpack_makeself ut-install-436-GOTY.run > mkdir UTPG && cd UTPG > unpack UTPGPatch${PV}.tar.bz2 > rm checkfiles.sh patch.md5 >} > >src_install() { > unpack ./{Credits,data,NetGamesUSA.com}.tar.gz > dodir "${dir}"/{Maps,Sounds,System} > > if use 3dfx ; then > unpack ./Glide.ini.tar.gz || die "install Glide ini" > else > unpack ./OpenGL.ini.tar.gz || die "install OpenGL ini" > fi > > # CD 1 - Help, Logs, Music, Sounds, Textures, Web > cp -rf "${CDROM_ROOT}"/{Help,Logs,Music,Textures,Web} "${Ddir}" \ > || die "copy Help, Logs, Music, Textures, Web CD1" > if use nls ; then > cp -rf "${CDROM_ROOT}"/Sounds/* "${Ddir}"/Sounds \ > || die "copy nls Sounds CD1" > else > cp -rf "${CDROM_ROOT}"/Sounds/*.uax "${Ddir}"/Sounds \ > || die "copy Sounds CD1" > fi > > # System > if use nls ; then > cp "${CDROM_ROOT}"/System/*.{est,frt,itt,int,u} "${Ddir}"/System \ > || die "copy nls System data CD1" > else > cp "${CDROM_ROOT}"/System/*.{int,u} "${Ddir}"/System \ > || die "copy System data CD1" > fi > > # Install a few random files > exeinto "${dir}"/System > doexe System/u{cc,t}-bin && rm System/u{cc,t}-bin || die "doexe System" > insinto "${dir}" > doins -r README icon.{bmp,xpm} NetGamesUSA.com System Textures \ > || die "install random files" > > # Scripts > exeinto "${dir}" > doexe bin/x86/u{cc,t} || die "install ucc/ut" > dosed "s:\`FindPath \$0\`:${dir}:" "${dir}"/u{cc,t} > > # Apply Loki patch > cd setup.data > cp patch.dat{,.orig} || die "cp patch.dat failed" > sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat \ > || die "sed patch.dat failed" > ./bin/Linux/x86/loki_patch patch.dat "${Ddir}" > cd "${S}" > > # Apply UTPG patch > cp -rf UTPG/* "${Ddir}" || die "cp UTPG failed" > > # Fix server vulnerability - part of bug #44351 > dosed "/^LoadClassMismatch/s:%s.%s:%s:" "${dir}"/System/Core.int > > # Uncompress maps > echo "Uncompressing CD1 Maps... this may take some time" > cd "${Ddir}" > export HOME=${T} > export UT_DATA_PATH="${Ddir}"/System > for f in $(find "${CDROM_ROOT}"/Maps -name '*.uz' -printf '%f ') ; do > ./ucc decompress "${CDROM_ROOT}/Maps/${f}" -nohomedir \ > || die "uncompress map CD1 ${f}" > mv "System/${f:0:${#f}-3}" Maps || die "copy map CD1 ${f}" > done > cd "${S}" > > cdrom_load_next_cd > > # CD 2 - Help, Sounds > cp -rf "${CDROM_ROOT}"/{Help,Sounds} "${Ddir}" \ > || die "copy Help, Sounds CD2" > > # S3TC Textures > if use S3TC ; then > cp -rf "${CDROM_ROOT}"/Textures "${Ddir}" \ > || die "copy S3TC Textures CD2" > else > cp -rf "${CDROM_ROOT}"/Textures/{JezzTex,Jezztex2,SnowDog,chaostex{,2}}.utx \ > "${Ddir}"/Textures || die "copy Textures CD2" > fi > > # System > cp -rf "${CDROM_ROOT}"/System/*.{u,int} "${Ddir}"/System \ > || die "copy System CD2" > > # Uncompress maps > echo "Uncompressing CD2 Maps... this may take some time" > cd "${Ddir}" > export HOME=${T} > export UT_DATA_PATH=${Ddir}/System > for f in $(find "${CDROM_ROOT}"/maps -name '*.uz' -printf '%f ') ; do > ./ucc decompress "${CDROM_ROOT}/maps/${f}" -nohomedir \ > || die "uncompress map CD2 ${f}" > mv "System/${f:0:${#f}-3}" Maps || die "copy map CD2 ${f}" > done > cd "${S}" > > # Desktop > games_make_wrapper ut ./ut "${dir}" > games_make_wrapper ucc ./ucc "${dir}" > newicon icon.xpm ut.xpm > make_desktop_entry ut "Unreal Tournament" ut.xpm > > # Update file datestamps > find "${Ddir}" -exec touch '{}' \; > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > einfo "You might also want to install the bonus packs." > einfo "Many servers on the internet use them, and the" > einfo "majority of players do too." > echo > einfo "Just run: emerge unreal-tournament-bonuspacks" > echo >}
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 134156
:
87347
|
87348
|
87349
|
87350
|
90408
|
90447
|
90448
|
90458
|
90495
|
90496
|
90499
|
90500
|
90502
|
90556
|
90793
|
111536
|
111662
|
119795
|
119799
|
119805
|
119828
|
119873
|
133340
|
133420
|
133455
|
134110
|
134111
|
134124
|
134427
|
134453
|
134458
|
134481
|
134489
|
134494
|
134569
|
134584
|
134591
|
134594
|
134878
|
135068
|
135179
|
136048
|
136790
|
137625
|
140883
|
288297
|
323854