summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/unreal/unreal-226.ebuild')
-rw-r--r--games-fps/unreal/unreal-226.ebuild85
1 files changed, 0 insertions, 85 deletions
diff --git a/games-fps/unreal/unreal-226.ebuild b/games-fps/unreal/unreal-226.ebuild
deleted file mode 100644
index 53f546ffcffc..000000000000
--- a/games-fps/unreal/unreal-226.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils unpacker cdrom games
-
-DESCRIPTION="Futuristic FPS (a hack that runs on top of Unreal Tournament)"
-HOMEPAGE="https://www.oldunreal.com/ https://icculus.org/~chunky/ut/unreal/"
-SRC_URI="https://www.icculus.org/%7Echunky/ut/unreal/unreali-install.run
- https://www.ut-files.com/Patches/ut-install-436.run
- https://www.ut-files.com/Patches/ipdrv-436-linux-08-20-02.zip -> IpDrv-436-Linux-08-20-02.zip"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="X opengl"
-RESTRICT="mirror bindist"
-
-DEPEND="sys-libs/lib-compat
- app-arch/unzip
-"
-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(-)] )
-"
-
-S=${WORKDIR}
-
-src_unpack() {
- export CDROM_NAME_1="Unreal CD"
- export CDROM_NAME_2="Unreal Tournament CD"
- cdrom_get_cds System/Unreal.ini System/UnrealTournament.ini
- unpack_makeself unreali-install.run
- mkdir ut
- cd ut
- unpack_makeself ut-install-436.run
- unpack IpDrv-436-Linux-08-20-02.zip
-}
-
-src_install() {
- local dir=${GAMES_PREFIX_OPT}/unreal
- dodir "${dir}"
-
- tar -zxf ut/data.tar.gz -C "${D}/${dir}"
- tar -zxf ut/OpenGL.ini.tar.gz -C "${D}/${dir}"
- tar -zxf System.tar.gz -C "${D}/${dir}"
- insinto "${dir}"/System
- doins ut/IpDrv.so
-
- cp -rf "${CDROM_ROOT}"/{Maps,Music,Sounds} "${D}/${dir}/"
- for f in "${D}/${dir}"/Maps/Dm*.unr ; do
- mv "${f}" "${f/Dm/DM-}"
- done
- dosym Maps "${dir}"/maps
-
- if has_version '<games-fps/unreal-tournament-451' \
- || has_version '<games-fps/unreal-tournament-goty-451' ; then
- CDROM_ROOT="${GAMES_PREFIX_OPT}/unreal-tournament"
- else
- cdrom_load_next_cd
- fi
- insinto "${dir}"/Textures
- doins "${CDROM_ROOT}"/Textures/*.utx
- insinto "${dir}"/Sounds
- doins "${CDROM_ROOT}"/Sounds/*.uax
- insinto "${dir}"/System
- doins "${CDROM_ROOT}"/System/*.u
- insinto "${dir}"/Music
- doins "${CDROM_ROOT}"/Music/*.umx
-
- insinto "${dir}"
- doins icon.* README*
-
- exeinto "${dir}"
- doexe bin/x86/unreal
-
- games_make_wrapper unreal ./unreal "${dir}" "${dir}"
-
- prepgamesdirs
-}