diff options
Diffstat (limited to 'games-fps/quake4-bin/quake4-bin-1.0.6-r1.ebuild')
-rw-r--r-- | games-fps/quake4-bin/quake4-bin-1.0.6-r1.ebuild | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/games-fps/quake4-bin/quake4-bin-1.0.6-r1.ebuild b/games-fps/quake4-bin/quake4-bin-1.0.6-r1.ebuild deleted file mode 100644 index e63bed82c3f8..000000000000 --- a/games-fps/quake4-bin/quake4-bin-1.0.6-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.0.6-r1.ebuild,v 1.2 2006/03/31 21:10:37 wolf31o2 Exp $ - -inherit eutils games - -DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter" -HOMEPAGE="http://www.quake4game.com/" -SRC_URI="mirror://3dgamers/quake4/quake4-linux-${PV}.x86.run - mirror://idsoftware/quake4/linux/quake4-linux-${PV}.x86.run - http://filebase.gmpf.de/quake4/quake4-linux-${PV}.x86.run - http://www.holarse.de/mirror/quake4-linux-${PV}.x86.run" - -LICENSE="QUAKE4" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="alsa cdinstall dedicated opengl" -RESTRICT="strip" - -UIDEPEND="virtual/opengl - x86? ( - || ( - ( - x11-libs/libXext - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp ) - virtual/x11 ) ) - media-libs/libsdl - amd64? ( - app-emulation/emul-linux-x86-sdl - app-emulation/emul-linux-x86-xlibs - || ( - >=media-video/nvidia-glx-1.0.6629-r3 - >=x11-drivers/ati-drivers-8.8.25-r1 ) ) - alsa? ( >=media-libs/alsa-lib-1.0.6 )" - -RDEPEND="sys-libs/glibc - dedicated? ( app-misc/screen ) - amd64? ( app-emulation/emul-linux-x86-baselibs ) - opengl? ( ${UIDEPEND} ) - cdinstall? ( games-fps/quake4-data ) - !dedicated? ( !opengl? ( ${UIDEPEND} ) )" - -S=${WORKDIR} - -GAMES_CHECK_LICENSE="yes" -dir=${GAMES_PREFIX_OPT}/quake4 -Ddir=${D}/${dir} - -src_unpack() { - unpack_makeself quake4-linux-${PV}.x86.run -} - -src_install() { - insinto "${dir}" - exeinto "${dir}" - - doins *.txt README q4icon.bmp us/version.info - doins -r pb - doexe openurl.sh || die "openurl.sh" - if use x86; then - doexe bin/Linux/x86/quake4.x86 bin/Linux/x86/q4ded.x86 \ - bin/Linux/x86/libgcc_s.so.1 bin/Linux/x86/libstdc++.so.5 \ - || die "doexe x86 exes/libs" - elif use amd64; then - doexe bin/Linux/x86_64/quake4.x86 bin/Linux/x86_64/q4ded.x86 \ - bin/Linux/x86_64/libgcc_s.so.1 bin/Linux/x86_64/libstdc++.so.5 \ - || die "doexe amd64 exes/libs" - else - die "Cannot copy executables!" - fi - - insinto ${dir}/q4base - doins q4base/* us/q4base/* || die "doins q4base" - if use dedicated - then - games_make_wrapper quake4-ded ./q4ded.x86 "${dir}" "${dir}" - fi - - if use opengl || ! use dedicated - then - games_make_wrapper quake4 ./quake4.x86 "${dir}" "${dir}" -# doicon ${FILESDIR}/quake4.png || die "copying icon" -# make_desktop_entry quake4 "Quake IV" quake4.png - newicon q4icon.bmp quake4.bmp || die "copying icon" - make_desktop_entry quake4 "Quake IV" /usr/share/pixmaps/quake4.bmp - fi - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - - if ! use cdinstall - then - einfo "You need to copy pak001.pk4 through pak012.pk4, along with" - einfo "zpak*.pk4 from either your installation media or your hard drive" - einfo "to ${dir}/q4base before running the game." - echo - fi - if use opengl || ! use dedicated - then - einfo "To play the game run:" - einfo " quake4" - echo - fi -} |