ChangeLog

# ChangeLog for games-fps/quake4-bin
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.36 2008/06/05 20:25:38 wolf31o2 Exp $

05 Jun 2008; Chris Gianelloni metadata.xml:
Removing myself as maintainer.

04 Mar 2008; Chris Gianelloni
quake4-bin-1.4.2.ebuild:
Updated to check FILESDIR and DISTDIR for a PNG icon for bug #205362.

20 Aug 2007; Chris Gianelloni
quake4-bin-1.4.2.ebuild:
The Czech linguas variable is cs, not cz. Thanks to Mr_Bones_ for pointing
it out.

*quake4-bin-1.4.2 (18 Aug 2007)

18 Aug 2007; Chris Gianelloni
+quake4-bin-1.4.2.ebuild:
Version bump. Ebuild by Paul Bredbury and modified by me.
Closing bug #173491 and bug #179254.

31 Jul 2007; Doug Goldstein quake4-bin-1.3.2.ebuild:
nvidia-legacy-drivers has merged with nvidia-drivers

12 Mar 2007; Marius Mauch quake4-bin-1.3.2.ebuild:
Replacing einfo with elog

07 Jan 2007; Chris Gianelloni
quake4-bin-1.3.2.ebuild:
Added QA_* variables.

05 Oct 2006; Chris Gianelloni
quake4-bin-1.3.2.ebuild:
Removed references to nvidia-glx, since it is no longer in the tree.

28 Sep 2006; Chris Gianelloni
-quake4-bin-1.3.ebuild, quake4-bin-1.3.2.ebuild:
Stable on amd64/x86, removing older ebuilds, and removing virtual/x11 from
dependencies.

*quake4-bin-1.3.2 (06 Sep 2006)

06 Sep 2006; Chris Gianelloni
+quake4-bin-1.3.2.ebuild:
Version bump to 1.3.2 and closing bug #143720.

06 Sep 2006; Chris Gianelloni
-quake4-bin-1.2.1.ebuild:
Cleaning out older versions.

28 Aug 2006; Chris Gianelloni quake4-bin-1.3.ebuild:
Stable on amd64/x86.

*quake4-bin-1.3 (01 Aug 2006)

01 Aug 2006; Chris Gianelloni
+quake4-bin-1.3.ebuild:
Version bump to 1.3, now get out there fragging...

07 Jul 2006; Kristopher Kersey
quake4-bin-1.2.1.ebuild:
Added RDEPEND for new x11-drivers/nvidia-drivers or
x11-drivers/nvidia-legacy-drivers.

06 Jun 2006; Chris Gianelloni
quake4-bin-1.2.1.ebuild:
Added >=app-emulation/emul-linux-x86-xlibs-7.0 to the list of valid 32-bit
opengl providers for amd64 per bug #135643.

09 May 2006; Chris Gianelloni
-quake4-bin-1.2.ebuild:
Cleaning up older ebuilds.

09 May 2006; Chris Gianelloni
quake4-bin-1.2.1.ebuild:
Marking stable on amd64 and x86.

02 May 2006; Chris Gianelloni
quake4-bin-1.2.1.ebuild:
Fixed a typo.

02 May 2006; Chris Gianelloni
quake4-bin-1.2.1.ebuild:
Forgot to install quake4smp.x86, so fixing that.

01 May 2006; Chris Gianelloni
-quake4-bin-1.0.6.ebuild, -quake4-bin-1.0.6-r1.ebuild,
quake4-bin-1.2.ebuild:
Marked 1.2 stable on amd64 and x86 and removing older ebuilds. I plan on
marking 1.2.1 stable in a short time period, provided the crashes with SMP
aren't as bad as people say. I haven't had a chance to test it on an SMP
machine myself.

*quake4-bin-1.2.1 (01 May 2006)

01 May 2006; Chris Gianelloni
+quake4-bin-1.2.1.ebuild:
Version bump to 1.2.1 and closing bug #131604.

*quake4-bin-1.2 (19 Apr 2006)

19 Apr 2006; Chris Gianelloni
+quake4-bin-1.2.ebuild:
Version bumped to 1.2 and closing bug #127912.

31 Mar 2006; Chris Gianelloni
quake4-bin-1.0.6.ebuild, quake4-bin-1.0.6-r1.ebuild:
Changed nostrip to strip.

*quake4-bin-1.0.6-r1 (31 Mar 2006)

31 Mar 2006; Chris Gianelloni
+quake4-bin-1.0.6-r1.ebuild:
Made some general code cleanups and closing bug #127934.

31 Mar 2006; Chris Gianelloni
-quake4-bin-1.1.ebuild:
Removing quake4-bin 1.1 patch from portage as it was removed from upstream
due to a recall of the Windows patch that will create incompatible net code.

29 Mar 2006; Chris Gianelloni quake4-bin-1.1.ebuild:
Fixed typo in SRC_URI.

*quake4-bin-1.1 (29 Mar 2006)

29 Mar 2006; Chris Gianelloni
+quake4-bin-1.1.ebuild:
Version bump to 1.1 and closing bug #127912.

15 Mar 2006; Chris Gianelloni
quake4-bin-1.0.6.ebuild:
Changed to use idsoftware thirdpartymirror.

22 Jan 2006; Chris Gianelloni
quake4-bin-1.0.6.ebuild:
Marking stable on amd64.

22 Jan 2006; Chris Gianelloni
quake4-bin-1.0.6.ebuild:
Marked stable on x86 and closing bug #119970.

05 Jan 2006; Chris Gianelloni
quake4-bin-1.0.6.ebuild:
Added modular X dependencies.

*quake4-bin-1.0.6 (13 Dec 2005)

13 Dec 2005; Chris Gianelloni
-quake4-bin-1.0.5.ebuild, +quake4-bin-1.0.6.ebuild:
Version bumped to 1.0.6, closing bug #115420, and removing older versions.

22 Nov 2005; Chris Gianelloni
quake4-bin-1.0.5.ebuild:
Added full path for bug #111143.

*quake4-bin-1.0.5 (16 Nov 2005)

16 Nov 2005; Chris Gianelloni
+quake4-bin-1.0.5.ebuild, -quake4-bin-1.0.2147.12.ebuild:
Version bumped and closing bug #112725.

*quake4-bin-1.0.2147.12 (24 Oct 2005)

24 Oct 2005; Chris Gianelloni +metadata.xml,
+quake4-bin-1.0.2147.12.ebuild:
Initial import. Ebuilds by me. Closing bug #109825.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST quake4-linux-1.3-2.x86.run 239448644 RMD160 a5cdf416c225f1b60ae93a26e0185bb719353ccd SHA1 271341e8b14f91c99dbe6c62e8a9dc96d8160549 SHA256 d85d62791aaf56039f131997ccadbddeac17f83d7420102ca5a059af1f284252
DIST quake4-linux-1.4.2.x86.run 287552973 RMD160 eb55c5c1c0cae68476bea10c58e40db722f2a068 SHA1 870bbda920b846c51904b22c40ce15aac8c9183b SHA256 9203b387b1a4075a1b9ad1eb7be32b49a88141a448d9330d9cbe1f40a145bd6a
EBUILD quake4-bin-1.3.2.ebuild 3099 RMD160 e4465fe026bef1a07d01ee6e76fcb2c0387f9124 SHA1 43a745d7114a61064bb6b1303e5f828103d646d4 SHA256 69d0098ebfaa980e080f876bbe4542ec117a6eb8ab7deb9de8c8a62781c2fbc6
EBUILD quake4-bin-1.4.2.ebuild 3909 RMD160 367fbf753d34b4485f8a3fe4762f9dc8625f550d SHA1 9a947aa583855a6a76c3bfa0fa3db3270d191629 SHA256 c58d66a4e3fb692cc0629b9cd890ab2f9dde564c4ef46b68c15f6682b83abeb1
MISC ChangeLog 5678 RMD160 efa1f06761f68c85d19ad0eb75e2711e21dbfc11 SHA1 2b3f71d78a4006f1bdd7e51c75081c4e6540a317 SHA256 d4f9de9ee9ff4871a33ee322768cfc1a3372d01e234fdded19728bc055a6b0d8
MISC metadata.xml 1046 RMD160 4533166e73a6c0c048441279409fe8c52875b974 SHA1 e5f71bbe83bb2e204263296367240707558b4200 SHA256 4c04b0b912807688e3536ea7318cdbe28858bc462e339b6cc8d4e491d167caf8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhIS8sACgkQkT4lNIS36YH/RgCdGAUN94qz/ITyeJtciFp8e574
pmkAnRt3Tl1Gzt7H33g3FaLVWXGElNBl
=cPC7
-----END PGP SIGNATURE-----

metadata.xml




games

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 game is commercial software, and requires the data
from a retail copy of the game to play.

quake4-bin-1.3.2.ebuild

# Copyright 1999-2007 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.3.2.ebuild,v 1.7 2007/07/31 14:37:48 cardoe Exp $

inherit eutils versionator games

MY_PV=$(replace_version_separator 2 '-')

DESCRIPTION="Sequel to Quake 2, an id Software 3D first-person shooter"
HOMEPAGE="http://www.quake4game.com/"
SRC_URI="mirror://idsoftware/quake4/linux/quake4-linux-${MY_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
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} )
cdinstall? ( games-fps/quake4-data )
!dedicated? ( !opengl? ( ${UIDEPEND} ) )"

S=${WORKDIR}

GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/quake4
Ddir=${D}/${dir}

QA_TEXTRELS="${dir}/libSDL-1.2.id.so.0
${dir}/pb/pbags.so
${dir}/pb/pbcl.so
${dir}/pb/pbag.so
${dir}/pb/pbsv.so
${dir}/pb/pbcls.so"
QA_EXECSTACK="${dir}/quake4.x86
${dir}/libSDL-1.2.id.so.0
${dir}/q4ded.x86
${dir}/libgcc_s.so.1
${dir}/quake4smp.x86
${dir}/libstdc++.so.6"

src_unpack() {
unpack_makeself ${A}
}

src_install() {
insinto "${dir}"
exeinto "${dir}"

doins *.txt README q4icon.bmp us/version.info README-1.3.htm || die "docs"
doins -r pb || die "pb"
doexe openurl.sh || die "openurl.sh"
doexe bin/Linux/x86/quake4.x86 bin/Linux/x86/q4ded.x86 \
bin/Linux/x86/libgcc_s.so.1 bin/Linux/x86/libstdc++.so.* \
bin/Linux/x86/libSDL-1.2.id.so.0 bin/Linux/x86/quake4smp.x86 \
|| die "doexe x86 exes/libs"

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}"
games_make_wrapper quake4-smp ./quake4smp.x86 "${dir}" "${dir}"
# doicon ${FILESDIR}/quake4.png || die "copying icon"
# make_desktop_entry quake4 "Quake IV" quake4.png
# make_desktop_entry quake4-smp "Quake IV (SMP)" quake4.png
newicon q4icon.bmp quake4.bmp || die "copying icon"
make_desktop_entry quake4 "Quake IV" /usr/share/pixmaps/quake4.bmp
make_desktop_entry quake4-smp "Quake IV (SMP)" /usr/share/pixmaps/quake4.bmp
fi

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst

if ! use cdinstall
then
elog "You need to copy pak001.pk4 through pak012.pk4, along with"
elog "zpak*.pk4 from either your installation media or your hard drive"
elog "to ${dir}/q4base before running the game."
echo
fi
if use opengl || ! use dedicated
then
elog "To play the game run:"
elog " quake4"
echo
fi
}

quake4-bin-1.4.2.ebuild

# Copyright 1999-2008 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.4.2.ebuild,v 1.3 2008/03/04 04:30:25 wolf31o2 Exp $

inherit eutils games

DESCRIPTION="Sequel to Quake 2, an id Software 3D first-person shooter"
HOMEPAGE="http://www.quake4game.com/"
SRC_URI="mirror://idsoftware/quake4/linux/quake4-linux-${PV}.x86.run"

LICENSE="QUAKE4"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="alsa cdinstall dedicated linguas_cs linguas_fr linguas_it linguas_pl linguas_ru opengl"

RESTRICT="strip"

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-compat
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} )
cdinstall? ( games-fps/quake4-data )
!dedicated? ( !opengl? ( ${UIDEPEND} ) )"

S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/quake4
Ddir=${D}/${dir}

GAMES_CHECK_LICENSE="yes"

QA_TEXTRELS="${dir:1}/pb/pbag.so
${dir:1}/pb/pbags.so
${dir:1}/pb/pbcl.so
${dir:1}/pb/pbcls.so
${dir:1}/pb/pbsv.so
${dir:1}/libSDL-1.2.id.so.0"
QA_EXECSTACK="${dir:1}/quake4.x86
${dir:1}/quake4smp.x86
${dir:1}/q4ded.x86
${dir:1}/libgcc_s.so.1
${dir:1}/libSDL-1.2.id.so.0
${dir:1}/libstdc++.so.6"

zpaklang() {
if ! use linguas_${1} ; then
einfo "Removing ${2} zpak files"
rm -f q4base/zpak_${2}*
fi
}

src_unpack() {
unpack_makeself ${A}

mv q4icon.bmp quake4.bmp || die

# Am including the Spanish files because Spanish is the default language
#zpaklang es spanish
zpaklang cs czech
zpaklang fr french
zpaklang it italian
zpaklang pl polish
zpaklang ru russian

# Rename the .off files, so they will be used
cd q4base
if [[ ! -z $(ls *.off 2> /dev/null) ]] ; then
local f
for f in *.off ; do
einfo "Renaming ${f}"
mv "${f}" "${f%.off}" || die "mv ${f}"
done
fi
}

src_install() {
insinto "${dir}"
doins *.{htm,txt} README us/version.info || die "docs"
doins -r pb q4mp || die "doins pb q4mp"

exeinto "${dir}"
doexe openurl.sh || die "openurl.sh"
doexe bin/Linux/x86/{quake4{,smp}.x86,q4ded.x86,*.so.?} \
|| die "doexe x86 exes/libs"

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
doicon quake4.bmp || die "doicon"
games_make_wrapper quake4 "./quake4.x86" "${dir}" "${dir}"
games_make_wrapper quake4-smp ./quake4smp.x86 "${dir}" "${dir}"
icon_path="quake4"
if [ -e "${FILESDIR}"/quake4.png ]
then
doicon "${FILESDIR}"/quake4.png || die "copying icon"
elif [ -e "${DISTDIR}"/quake4.png ]
then
doicon "${DISTDIR}"/quake4.png || die "copying icon"
else
icon_path=/usr/share/pixmaps/quake4.bmp
fi
make_desktop_entry quake4 "Quake IV" ${icon_path}
make_desktop_entry quake4-smp "Quake IV (SMP)" ${icon_path}
fi

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst

if ! use cdinstall ; then
elog "You need to copy pak001.pk4 through pak012.pk4, along with"
elog "zpak*.pk4 from either your installation media or your hard drive"
elog "to ${dir}/q4base before running the game."
echo
fi
if use opengl || ! use dedicated ; then
elog "To play the game, run: quake4"
elog
# The default language is Spanish!
elog "To reset the language from Spanish to English, run:"
elog " sed -i 's:spanish:english:' ~/.quake4/q4base/Quake4Config.cfg"
elog
elog "Saved games from previous Quake 4 versions might not be compatible."
echo
fi
}