ChangeLog

# ChangeLog for games-fps/quake3
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.49 2007/12/31 21:27:47 vapier Exp $

31 Dec 2007; Mike Frysinger quake3-9999.ebuild:
Fixes from David Watzke for building with newer svn checkouts #203733.

24 Jun 2007; Piotr Jaroszyński quake3-9999.ebuild:
(QA) Don't use KEYWORDS="-*". bug #160519.

22 Jun 2007; Mike Frysinger
+files/quake3-1.34_rc3-gcc42.patch, quake3-1.34_rc3.ebuild:
Fix by nyhm for gcc-4.2 issues #179649 by Philipp.

30 Jan 2007; Chris Gianelloni
-quake3-1.34_rc2.ebuild, quake3-1.34_rc3.ebuild, quake3-9999.ebuild:
Cleaned older ebuilds and fixed up dependencies with a patch from Sascha
Geschwandtner and closing bug #162425.

*quake3-1.34_rc3 (29 Nov 2006)

29 Nov 2006; Chris Gianelloni
+quake3-1.34_rc3.ebuild:
Version bump to 1.34_rc3.

25 Oct 2006; Chris Gianelloni
-quake3-1.34_alpha789.ebuild:
Clean up older ebuilds.

*quake3-1.34_rc2 (19 Oct 2006)

19 Oct 2006; Chris Gianelloni
quake3-1.34_alpha789.ebuild, +quake3-1.34_rc2.ebuild, quake3-9999.ebuild:
Version bump and fix filter-flags. Blame zakk.

03 Oct 2006; Chris Gianelloni
-files/quake3-1.34_alpha778-gfbsd.patch, -quake3-1.34_alpha778.ebuild,
quake3-1.34_alpha789.ebuild, quake3-9999.ebuild:
Added filter-flags to remove -mfpmath=sse for bug #149008.

*quake3-1.34_alpha789 (26 May 2006)

26 May 2006; Mike Frysinger
+quake3-1.34_alpha789.ebuild:
Version bump.

24 May 2006; Diego Pettenò
+files/quake3-1.34_alpha778-gfbsd.patch, quake3-1.34_alpha778.ebuild:
Add patch by Robert Sebastian Gerus to build on Gentoo/FreeBSD (bug
#134147). Add ~x86-fbsd keyword.

23 May 2006; Chris Gianelloni
quake3-1.34_alpha778.ebuild, quake3-9999.ebuild:
Remove dirty botlib hack that was put in place for bug #121428.

23 May 2006; Chris Gianelloni
-quake3-1.34_alpha632.ebuild, -quake3-1.34_alpha711.ebuild,
quake3-1.34_alpha778.ebuild, quake3-9999.ebuild:
Added teamarena to IUSE and removed older snapshots that had vulnerabilities
CVE-2006-2082 and CVE-2006-2236.

*quake3-1.34_alpha778 (10 May 2006)

10 May 2006; Mike Frysinger
+quake3-1.34_alpha778.ebuild:
Version bump for security #132377.

*quake3-1.34_alpha711 (19 Apr 2006)

19 Apr 2006; Mike Frysinger
+quake3-1.34_alpha711.ebuild:
Version bump.

31 Mar 2006; Chris Gianelloni
quake3-1.34_alpha632.ebuild, quake3-9999.ebuild:
Adding a 'fix' from FreeBSD for bug #121428 until a proper solution is
hashed out upstream.

27 Mar 2006; Chris Gianelloni
quake3-1.34_alpha632.ebuild, quake3-9999.ebuild:
Added initial support for quake3-teamarena.

24 Mar 2006; Chris Gianelloni
-quake3-1.33_alpha510.ebuild:
Cleaned up older ebuilds.

24 Mar 2006; Chris Gianelloni
quake3-1.33_alpha510.ebuild, quake3-1.34_alpha632.ebuild:
Changed xpm to png and closing bug #127450.

*quake3-1.34_alpha632 (11 Mar 2006)

11 Mar 2006; Mike Frysinger
+quake3-1.34_alpha632.ebuild:
Update snapshot.

22 Jan 2006; Michael Sterrett
quake3-1.33_alpha510.ebuild:
support dedicated use flag more (bug #119874)

*quake3-1.33_alpha510 (20 Jan 2006)

20 Jan 2006; Mike Frysinger
+quake3-1.33_alpha510.ebuild:
Version bump.

08 Jan 2006; Chris Gianelloni
quake3-1.33_alpha255.ebuild, quake3-1.33_alpha364.ebuild:
Added media-libs/openal to RDEPEND and closing bug #118232.

05 Jan 2006; Chris Gianelloni
quake3-1.33_alpha255.ebuild, quake3-1.33_alpha364.ebuild:
Added modular X dependencies.

18 Nov 2005; Chris Gianelloni
quake3-1.33_alpha364.ebuild:
Added openal to RDEPEND and closing bug #112906.

*quake3-1.33_alpha* (26 Oct 2005)

26 Oct 2005; Mike Frysinger :
Initial version of quake3-from-source #103591.

Manifest

AUX quake3-1.34_rc3-gcc42.patch 766 RMD160 a584f52898bb9d8099dce89bcb88cd8fa099211d SHA1 72e524009f0f4bee75eadcc29ffc56bbbcf3d434 SHA256 3ded8cb46b60ee74fbfae97633f6dab371916b18a2c69b042e7eb1cf5ca78919
DIST ioquake3_1.34-rc3.tar.bz2 3147694 RMD160 b270cd43a4f9f2700715cbd1487a8d0efab0296b SHA1 327d95a128aacc3bdd4e9497896651005cce8f92 SHA256 fb43f63178c6700f20b83634b816f77e390e375e7d9c717180c9820f0c541b01
EBUILD quake3-1.34_rc3.ebuild 2934 RMD160 e418f9a6bab640fefcec80d172e576ac5366ebde SHA1 f3f1c66757941247b5ffb9f570317509ba55be73 SHA256 4fcb1bae6d01edaf50dd301d86442ddb91ac90c2862a5ab53b8e4d5d2f98f242
EBUILD quake3-9999.ebuild 2834 RMD160 289ecfb9369f2775f7f7b338e0e5ceb1a7343505 SHA1 1cb30bd24333fca18573efd794894ca1e079dc5d SHA256 2b256c422bbf590e7c9bc9a0abe8c114c3acde0316f3e773fb8c47a0a82976ac
MISC ChangeLog 4362 RMD160 bd5c9066f2f217e5b52390e52eb44d4cc38dddf9 SHA1 28421b8092b3695ee2e73123a406e92a058752a4 SHA256 89eaab2a37041dd628c2caaa12dd630773001d9f88046c3c47850278d13098da
MISC metadata.xml 1052 RMD160 47127dc28337531fc3907c9d95f9d7d35d8e2d15 SHA1 08386bbbd1d751866a0201708cabfc8cbdfee975 SHA256 9552624bd6c0d0ac113dc2d283a41c556bd86948c5a14c98fb06e85948feb2aa

files

metadata.xml




games

Quake III Arena is the third installment of the extremely popular and
successful Quake series by id software. The game was released by id
software for both Windows and Linux. The Linux version of the game was
maintained and sold by the now defunct Loki Entertainment. The powerful
Quake III engine is the basis for many other commercial games, as id's
major source of revenue is licensing their game engines. The engine
allows for user-contributed modifications to be made, allowing the game
to be extensible and expandable. This game is commercial software, and
requires the data from a retail copy of the game to play. If you're
interested in checking out the technology behind Quake III, then
"emerge quake3-demo" to get the playable demo.


Adds support for Team Arena expansion pack

quake3-1.34_rc3.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.34_rc3.ebuild,v 1.8 2008/01/12 02:53:11 mr_bones_ Exp $

# quake3-9999 -> latest svn
# quake3-9999.REV -> use svn REV
# quake3-VER_alphaREV -> svn snapshot REV for version VER
# quake3-VER -> normal quake release

if [[ ${PV} == 9999* ]] ; then
[[ ${PV} == 9999.* ]] && ESVN_UPDATE_CMD="svn up -r ${PV/9999./}"
ESVN_REPO_URI="svn://svn.icculus.org/quake3/trunk"
inherit subversion flag-o-matic toolchain-funcs eutils games

SRC_URI=""
S=${WORKDIR}/trunk
elif [[ ${PV} == *_alpha* ]] ; then
inherit flag-o-matic toolchain-funcs eutils games

MY_PV=${PV/_alpha*/}
SNAP=${PV/*_alpha/}
MY_P=${PN}-${MY_PV}_SVN${SNAP}M
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
S=${WORKDIR}/${MY_P}
else
inherit flag-o-matic toolchain-funcs eutils games
MY_PV=${PV/_/-}
MY_P=io${PN}_${MY_PV}
SRC_URI="http://icculus.org/quake3/files/${MY_P}.tar.bz2
http://ioquake3.org/files/${MY_P}.tar.bz2"
S=${WORKDIR}/${MY_P}
fi

DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter"
HOMEPAGE="http://ioquake3.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="dedicated opengl teamarena"

UIDEPEND="virtual/opengl
media-libs/openal
media-libs/libsdl"
DEPEND="opengl? ( ${UIDEPEND} )
!dedicated? ( ${UIDEPEND} )"
RDEPEND="${DEPEND}
games-fps/quake3-data
teamarena? ( games-fps/quake3-teamarena )"

src_unpack() {
if [[ ${PV} == 9999* ]] ; then
subversion_src_unpack
else
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc42.patch
fi
sed -i \
-e '/INSTALL/s: -s : :' \
Makefile code/tools/lcc/Makefile code/tools/asm/Makefile
}

src_compile() {
filter-flags -mfpmath=sse
buildit() { use $1 && echo 1 || echo 0 ; }
emake \
BUILD_SERVER=$(buildit dedicated) \
BUILD_CLIENT=$(( $(buildit opengl) | $(buildit !dedicated) )) \
TEMPDIR="${T}" \
CC="$(tc-getCC)" \
ARCH=$(tc-arch-kernel) \
OPTIMIZE="${CFLAGS}" \
DEFAULT_BASEDIR="${GAMES_DATADIR}/quake3" \
DEFAULT_LIBDIR="$(games_get_libdir)/quake3" \
|| die
}

src_install() {
dodoc id-readme.txt TODO README BUGS ChangeLog
cd code/unix
dodoc README.*

if use opengl ; then
doicon quake3.png
make_desktop_entry quake3 "Quake III Arena"
fi

cd ../../build/release*
local old_x x
for old_x in ioq* ; do
x=${old_x%.*}
newgamesbin ${old_x} ${x} || die "newgamesbin ${x}"
dosym ${x} "${GAMES_BINDIR}"/${x/io}
done
exeinto "$(games_get_libdir)"/${PN}/baseq3
doexe baseq3/*.so || die "baseq3 .so"
exeinto "$(games_get_libdir)"/${PN}/missionpack
doexe missionpack/*.so || die "missionpack .so"

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
ewarn "The source version of Quake 3 will not work with Punk Buster."
ewarn "If you need pb support, then use the quake3-bin package."
echo
}

quake3-9999.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-9999.ebuild,v 1.15 2008/01/12 02:54:39 mr_bones_ Exp $

# quake3-9999 -> latest svn
# quake3-9999.REV -> use svn REV
# quake3-VER_alphaREV -> svn snapshot REV for version VER
# quake3-VER -> normal quake release

if [[ ${PV} == 9999* ]] ; then
[[ ${PV} == 9999.* ]] && ESVN_UPDATE_CMD="svn up -r ${PV/9999./}"
ESVN_REPO_URI="svn://svn.icculus.org/quake3/trunk"
inherit subversion flag-o-matic toolchain-funcs eutils games

SRC_URI=""
S=${WORKDIR}/trunk
elif [[ ${PV} == *_alpha* ]] ; then
inherit flag-o-matic toolchain-funcs eutils games

MY_PV=${PV/_alpha*/}
SNAP=${PV/*_alpha/}
MY_P=${PN}-${MY_PV}_SVN${SNAP}M
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
S=${WORKDIR}/${MY_P}
else
inherit flag-o-matic toolchain-funcs eutils games
MY_PV=${PV/_/-}
MY_P=io${PN}_${MY_PV}
SRC_URI="http://icculus.org/quake3/files/${MY_P}.tar.bz2
http://ioquake3.org/files/${MY_P}.tar.bz2"
S=${WORKDIR}/${MY_P}
fi

DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter"
HOMEPAGE="http://ioquake3.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="dedicated opengl teamarena"

UIDEPEND="virtual/opengl
media-libs/openal
media-libs/libsdl"
DEPEND="opengl? ( ${UIDEPEND} )
!dedicated? ( ${UIDEPEND} )"
RDEPEND="${DEPEND}
games-fps/quake3-data
teamarena? ( games-fps/quake3-teamarena )"

src_unpack() {
if [[ ${PV} == 9999* ]] ; then
subversion_src_unpack
else
unpack ${A}
cd "${S}"
fi
sed -i \
-e '/INSTALL/s: -s : :' \
Makefile code/tools/lcc/Makefile code/tools/asm/Makefile
}

src_compile() {
filter-flags -mfpmath=sse
buildit() { use $1 && echo 1 || echo 0 ; }
emake \
BUILD_SERVER=$(buildit dedicated) \
BUILD_CLIENT=$(( $(buildit opengl) | $(buildit !dedicated) )) \
TEMPDIR="${T}" \
CC="$(tc-getCC)" \
ARCH=$(tc-arch-kernel) \
OPTIMIZE="${CFLAGS}" \
DEFAULT_BASEDIR="${GAMES_DATADIR}/quake3" \
DEFAULT_LIBDIR="$(games_get_libdir)/quake3" \
|| die
}

src_install() {
dodoc id-readme.txt TODO README BUGS ChangeLog

if use opengl ; then
doicon misc/quake3.png
make_desktop_entry quake3 "Quake III Arena"
fi

cd build/release*
local old_x x
for old_x in ioq* ; do
x=${old_x%.*}
newgamesbin ${old_x} ${x} || die "newgamesbin ${x}"
dosym ${x} "${GAMES_BINDIR}"/${x/io}
done
exeinto "$(games_get_libdir)"/${PN}/baseq3
doexe baseq3/*.so || die "baseq3 .so"
exeinto "$(games_get_libdir)"/${PN}/missionpack
doexe missionpack/*.so || die "missionpack .so"

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
ewarn "The source version of Quake 3 will not work with Punk Buster."
ewarn "If you need pb support, then use the quake3-bin package."
echo
}