summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-05-09 14:23:01 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-05-09 14:23:01 +0000
commit484eca32a94c5000d51beaa2b9924cf6db67a641 (patch)
treef1fc1bef0de2a9a83c1ad7541386714769eb8bc1 /games-fps/quake3-bin
parentVersion bump with new patch. Marking stable on amd64 and x86. Removing olde... (diff)
downloadgentoo-2-484eca32a94c5000d51beaa2b9924cf6db67a641.tar.gz
gentoo-2-484eca32a94c5000d51beaa2b9924cf6db67a641.tar.bz2
gentoo-2-484eca32a94c5000d51beaa2b9924cf6db67a641.zip
Version bump with new patch. Marking stable on amd64 and x86. Removing older versions. Closing bug #132377.
(Portage version: 2.1_pre10-r4)
Diffstat (limited to 'games-fps/quake3-bin')
-rw-r--r--games-fps/quake3-bin/ChangeLog9
-rw-r--r--games-fps/quake3-bin/files/digest-quake3-bin-1.32c6
-rw-r--r--games-fps/quake3-bin/quake3-bin-1.32c.ebuild123
3 files changed, 137 insertions, 1 deletions
diff --git a/games-fps/quake3-bin/ChangeLog b/games-fps/quake3-bin/ChangeLog
index 5278282a5e2d..73458b995df9 100644
--- a/games-fps/quake3-bin/ChangeLog
+++ b/games-fps/quake3-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/quake3-bin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.16 2006/05/01 17:38:58 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.17 2006/05/09 14:23:01 wolf31o2 Exp $
+
+*quake3-bin-1.32c (09 May 2006)
+
+ 09 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ -quake3-bin-1.32b-r7.ebuild, +quake3-bin-1.32c.ebuild:
+ Version bump with new patch. Marking stable on amd64 and x86. Removing older
+ versions. Closing bug #132377.
01 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
-quake3-bin-1.32b-r4.ebuild, quake3-bin-1.32b-r7.ebuild:
diff --git a/games-fps/quake3-bin/files/digest-quake3-bin-1.32c b/games-fps/quake3-bin/files/digest-quake3-bin-1.32c
new file mode 100644
index 000000000000..7bcab83a7c71
--- /dev/null
+++ b/games-fps/quake3-bin/files/digest-quake3-bin-1.32c
@@ -0,0 +1,6 @@
+MD5 c71fdddccb20e8fc393d846e9c61d685 linuxq3apoint-1.32b-3.x86.run 30923961
+RMD160 eb63177fc0a30cda4976d8b68e065efb6dc41e50 linuxq3apoint-1.32b-3.x86.run 30923961
+SHA256 c36132c5556b35e01950f1e9c646235033a5130f87ad776ba2bc7becf4f4f186 linuxq3apoint-1.32b-3.x86.run 30923961
+MD5 5e55095e654732063621a2ffa95a2da3 quake3-1.32c.zip 3056760
+RMD160 d53f3b5a44e1b2871b0a6f1f6e93d9b0ad6d5d10 quake3-1.32c.zip 3056760
+SHA256 643ac677892fb58689a86d71f08d6678393efe2939b82c436a5c92368eebb849 quake3-1.32c.zip 3056760
diff --git a/games-fps/quake3-bin/quake3-bin-1.32c.ebuild b/games-fps/quake3-bin/quake3-bin-1.32c.ebuild
new file mode 100644
index 000000000000..2067cfc088a5
--- /dev/null
+++ b/games-fps/quake3-bin/quake3-bin-1.32c.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/quake3-bin-1.32c.ebuild,v 1.1 2006/05/09 14:23:01 wolf31o2 Exp $
+
+inherit eutils games
+
+DESCRIPTION="3rd installment of the classic id 3D first-person shooter"
+HOMEPAGE="http://www.idsoftware.com/"
+SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-1.32b-3.x86.run
+ mirror://idsoftware/quake3/quake3-1.32c.zip"
+
+LICENSE="Q3AEULA"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE="cdinstall dedicated opengl teamarena"
+RESTRICT="strip"
+
+UIDEPEND="virtual/opengl
+ x86? (
+ || (
+ (
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp )
+ virtual/x11 ) )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs
+ || (
+ >=media-video/nvidia-glx-1.0.6629-r3
+ >=x11-drivers/ati-drivers-8.8.25-r1 ) )"
+
+DEPEND="app-arch/unzip"
+RDEPEND="sys-libs/glibc
+ dedicated? ( app-misc/screen )
+ amd64? ( app-emulation/emul-linux-x86-baselibs )
+ opengl? ( ${UIDEPEND} )
+ cdinstall? ( games-fps/quake3-data )
+ cdinstall? ( teamarena? ( games-fps/quake3-teamarena ) )
+ !dedicated? ( !opengl? ( ${UIDEPEND} ) )"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/quake3
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ games_pkg_setup
+ if use cdinstall
+ then
+ built_with_use games-fps/quake3-data cdinstall \
+ || die "You must install quake3-data with USE=cdinstall to get the required data."
+ fi
+}
+
+src_unpack() {
+ unpack_makeself linuxq3apoint-1.32b-3.x86.run
+ unpack quake3-1.32c.zip
+}
+
+src_install() {
+ dodir ${dir}/{baseq3,missionpack}
+ if use cdinstall ; then
+ dosym ${GAMES_DATADIR}/quake3/baseq3/pak0.pk3 ${dir}/baseq3/pak0.pk3
+ use teamarena && dosym ${GAMES_DATADIR}/quake3/missionpack/pak0.pk3 \
+ ${dir}/missionpack/pak0.pk3
+ fi
+ for pk3 in baseq3/*.pk3 missionpack/*.pk3 ; do
+ dosym ${GAMES_DATADIR}/quake3/${pk3} ${dir}/${pk3}
+ done
+
+ insinto ${dir}
+ doins -r Docs pb || die "ins docs/pb"
+
+ exeinto ${dir}
+ insinto ${dir}
+ doexe "Quake III Arena 1.32c"/linux/quake3*.x86 || die "doexe"
+ doins quake3.xpm README* Q3A_EULA.txt
+ if use opengl || ! use dedicated
+ then
+ games_make_wrapper ${PN} ./quake3.x86 "${dir}" "${dir}"
+ newicon quake3.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Quake III Arena (binary)" ${PN}.xpm
+ if use teamarena
+ then
+ games_make_wrapper ${PN}-teamarena \
+ "./quake3.x86 +set fs_game missionpack" "${dir}" "${dir}"
+ make_desktop_entry ${PN}-teamarena \
+ "Quake III Team Arena (binary)" quake3-bin.xpm
+ fi
+ fi
+ if use dedicated
+ then
+ doexe "Quake III Arena 1.32c"/linux/q3ded || die "doexe q3ded"
+ games_make_wrapper q3ded-bin ./q3ded "${dir}" "${dir}"
+ newinitd "${FILESDIR}"/q3ded.rc q3ded
+ newconfd "${FILESDIR}"/q3ded.conf.d q3ded
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ ewarn "There are two possible security bugs in this package, both causing a"
+ ewarn "denial of service. One affects the game when running a server, the"
+ ewarn "other when running as a client."
+ ewarn "For more information, please see bug #82149."
+ if use dedicated; then
+ echo
+ einfo "To start a dedicated server, run"
+ einfo " /etc/init.d/q3ded start"
+ echo
+ einfo "The dedicated server is started under the ${GAMES_USER_DED} user account."
+ fi
+
+ # IA32 Emulation required for amd64
+ if use amd64 ; then
+ echo
+ ewarn "NOTE: IA32 Emulation must be compiled into your kernel for Quake3 to run."
+ fi
+}