summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-05-01 15:51:45 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-05-01 15:51:45 +0000
commit579f5cb1b8b2beca843eca0102504c68bdc85ace (patch)
tree399d3f35d68662ae16adacf180ce323aaf7d238e /games-fps/quake4-bin
parentStable on Alpha wrt bug #131791 (diff)
downloadgentoo-2-579f5cb1b8b2beca843eca0102504c68bdc85ace.tar.gz
gentoo-2-579f5cb1b8b2beca843eca0102504c68bdc85ace.tar.bz2
gentoo-2-579f5cb1b8b2beca843eca0102504c68bdc85ace.zip
Version bump to 1.2.1 and closing bug #131604.
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'games-fps/quake4-bin')
-rw-r--r--games-fps/quake4-bin/ChangeLog8
-rw-r--r--games-fps/quake4-bin/files/digest-quake4-bin-1.0.62
-rw-r--r--games-fps/quake4-bin/files/digest-quake4-bin-1.2.13
-rw-r--r--games-fps/quake4-bin/quake4-bin-1.2.1.ebuild101
4 files changed, 113 insertions, 1 deletions
diff --git a/games-fps/quake4-bin/ChangeLog b/games-fps/quake4-bin/ChangeLog
index 519d3264912c..42b0aa04a664 100644
--- a/games-fps/quake4-bin/ChangeLog
+++ b/games-fps/quake4-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/quake4-bin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.15 2006/04/19 23:01:17 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.16 2006/05/01 15:51:45 wolf31o2 Exp $
+
+*quake4-bin-1.2.1 (01 May 2006)
+
+ 01 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +quake4-bin-1.2.1.ebuild:
+ Version bump to 1.2.1 and closing bug #131604.
*quake4-bin-1.2 (19 Apr 2006)
diff --git a/games-fps/quake4-bin/files/digest-quake4-bin-1.0.6 b/games-fps/quake4-bin/files/digest-quake4-bin-1.0.6
index 1510df56739f..83e6f0c8ff46 100644
--- a/games-fps/quake4-bin/files/digest-quake4-bin-1.0.6
+++ b/games-fps/quake4-bin/files/digest-quake4-bin-1.0.6
@@ -1 +1,3 @@
MD5 8d5c51ea773b81e5a0efebed712198c2 quake4-linux-1.0.6.x86.run 19257935
+RMD160 ae6ed88443ccf7d66d074120e4460b67539df993 quake4-linux-1.0.6.x86.run 19257935
+SHA256 c9bd6c463558f7370f6e24a1bf4df509b47068f66d048db9f3e8f7b448316b99 quake4-linux-1.0.6.x86.run 19257935
diff --git a/games-fps/quake4-bin/files/digest-quake4-bin-1.2.1 b/games-fps/quake4-bin/files/digest-quake4-bin-1.2.1
new file mode 100644
index 000000000000..2afa8bd46fa6
--- /dev/null
+++ b/games-fps/quake4-bin/files/digest-quake4-bin-1.2.1
@@ -0,0 +1,3 @@
+MD5 ed9ecbddf8d3e5cf4e7d5330303c3610 quake4-linux-1.2.1.x86.run 123174709
+RMD160 488f6f619adcefb76a73808e8ec1ea1871534ae7 quake4-linux-1.2.1.x86.run 123174709
+SHA256 1e23a3f509a3d3ce86519c3ad0a29677eb05e2cc28f773dca1971ad025032622 quake4-linux-1.2.1.x86.run 123174709
diff --git a/games-fps/quake4-bin/quake4-bin-1.2.1.ebuild b/games-fps/quake4-bin/quake4-bin-1.2.1.ebuild
new file mode 100644
index 000000000000..b87a70f6fc58
--- /dev/null
+++ b/games-fps/quake4-bin/quake4-bin-1.2.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.2.1.ebuild,v 1.1 2006/05/01 15:51:45 wolf31o2 Exp $
+
+inherit eutils games
+
+DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter"
+HOMEPAGE="http://www.quake4game.com/"
+SRC_URI="mirror://idsoftware/quake4/linux/quake4-linux-${PV}.x86.run"
+
+LICENSE="QUAKE4"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="alsa cdinstall dedicated opengl"
+RESTRICT="strip"
+
+UIDEPEND="virtual/opengl
+ x86? (
+ || (
+ (
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp )
+ virtual/x11 ) )
+ media-libs/libsdl
+ amd64? (
+ app-emulation/emul-linux-x86-sdl
+ app-emulation/emul-linux-x86-xlibs
+ || (
+ >=media-video/nvidia-glx-1.0.6629-r3
+ >=x11-drivers/ati-drivers-8.8.25-r1 ) )
+ alsa? ( >=media-libs/alsa-lib-1.0.6 )"
+
+RDEPEND="sys-libs/glibc
+ dedicated? ( app-misc/screen )
+ amd64? ( app-emulation/emul-linux-x86-baselibs )
+ opengl? ( ${UIDEPEND} )
+ cdinstall? ( games-fps/quake4-data )
+ !dedicated? ( !opengl? ( ${UIDEPEND} ) )"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/quake4
+Ddir=${D}/${dir}
+
+src_unpack() {
+ unpack_makeself quake4-linux-${PV}.x86.run
+}
+
+src_install() {
+ insinto "${dir}"
+ exeinto "${dir}"
+
+ doins *.txt README q4icon.bmp us/version.info README-1.2.htm
+ doins -r pb
+ doexe openurl.sh || die "openurl.sh"
+ doexe bin/Linux/x86/quake4.x86 bin/Linux/x86/q4ded.x86 \
+ bin/Linux/x86/libgcc_s.so.1 bin/Linux/x86/libstdc++.so.* \
+ || die "doexe x86 exes/libs"
+ newexe bin/Linux/x86/libSDL-1.2.id.so.0 libSDL-1.2.so.0 || die "libSDL"
+
+ insinto ${dir}/q4base
+ doins q4base/* us/q4base/* || die "doins q4base"
+ if use dedicated
+ then
+ games_make_wrapper quake4-ded ./q4ded.x86 "${dir}" "${dir}"
+ fi
+
+ if use opengl || ! use dedicated
+ then
+ games_make_wrapper quake4 ./quake4.x86 "${dir}" "${dir}"
+ games_make_wrapper quake4-smp ./quake4smp.x86 "${dir}" "${dir}"
+# doicon ${FILESDIR}/quake4.png || die "copying icon"
+# make_desktop_entry quake4 "Quake IV" quake4.png
+ newicon q4icon.bmp quake4.bmp || die "copying icon"
+ make_desktop_entry quake4 "Quake IV" /usr/share/pixmaps/quake4.bmp
+ make_desktop_entry quake4-smp "Quake IV (SMP)" /usr/share/pixmaps/quake4.bmp
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ if ! use cdinstall
+ then
+ einfo "You need to copy pak001.pk4 through pak012.pk4, along with"
+ einfo "zpak*.pk4 from either your installation media or your hard drive"
+ einfo "to ${dir}/q4base before running the game."
+ echo
+ fi
+ if use opengl || ! use dedicated
+ then
+ einfo "To play the game run:"
+ einfo " quake4"
+ echo
+ fi
+}