Portage is a package management system used by Gentoo Linux
# ChangeLog for games-fps/quake4-demo
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-demo/ChangeLog,v 1.13 2007/07/31 14:38:45 cardoe Exp $
31 Jul 2007; Doug Goldstein
nvidia-legacy-drivers has merged with nvidia-drivers
12 Mar 2007; Marius Mauch
Replacing einfo with elog
07 Nov 2006; Tristan Heaven
Silence executable stack notice, as there's nothing we can do about it
05 Oct 2006; Chris Gianelloni
quake4-demo-1.0.ebuild:
Removed references to nvidia-glx, since it is no longer in the tree.
07 Jul 2006; Kristopher Kersey
quake4-demo-1.0.ebuild:
Added RDEPEND for new x11-drivers/nvidia-drivers or
x11-drivers/nvidia-legacy-drivers.
06 Jun 2006; Chris Gianelloni
quake4-demo-1.0.ebuild:
Added >=app-emulation/emul-linux-x86-xlibs-7.0 to the list of valid 32-bit
opengl providers for amd64 per bug #135643.
31 Mar 2006; Chris Gianelloni
quake4-demo-1.0.ebuild:
Changed nostrip to strip.
15 Mar 2006; Chris Gianelloni
quake4-demo-1.0.ebuild:
Changed to use idsoftware thirdpartymirror.
10 Jan 2006; Chris Gianelloni
quake4-demo-1.0.ebuild:
Added modular X dependencies.
09 Jan 2006; Chris Gianelloni
quake4-demo-1.0.ebuild:
Marking stable on amd64/x86.
02 Dec 2005; Chris Gianelloni
quake4-demo-1.0.ebuild:
Removed cdinstall.
02 Dec 2005; Chris Gianelloni
quake4-demo-1.0.ebuild:
Adding some more mirrors. Closing bug #114215.
*quake4-demo-1.0 (01 Dec 2005)
01 Dec 2005; Chris Gianelloni
+quake4-demo-1.0.ebuild:
Initial import. Ebuild by me.
DIST quake4-linux-1.0-demo.x86.run 337276597 RMD160 7a4c37ee2384eef874c6549dacbd8be473fa167a SHA1 609c00ffdc1a638c472c62cc1ab3491b1e9e17fb SHA256 69e69e8cb22dd1496bcc98dc63f244d35c516c2e770aba64c72275827814bc73
EBUILD quake4-demo-1.0.ebuild 2716 RMD160 4e7d65720339fbc4dc2a256a8c59e9288e64e579 SHA1 4a371dbacc0219e9fa738b4777c362f07444ac52 SHA256 33a5700e595a3fa801f04da8b2350558316eb7deb6a3fe1753339d1d29d6ec51
MISC ChangeLog 1978 RMD160 dd764df4d9fefb847401e2e26f987ccd48196934 SHA1 6ec08f3a39ca94982fafe97c71063beeab6750b0 SHA256 39b4999c8b0b75040a032f3c4764c032e0fa07c0c6c5bec0e7d8feb32f3e00c3
MISC metadata.xml 999 RMD160 15aa8429dcf28e4f3902c4a3686991c5344dfc7b SHA1 c6b145af2f42935f35696bc3195bf9c0005642e0 SHA256 b38d53e50b91acfd183e10a5baa7c340864b6ad7af43ec60876d5962853f89d9
In a desparate war for Earth's survival against and unrelenting alient enemy,
the only way to defeat them is to become one of them.
Earth is under seige by the Strogg, a barbaric alien race moving through the
universe consuming, recycling and annihilating any civilization in their path.
In a deperate attempt to survive, an armada of Earth's finest warriors is sent
to take the battle to the Strogg home planet.
You are Matthow Kane, an elite member of Rhino Squad and Eath's valiant invasion
force. Fight alone, with your squad, or in hover tanks and mechanized walkers
as you engage in a heroic mission the the heart of the Strogg war machine.
Quake 4 is the fourth installment of the extremely popular and successful Quake
series by id software. This is the demo version of the commercial game.
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-demo/quake4-demo-1.0.ebuild,v 1.14 2007/07/31 14:38:45 cardoe Exp $
inherit eutils games
MY_P="quake4-linux-${PV}-demo"
DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter"
HOMEPAGE="http://www.quake4game.com/"
SRC_URI="mirror://idsoftware/quake4/demo/${MY_P}.x86.run
http://www.3ddownloads.com/Action/Quake%204/Demos/${MY_P}.x86.run
mirror://3dgamers/quake4/${MY_P}.x86.run
http://filebase.gmpf.de/quake4/${MY_P}.x86.run
http://www.holarse.de/mirror/${MY_P}.x86.run
http://sonic-lux.net/data/mirror/quake4/${MY_P}.x86.run"
LICENSE="QUAKE4"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE="alsa opengl dedicated"
RESTRICT="strip"
QA_EXECSTACK_x86="${GAMES_PREFIX_OPT:1}/${PN}/*"
UIDEPEND="virtual/opengl
x86? (
x11-libs/libXext
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
media-libs/libsdl )
amd64? (
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-xlibs
|| (
>=app-emulation/emul-linux-x86-xlibs-7.0
x11-drivers/nvidia-drivers
>=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} )
!dedicated? ( !opengl? ( ${UIDEPEND} ) )"
S=${WORKDIR}
GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}
src_unpack() {
unpack_makeself
}
src_install() {
insinto "${dir}"
doins License.txt README q4icon.bmp version.info # CHANGES
exeinto "${dir}"
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}"/pb
# doins pb/* || die "doins pb"
insinto "${dir}"/q4base
if use dedicated
then
doins q4base/* || die "doins q4base"
games_make_wrapper quake4-ded ./q4ded.x86 "${dir}" "${dir}"
else
doins q4base/*.pk4 || die "doins q4base"
fi
# doins us/q4base/* || die "installing us/q4base/*"
if use opengl
then
games_make_wrapper ${PN} ./quake4.x86 "${dir}" "${dir}"
newicon q4icon.bmp ${PN}.bmp || die "copying icon"
make_desktop_entry ${PN} "Quake IV (Demo)" /usr/share/applications/${PN}.bmp
fi
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
elog "To play the game run:"
elog " quake4-demo"
echo
}