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 | |
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')
-rw-r--r-- | games-fps/unreal-tournament/Manifest | 2 | ||||
-rw-r--r-- | games-fps/unreal-tournament/metadata.xml | 33 | ||||
-rw-r--r-- | games-fps/unreal-tournament/unreal-tournament-451.ebuild | 121 |
3 files changed, 156 insertions, 0 deletions
diff --git a/games-fps/unreal-tournament/Manifest b/games-fps/unreal-tournament/Manifest new file mode 100644 index 00000000000..76b11131dc7 --- /dev/null +++ b/games-fps/unreal-tournament/Manifest @@ -0,0 +1,2 @@ +DIST UTPGPatch451.tar.bz2 3064473 SHA256 31a07fb289841ceba36ca707fafd8180f48e462a53a62a2b34d5bc0f61c2481d SHA512 d11ecb3e60e8bba0288be0a4860acb563c277e75ce30a749de04673219d484b7a8c7e6207bc582872df33db684658dc1a15235b9d79ceb98fcd2ad1410982423 WHIRLPOOL 22de40b50f6302f6a1ff5080f823e3e5e14057bc7729fb809b42981bbd188e47a138058740d4df251c8b7dafd4c74121d7d0d08c85a2746c40e3fd432bd087e3 +DIST ut-install-436.run 6225010 SHA256 4008c7501a530c1fb5b8143b8e92baee59ef769c0bffa26c09e9bbb2673bc377 SHA512 cfdeb9f345daef4b81acadfa24d711477ba208dffd50716087d034df2dc1eb0ac5bb03570f4f1701b3c4d46b8f954e6d23dde36fc20dafdc114e68730a1fc932 WHIRLPOOL a203436b225747ed06af76e100f07d0a0580df11a4c3a01a431b3e2a48e660717743960cd814ffd2ed5d13624aa1ce7a111c4aa76122593e57469df59e2da26a diff --git a/games-fps/unreal-tournament/metadata.xml b/games-fps/unreal-tournament/metadata.xml new file mode 100644 index 00000000000..fcb75f57e0d --- /dev/null +++ b/games-fps/unreal-tournament/metadata.xml @@ -0,0 +1,33 @@ +<?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> +</pkgmetadata> diff --git a/games-fps/unreal-tournament/unreal-tournament-451.ebuild b/games-fps/unreal-tournament/unreal-tournament-451.ebuild new file mode 100644 index 00000000000..9a44d9df484 --- /dev/null +++ b/games-fps/unreal-tournament/unreal-tournament-451.ebuild @@ -0,0 +1,121 @@ +# 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" +HOMEPAGE="http://www.unrealtournament.com/ http://utpg.org/" +SRC_URI="http://www.ibiblio.org/osg/Downloads/Linux/Installers/ut-install-436.run + http://utpg.org/patches/UTPGPatch${PV}.tar.bz2" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="3dfx opengl" +RESTRICT="mirror bindist" + +RDEPEND=" + >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXau[abi_x86_32(-)] + x11-libs/libXdmcp[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + opengl? ( virtual/opengl[abi_x86_32(-)] ) +" +DEPEND="${RDEPEND} + !games-fps/unreal-tournament-goty +" + +S=${WORKDIR} + +src_unpack() { + cdrom_get_cds System/ + unpack_makeself ut-install-436.run + mkdir UTPG && cd UTPG + unpack UTPGPatch${PV}.tar.bz2 + rm checkfiles.sh patch.md5 +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + local Ddir=${D}/${dir} + dodir "${dir}" + + # Help, Logs, Music, Textures, Web + cp -rf "${CDROM_ROOT}"/{Help,Logs,Music,Textures,Web} "${Ddir}/" || die "copy Help, Logs, Music, Textures, Web" + 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" + # Sounds + dodir "${dir}"/Sounds + cp -rf "${CDROM_ROOT}"/Sounds/*.uax "${Ddir}"/Sounds/ || die "copy Sounds" + + # 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" + cp "${CDROM_ROOT}"/System/*.u "${Ddir}"/System/ || die "copy 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 + + # install a few random files + insinto "${dir}" + doins README icon.{bmp,xpm} || die "installing random files" + + # install a menu item (closes bug #27542) + newicon icon.xpm ut.xpm + make_desktop_entry ut "Unreal Tournament" ut + + # first apply any patch remaints loki has for us + cd setup.data + ./bin/Linux/x86/loki_patch patch.dat "${Ddir}" >& /dev/null + cd "${S}" + + # finally, unleash the UTPG patch + cp -rf UTPG/* "${Ddir}/" + # fix a small bug until next official release + sed -i -e "/^LoadClassMismatch/s:%s.%s:%s:" "${ED}/${dir}"/System/Core.int || die + + # now we uncompress the maps (GOTY edition installs maps as .uz) + einfo "Uncompressing 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 ${f}" + mv "System/${f:0:${#f}-3}" Maps/ || die "copy map ${f}" + done + cp -rf "${CDROM_ROOT}"/Maps/*.unr "${Ddir}"/Maps/ # some cd's have uncompressed maps ?? + + # 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 '{}' + + + # export some symlinks so ppl can run + dodir "${GAMES_BINDIR}" + dosym "${dir}/ut" "${GAMES_BINDIR}/ut" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + echo + 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" + echo +} |