summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-05 02:29:36 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-05 02:29:36 +0000
commit711b8dfe42707c51be4ef027cf4d602d4eb2d925 (patch)
treecd25138965aa67ad1857b060ada553ff8e352b4a /games-fps/quake3-demo
parentmmm quake3 (diff)
downloadgentoo-2-711b8dfe42707c51be4ef027cf4d602d4eb2d925.tar.gz
gentoo-2-711b8dfe42707c51be4ef027cf4d602d4eb2d925.tar.bz2
gentoo-2-711b8dfe42707c51be4ef027cf4d602d4eb2d925.zip
quake3
Diffstat (limited to 'games-fps/quake3-demo')
-rw-r--r--games-fps/quake3-demo/ChangeLog13
-rw-r--r--games-fps/quake3-demo/files/digest-quake3-demo-1.111
-rw-r--r--games-fps/quake3-demo/files/q3demo3
-rw-r--r--games-fps/quake3-demo/files/q3demo-ded3
-rw-r--r--games-fps/quake3-demo/quake3-demo-1.11.ebuild61
5 files changed, 81 insertions, 0 deletions
diff --git a/games-fps/quake3-demo/ChangeLog b/games-fps/quake3-demo/ChangeLog
new file mode 100644
index 000000000000..99e5ad09cebe
--- /dev/null
+++ b/games-fps/quake3-demo/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for games-fps/quake3-demo
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.4 2003/10/05 02:29:36 vapier Exp $
+
+ 18 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> quake3-demo-1.11.ebuild,
+ files/q3ded-demo, files/q3demo-ded:
+ Fixed LICENSE, changed dedicated server script to better match the rest of the
+ app-games ebuilds, and removed X USE variable, due to it being redundant.
+
+*quake3-demo-1.11 (07 Jul 2003)
+
+ 07 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/quake3-demo/files/digest-quake3-demo-1.11 b/games-fps/quake3-demo/files/digest-quake3-demo-1.11
new file mode 100644
index 000000000000..28d94005c5c7
--- /dev/null
+++ b/games-fps/quake3-demo/files/digest-quake3-demo-1.11
@@ -0,0 +1 @@
+MD5 484610c1ce34272223a52ec331c99d5d linuxq3ademo-1.11-6.x86.gz.sh 49289300
diff --git a/games-fps/quake3-demo/files/q3demo b/games-fps/quake3-demo/files/q3demo
new file mode 100644
index 000000000000..0e3d78b5cfa1
--- /dev/null
+++ b/games-fps/quake3-demo/files/q3demo
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./q3demo.x86 "${@}"
diff --git a/games-fps/quake3-demo/files/q3demo-ded b/games-fps/quake3-demo/files/q3demo-ded
new file mode 100644
index 000000000000..e0b82394ebbc
--- /dev/null
+++ b/games-fps/quake3-demo/files/q3demo-ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./q3ded.x86 "${@}"
diff --git a/games-fps/quake3-demo/quake3-demo-1.11.ebuild b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
new file mode 100644
index 000000000000..55969e8d19fb
--- /dev/null
+++ b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
@@ -0,0 +1,61 @@
+# 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-demo/quake3-demo-1.11.ebuild,v 1.3 2003/10/05 02:29:36 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Quake III Arena - Demo version"
+HOMEPAGE="http://www.idsoftware.com/games/quake/quake3-arena/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3ademo-${PV}-6.x86.gz.sh
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/quake3arena/linuxq3ademo-${PV}-6.x86.gz.sh
+ ftp://ftp.bluesnews.com/idstuff/quake3/linux/linuxq3ademo-${PV}-6.x86.gz.sh"
+
+LICENSE="Q3AEULA"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="opengl dedicated 3dfx"
+
+DEPEND=""
+RDEPEND="dedicated? ( app-misc/screen )
+ !dedicated? ( virtual/opengl )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ cp -rf Help ${D}/${dir}/
+ cp -rf demoq3 ${D}/${dir}/
+
+ exeinto ${dir}
+ newexe bin/x86/glibc-2.0/q3ded q3ded.x86
+ newexe bin/x86/glibc-2.0/q3demo q3demo.x86
+ use 3dfx && doexe bin/x86/glibc-2.0/libMesaVoodooGL.so*
+ #use opengl && dosym /usr/lib/libGL.so ${dir}/libGL.so
+
+ doexe ${FILESDIR}/{q3demo,q3demo-ded}
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/q3demo ${GAMES_BINDIR}/q3demo
+ dosym ${dir}/q3ded-demo ${GAMES_BINDIR}/q3demo-ded
+ dosed "s:GENTOO_DIR:${dir}:" ${dir}/q3demo
+ dosed "s:GENTOO_DIR:${dir}:" ${dir}/q3demo-ded
+
+ insinto ${dir}
+ doins README icon.*
+
+ prepgamesdirs
+ make_desktop_entry q3demo "Quake III Demo"
+}
+
+pkg_postinst() {
+ einfo "To play the game run:"
+ einfo " q3demo"
+
+ games_pkg_postinst
+}