diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-05 02:23:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-05 02:23:04 +0000 |
commit | f661e048ad6c163eb6b63e7b116fcbcf98f8a38d (patch) | |
tree | 1d109efacdcf0e6b39ba2cacf3dea4b172fb0074 /games-fps | |
parent | Update patches (diff) | |
download | historical-f661e048ad6c163eb6b63e7b116fcbcf98f8a38d.tar.gz historical-f661e048ad6c163eb6b63e7b116fcbcf98f8a38d.tar.bz2 historical-f661e048ad6c163eb6b63e7b116fcbcf98f8a38d.zip |
mmm quake3
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/quake3/ChangeLog | 41 | ||||
-rw-r--r-- | games-fps/quake3/files/digest-quake3-1.31 | 1 | ||||
-rw-r--r-- | games-fps/quake3/files/digest-quake3-1.32b | 1 | ||||
-rw-r--r-- | games-fps/quake3/files/q3ded | 3 | ||||
-rw-r--r-- | games-fps/quake3/files/q3ded.rc | 24 | ||||
-rw-r--r-- | games-fps/quake3/files/quake3 | 3 | ||||
-rw-r--r-- | games-fps/quake3/files/startq3ded | 3 | ||||
-rw-r--r-- | games-fps/quake3/metadata.xml | 11 | ||||
-rw-r--r-- | games-fps/quake3/quake3-1.31.ebuild | 64 | ||||
-rw-r--r-- | games-fps/quake3/quake3-1.32b.ebuild | 71 |
10 files changed, 222 insertions, 0 deletions
diff --git a/games-fps/quake3/ChangeLog b/games-fps/quake3/ChangeLog new file mode 100644 index 000000000000..9414426ed976 --- /dev/null +++ b/games-fps/quake3/ChangeLog @@ -0,0 +1,41 @@ +# ChangeLog for games-fps/quake3 +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.4 2003/10/05 02:23:04 vapier Exp $ + + 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.32b.ebuild: + Updated to use games user, make a desktop entry, and added to description + +*quake3-1.32b (31 Dec 2002) + + 31 Dec 2002; Mike Frysinger <vapier@gentoo.org> : + Version bump #12847. + +*quake3-1.32 (29 Nov 2002) + + 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Added games.eclass support + +*quake3-1.31-r1 (15 Jul 2002) + + 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Added games.eclass support + + 07 Sep 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31-r1.ebuild: + LICENSE changed to Q3AEULA. + + 06 Aug 2002; Mark Guertin <gerk@gentoo.org> : + Added -ppc -sparc -sparc64 to keywords + + 15 Jul 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31-r1.ebuild + Really fixed perms. + + 15 Jul 2002; Brandon Low <lostlogic@gentoo.org> quake3-1.31-r1.ebuild: + Fix a few other dumbnesses in the ebuild. Nothing terribly important. + +*quake3-1.31 (25 Jun 2002) + + 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31.ebuild: + Fixed a problem with perms on bin files. + + 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31.ebuild: + First relase by Alexander Gretencord <arutha@gmx.de>. diff --git a/games-fps/quake3/files/digest-quake3-1.31 b/games-fps/quake3/files/digest-quake3-1.31 new file mode 100644 index 000000000000..29ea96f1e338 --- /dev/null +++ b/games-fps/quake3/files/digest-quake3-1.31 @@ -0,0 +1 @@ +MD5 2620b9eefb6d0775f766b6570870157a linuxq3apoint-1.31.x86.run 28415127 diff --git a/games-fps/quake3/files/digest-quake3-1.32b b/games-fps/quake3/files/digest-quake3-1.32b new file mode 100644 index 000000000000..485ec6077960 --- /dev/null +++ b/games-fps/quake3/files/digest-quake3-1.32b @@ -0,0 +1 @@ +MD5 c6afb977ca0357de39db6871c8a3cd37 linuxq3apoint-1.32b.x86.run 31478345 diff --git a/games-fps/quake3/files/q3ded b/games-fps/quake3/files/q3ded new file mode 100644 index 000000000000..387d37d6425b --- /dev/null +++ b/games-fps/quake3/files/q3ded @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/quake3 +exec ./q3ded "${@}" diff --git a/games-fps/quake3/files/q3ded.rc b/games-fps/quake3/files/q3ded.rc new file mode 100644 index 000000000000..9134a48ca8fe --- /dev/null +++ b/games-fps/quake3/files/q3ded.rc @@ -0,0 +1,24 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting baseq3 dedicated..." + export HOME=/root + screen -A -m -d -S q3ded su - q3 -c /opt/quake3/startq3ded + eend $? +} + +stop() { + ebegin "Stopping baseq3 dedicated..." + pid=`screen -list | grep q3ded | awk -F . '{ print $1 }' | sed -e s/.//` + kill $pid + eend $? + +} + +status() { + screen -list | grep q3ded +} diff --git a/games-fps/quake3/files/quake3 b/games-fps/quake3/files/quake3 new file mode 100644 index 000000000000..71ebdf849e30 --- /dev/null +++ b/games-fps/quake3/files/quake3 @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/quake3 +exec ./quake3.x86 "$@" diff --git a/games-fps/quake3/files/startq3ded b/games-fps/quake3/files/startq3ded new file mode 100644 index 000000000000..126a633a13f3 --- /dev/null +++ b/games-fps/quake3/files/startq3ded @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/quake3 +exec ./q3ded +set com_hunkmegs 24 +set dedicated 1 +set net_port 27960 +map q3tourney2 diff --git a/games-fps/quake3/metadata.xml b/games-fps/quake3/metadata.xml new file mode 100644 index 000000000000..a57611cea67b --- /dev/null +++ b/games-fps/quake3/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>games@gentoo.org</email> +</maintainer> +<longdescription> +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. +</longdescription> +</pkgmetadata> diff --git a/games-fps/quake3/quake3-1.31.ebuild b/games-fps/quake3/quake3-1.31.ebuild new file mode 100644 index 000000000000..b69e3c004b29 --- /dev/null +++ b/games-fps/quake3/quake3-1.31.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.31.ebuild,v 1.3 2003/10/05 02:23:04 vapier Exp $ + +inherit eutils games + +DESCRIPTION="Quake III" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="-* x86" +IUSE="${IUSE} X opengl" +RESTRICT="nostrip" + +RDEPEND="virtual/glibc + opengl? ( virtual/opengl ) + X? ( x11-base/xfree ) + dedicated? ( app-misc/screen )" + +S=${WORKDIR} + +pkg_setup() { + check_license +} + +src_unpack() { + unpack_makeself +} + +src_install() { + dodir /opt/quake3/ + + insinto /opt/quake3/baseq3 + doins baseq3/*.pk3 + insinto /opt/quake3/missionpack + doins missionpack/*.pk3 + + exeinto /opt/quake3/ + insinto /opt/quake3/ + doexe bin/x86/{quake3.x86,q3ded} ${FILESDIR}/startq3ded + doins quake3.xpm README* Q3A_EULA.txt Help/* + dogamesbin ${FILESDIR}/quake3 + + exeinto /etc/init.d + newexe ${FILESDIR}/q3ded.rc q3ded + + prepgamesdirs /opt/quake3 +} + +pkg_postinst() { + enewuser q3 -1 /bin/bash /opt/quake3 ${GAMES_GROUP} + + einfo "You need to copy pak0.pk3 from your Quake3 CD into /opt/quake3/baseq3." + einfo "Or if you have got a Window installation of Q3 make a symlink to save space." + echo + einfo "To start a dedicated server, run" + einfo "\t/etc/init.d/q3ded start" + echo + einfo "The dedicated server is started under the q3 user account." + + games_pkg_postinst +} diff --git a/games-fps/quake3/quake3-1.32b.ebuild b/games-fps/quake3/quake3-1.32b.ebuild new file mode 100644 index 000000000000..89c185d35169 --- /dev/null +++ b/games-fps/quake3/quake3-1.32b.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.32b.ebuild,v 1.3 2003/10/05 02:23:04 vapier Exp $ + +inherit games + +DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="-* x86" +IUSE="${IUSE} opengl" +RESTRICT="nostrip" + +RDEPEND="virtual/glibc + opengl? ( virtual/opengl ) + dedicated? ( app-misc/screen ) + !dedicated? ( virtual/opengl )" + +S=${WORKDIR} + +pkg_setup() { + check_license +} + +src_unpack() { + unpack_makeself +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + dodir ${dir} + + insinto ${dir}/baseq3 + doins baseq3/*.pk3 + mv Docs ${D}/${dir}/ + insinto ${dir}/missionpack + doins missionpack/*.pk3 + mv pb ${D}/${dir}/ + + exeinto ${dir} + insinto ${dir} + doexe bin/x86/{quake3.x86,q3ded} ${FILESDIR}/startq3ded + doins quake3.xpm README* Q3A_EULA.txt + dogamesbin ${FILESDIR}/quake3 ${FILESDIR}/q3ded + + exeinto /etc/init.d + newexe ${FILESDIR}/q3ded.rc q3ded + insinto /usr/share/pixmaps + doins quake3.xpm + + prepgamesdirs + make_desktop_entry quake3 "Quake III Arena" quake3.xpm +} + +pkg_postinst() { + games_pkg_postinst + + # Shouldn't this be using the games user? + # enewuser q3 -1 /bin/bash /opt/quake3 ${GAMES_GROUP} + + einfo "You need to copy pak0.pk3 from your Quake3 CD into ${dir}/baseq3." + einfo "Or if you have got a Window installation of Q3 make a symlink to save space." + echo + einfo "To start a dedicated server, run" + einfo "\t/etc/init.d/q3ded start" + echo + einfo "The dedicated server is started under the ${GAMES_USER_DED} user account." +} |