diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
commit | c22ea1f9962983b3583d00085024413d77102212 (patch) | |
tree | acd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/quake3 | |
parent | New version 'n cleanup (diff) | |
download | gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2 gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip |
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/quake3')
-rw-r--r-- | games-fps/quake3/ChangeLog | 41 | ||||
-rw-r--r-- | games-fps/quake3/Manifest | 10 | ||||
-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 | 60 | ||||
-rw-r--r-- | games-fps/quake3/quake3-1.32b.ebuild | 67 |
11 files changed, 224 insertions, 0 deletions
diff --git a/games-fps/quake3/ChangeLog b/games-fps/quake3/ChangeLog new file mode 100644 index 000000000000..c255206b4f66 --- /dev/null +++ b/games-fps/quake3/ChangeLog @@ -0,0 +1,41 @@ +# ChangeLog for app-games/quake3 +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.1 2003/09/09 18:10:14 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/Manifest b/games-fps/quake3/Manifest new file mode 100644 index 000000000000..1c44d381ce71 --- /dev/null +++ b/games-fps/quake3/Manifest @@ -0,0 +1,10 @@ +MD5 ef5ec507a89c0f99b2a2364cc381b513 ChangeLog 1393 +MD5 9b9e1815b71ec30fc205c83c96c40259 quake3-1.31.ebuild 1469 +MD5 80f09c8a40eef2fdc790e1b01d4ab633 quake3-1.32b.ebuild 1745 +MD5 7a7f02df761b544f6301991232bdc597 metadata.xml 1005 +MD5 aa25102bc1d29a9d3cef6ccb88b87833 files/digest-quake3-1.31 73 +MD5 f1b89420359c6f42cb147eb992e4f3b8 files/digest-quake3-1.32b 74 +MD5 3406e5aa779153f1890c48a2adfe13ce files/q3ded.rc 448 +MD5 475fce0ee1ec29b56007e7a11574f04b files/quake3 48 +MD5 8d401b812094aeefea2245d94166e28a files/startq3ded 112 +MD5 57ccc7870fa6d51064b3fdbdab470726 files/q3ded 43 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..07c8bdacc6cc --- /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..4473c59e7112 --- /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..912077e4bfbd --- /dev/null +++ b/games-fps/quake3/quake3-1.31.ebuild @@ -0,0 +1,60 @@ +# 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.1 2003/09/09 18:10:14 vapier Exp $ + +inherit eutils games + +DESCRIPTION="Quake III" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run" +HOMEPAGE="http://www.idsoftware.com/" + +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} + +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..81b882320f70 --- /dev/null +++ b/games-fps/quake3/quake3-1.32b.ebuild @@ -0,0 +1,67 @@ +# 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.1 2003/09/09 18:10:14 vapier Exp $ + +inherit games + +DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run" +HOMEPAGE="http://www.idsoftware.com/" + +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} + +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() { + # 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." + + games_pkg_postinst +} |