diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-fps/unreal-tournament-goty | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-fps/unreal-tournament-goty')
4 files changed, 381 insertions, 0 deletions
diff --git a/games-fps/unreal-tournament-goty/Manifest b/games-fps/unreal-tournament-goty/Manifest new file mode 100644 index 00000000000..73b1f3c4568 --- /dev/null +++ b/games-fps/unreal-tournament-goty/Manifest @@ -0,0 +1,3 @@ +DIST IpDrv-436-Linux-08-20-02.zip 105435 SHA256 a7fb348dd04bd2057f307c5d95c2904a8b9c790d5b80648507549900dc4c76ef SHA512 5f10152b87cf702225fe50d213f3fbd4865cb2f190e0c2c87c996420c115e5f84de7748af635705b8a2ea789bfeaaab4b927364563a4b83f973dcb5af866ccd7 WHIRLPOOL d6be1afe7aa828607c09479a7bc230f61ef34f586eea0d250e06b9f64d613edd250b2ee5d44bf45509d98a51cf2e454c6b4285f1f9db85bba21cc4e51b292d61 +DIST UTPGPatch451.tar.bz2 3064473 SHA256 31a07fb289841ceba36ca707fafd8180f48e462a53a62a2b34d5bc0f61c2481d SHA512 d11ecb3e60e8bba0288be0a4860acb563c277e75ce30a749de04673219d484b7a8c7e6207bc582872df33db684658dc1a15235b9d79ceb98fcd2ad1410982423 WHIRLPOOL 22de40b50f6302f6a1ff5080f823e3e5e14057bc7729fb809b42981bbd188e47a138058740d4df251c8b7dafd4c74121d7d0d08c85a2746c40e3fd432bd087e3 +DIST ut-install-436-GOTY.run 6340417 SHA256 1626fc3c56ae5c9261b1e1f62fc5a893a83ec4727e2b0be81916b3d9ae90bfc4 SHA512 daa2da9f21f1b6e057e19d72d9c1b2446a250b30eb80b24d6a059a5d1eec24a9326d4e6af0401ba4ade3610fbf3a44c1fe44c26b7ae0eb4b7301a20f9574859c WHIRLPOOL 9d6b3799972d54e3cccff5f7d64ab1cc0954ab0e6472245b2416c09b6629eb17b54c7562a81dd06f49f01b314e677b05295e4ab3c78a662a72295a78ef166206 diff --git a/games-fps/unreal-tournament-goty/metadata.xml b/games-fps/unreal-tournament-goty/metadata.xml new file mode 100644 index 00000000000..2fb907b8132 --- /dev/null +++ b/games-fps/unreal-tournament-goty/metadata.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>vapier@gentoo.org</email> + </maintainer> + <longdescription> +In the single player mode, the player squares off +against computer controlled Bots in all the game modes +through a tournament ladder with increasing difficulty. +Thanks to Epic's unmatched AI coding wizardry, Unreal +Tournament's Bots are more life like than any +computer-controlled characters to date. They understand +each game's unique rules. They have a firm handle on all +the different weapons at their disposal and how best to +use them. They can swim, use elevators, climb stairs, +and put on Toxin suits if they have to. If they're on +the player's team, they can take orders to attack, +defend or freelance. + +Unreal Tournament's bread and butter is the online multiplayer +mode. Squaring off against other combatants from around the world, or on +the other end of a LAN connection, provides some of the most thrilling and +tense battles seen on a PC. Unreal Tournament's unparalleled networking +code makes it as easy to play the game against anyone, anytime. If the +host server has unique content -- like custom skins or maps -- UT +will automatically download and install that content in REAL TIME, as the +game is connecting. And thanks to Epic Games' amazing work on Unreal +Tournament's network play, you can be sure that even a 33.6K modem can get +a silky smooth connection to the server. +</longdescription> + <use> + <flag name="S3TC">Add the extra fancy textures to UT ... only works on certain cards (nvidia/ati/s3)</flag> + </use> +</pkgmetadata> diff --git a/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild b/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild new file mode 100644 index 00000000000..a18cc570c97 --- /dev/null +++ b/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils unpacker cdrom games + +DESCRIPTION="Futuristic FPS (Game Of The Year edition)" +HOMEPAGE="http://www.unrealtournament.com/" +SRC_URI="ftp://ftp.lokigames.com/pub/beta/ut/ut-install-${PV}-GOTY.run + ftp://ftp.lokigames.com/pub/patches/ut/IpDrv-${PV}-Linux-08-20-02.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="x86" +IUSE="3dfx S3TC nls opengl" +RESTRICT="mirror bindist" + +DEPEND="!games-fps/unreal-tournament + app-arch/unzip +" +RDEPEND=" + opengl? ( virtual/opengl[abi_x86_32(-)] ) + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXau[abi_x86_32(-)] + x11-libs/libXdmcp[abi_x86_32(-)] +" + +S=${WORKDIR} + +src_unpack() { + cdrom_get_cds System/ Help/chaosut + unpack_makeself ut-install-${PV}-GOTY.run + unpack IpDrv-${PV}-Linux-08-20-02.zip +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN/-goty/} + local Ddir=${D}/${dir} + dodir "${dir}" + + ########### + ### PRE ### + # System + if use 3dfx ; then + tar -zxf Glide.ini.tar.gz -C "${Ddir}" || die "install Glide ini" + else + tar -zxf OpenGL.ini.tar.gz -C "${Ddir}" || die "install OpenGL ini" + fi + tar -zxf data.tar.gz -C "${Ddir}" || die "extract System data" + + # the most important things, ucc & ut :) + exeinto "${dir}" + doexe bin/x86/{ucc,ut} || die "install ucc/ut" + sed -i -e "s:\`FindPath \$0\`:${dir}:" "${ED}/${dir}"/ucc || die + + # export some symlinks so ppl can run + dodir "${GAMES_BINDIR}" + dosym "${dir}"/ucc "${GAMES_BINDIR}"/ucc + dosym "${dir}"/ut "${GAMES_BINDIR}"/ut + ### PRE ### + ########### + + ########### + ### CD1 ### + # Help, Logs, Music, Sounds, Textures, Web + cp -rf "${CDROM_ROOT}"/{Help,Logs,Music,Textures,Web} "${Ddir}"/ || die "copy Help, Logs, Music, Textures, Web CD1" + dodir "${dir}"/Sounds + if use nls ; then + cp -rf "${CDROM_ROOT}"/Sounds/* "${Ddir}"/Sounds/ || die "copy Sounds CD1" + else + cp -rf "${CDROM_ROOT}"/Sounds/*.uax "${Ddir}"/Sounds/ || die "copy Sounds CD1" + fi + + # System + dodir "${dir}"/System + if use nls ; then + cp "${CDROM_ROOT}"/System/*.{est,frt,itt,int,u} "${Ddir}"/System/ || die "copy System data CD1" + else + cp "${CDROM_ROOT}"/System/*.{int,u} "${Ddir}"/System/ || die "copy System data CD1" + fi + + # now we uncompress the maps + einfo "Uncompressing CD1 Maps ... this may take some time" + dodir "${dir}"/Maps + 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 "uncompressing map CD1 ${f}" + mv System/${f:0:${#f}-3} Maps/ || die "copy map CD1 ${f}" + done + ### CD1 ### + ########### + + ### Have user switch cds if need be ### + cdrom_load_next_cd + + ########### + ### CD2 ### + # 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" + + # now we uncompress the maps + einfo "Uncompressing CD2 Maps ... this may take some time" + dodir "${dir}"/Maps + 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 "uncompressing map CD2 ${f}" + mv System/${f:0:${#f}-3} Maps/ || die "copy map CD2 ${f}" + done + ### CD2 ### + ########### + + ########### + ### END ### + cd "${S}" + + # Textures + tar -zxf Credits.tar.gz -C "${Ddir}" || die "extract credits texture" + # NetGamesUSA.com + tar -zxf NetGamesUSA.com.tar.gz -C "${Ddir}"/ || die "extract NetGamesUSA.com" + + # Patch UT-GOTY + cd setup.data + cp patch.dat{,.orig} || die "cp failed" + sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat || die "sed failed" + ./bin/Linux/x86/loki_patch patch.dat "${Ddir}" || die "failed to patch" + cd "${S}" + + # now we install the IpDrv.so patch + insinto "${dir}"/System + doins IpDrv.so || die "install IpDrv.so patch" + + # install a few random files + insinto "${dir}" + doins README icon.{bmp,xpm} || die "installing random files" + + # now, since these files are coming off a cd, the times/sizes/md5sums wont + # be different ... that means portage will try to unmerge some files (!) + # we run touch on ${D} so as to make sure portage doesnt do any such thing + find "${Ddir}" -exec touch '{}' \; + ### END ### + ########### + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "You might want to install the bonus packs too." + elog "Many servers on the internet use them, and the" + elog "majority of players do too." + elog + elog "Just run: emerge unreal-tournament-bonuspacks" +} diff --git a/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild b/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild new file mode 100644 index 00000000000..228b415b8c5 --- /dev/null +++ b/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils unpacker cdrom games + +DESCRIPTION="Futuristic FPS (Game Of The Year edition)" +HOMEPAGE="http://www.unrealtournament.com/" +SRC_URI="ftp://ftp.lokigames.com/pub/beta/ut/ut-install-436-GOTY.run + http://utpg.org/patches/UTPGPatch${PV}.tar.bz2" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="3dfx S3TC nls opengl" +RESTRICT="mirror bindist" + +RDEPEND=" + opengl? ( virtual/opengl[abi_x86_32(-)] ) + >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXau[abi_x86_32(-)] + x11-libs/libXdmcp[abi_x86_32(-)] +" +DEPEND="" + +S=${WORKDIR} + +src_unpack() { + cdrom_get_cds System/ Help/chaosut + unpack_makeself ut-install-436-GOTY.run + mkdir UTPG && cd UTPG + unpack UTPGPatch${PV}.tar.bz2 + rm checkfiles.sh patch.md5 +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN/-goty/} + local Ddir=${D}/${dir} + dodir "${dir}" + + ########### + ### PRE ### + # System + if use 3dfx ; then + tar -zxf Glide.ini.tar.gz -C "${Ddir}" || die "install Glide ini" + else + tar -zxf OpenGL.ini.tar.gz -C "${Ddir}" || die "install OpenGL ini" + fi + tar -zxf data.tar.gz -C "${Ddir}" || die "extract System data" + + # the most important things, ucc & ut :) + exeinto "${dir}" + doexe bin/x86/{ucc,ut} || die "install ucc/ut" + sed -i -e "s:\`FindPath \$0\`:${dir}:" "${ED}/${dir}"/ucc || die + + # export some symlinks so ppl can run + dodir "${GAMES_BINDIR}" + dosym "${dir}"/ucc "${GAMES_BINDIR}"/ucc + dosym "${dir}"/ut "${GAMES_BINDIR}"/ut + ### PRE ### + ########### + + ########### + ### CD1 ### + # Help, Logs, Music, Sounds, Textures, Web + cp -rf "${CDROM_ROOT}"/{Help,Logs,Music,Textures,Web} "${Ddir}"/ || die "copy Help, Logs, Music, Textures, Web CD1" + dodir "${dir}"/Sounds + if use nls ; then + cp -rf "${CDROM_ROOT}"/Sounds/* "${Ddir}"/Sounds/ || die "copy Sounds CD1" + else + cp -rf "${CDROM_ROOT}"/Sounds/*.uax "${Ddir}"/Sounds/ || die "copy Sounds CD1" + fi + + # System + dodir "${dir}"/System + if use nls ; then + cp "${CDROM_ROOT}"/System/*.{est,frt,itt,int,u} "${Ddir}"/System/ || die "copy System data CD1" + else + cp "${CDROM_ROOT}"/System/*.{int,u} "${Ddir}"/System/ || die "copy System data CD1" + fi + + # now we uncompress the maps + einfo "Uncompressing CD1 Maps ... this may take some time" + dodir "${dir}"/Maps + 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 "uncompressing map CD1 ${f}" + mv System/${f:0:${#f}-3} Maps/ || die "copy map CD1 ${f}" + done + ### CD1 ### + ########### + + ### Have user switch cds if need be ### + cdrom_load_next_cd + + ########### + ### CD2 ### + # 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" + + # now we uncompress the maps + einfo "Uncompressing CD2 Maps ... this may take some time" + dodir "${dir}"/Maps + 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 "uncompressing map CD2 ${f}" + mv System/${f:0:${#f}-3} Maps/ || die "copy map CD2 ${f}" + done + ### CD2 ### + ########### + + ########### + ### END ### + cd "${S}" + + # Textures + tar -zxf Credits.tar.gz -C "${Ddir}" || die "extract credits texture" + # NetGamesUSA.com + tar -zxf NetGamesUSA.com.tar.gz -C "${Ddir}"/ || die "extract NetGamesUSA.com" + + # first apply any patch remaints loki has for us + cd setup.data + cp patch.dat{,.orig} || die "cp failed" + sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat || die "sed failed" + ./bin/Linux/x86/loki_patch patch.dat "${Ddir}" >& /dev/null + cd "${S}" + + # finally, unleash the UTPG patch + cp -rf UTPG/* "${Ddir}"/ || die "cp failed" + # fix a small bug until next official release + sed -i -e "/^LoadClassMismatch/s:%s.%s:%s:" "${ED}/${dir}"/System/Core.int + + # install a few random files + insinto "${dir}" + doins README icon.{bmp,xpm} || die "installing random files" + + # now, since these files are coming off a cd, the times/sizes/md5sums wont + # be different ... that means portage will try to unmerge some files (!) + # we run touch on ${D} so as to make sure portage doesnt do any such thing + find "${Ddir}" -exec touch '{}' \; + ### END ### + ########### + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "You might want to install the bonus packs too." + elog "Many servers on the internet use them, and the" + elog "majority of players do too." + elog + elog "Just run: emerge unreal-tournament-bonuspacks" +} |