# 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.9 2006/03/15 22:35:00 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.10 2006/03/29 00:41:59 wolf31o2 Exp $
+
+*quake4-bin-1.1 (29 Mar 2006)
+
+ 29 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +quake4-bin-1.1.ebuild:
+ Version bump to 1.1 and closing bug #127912.
15 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
quake4-bin-1.0.6.ebuild:
-MD5 ab46dbe1c50da4acf5d8429efbcf95dd ChangeLog 1549
-RMD160 21f9caee50ad7c8307b45368c7efdb8b040fc4e8 ChangeLog 1549
-SHA256 04c90c654b86e784cc3c0ef1fc27f2c1429efa9d78cda558d9b72f4b1cf46c74 ChangeLog 1549
+MD5 f455178c07b4e016aef212a3ceedeea9 ChangeLog 1581
+RMD160 aa1c8a26dcfb4f9533876fd8ff0ffb6e7a9b585d ChangeLog 1581
+SHA256 63bf359f61a85f3c9a78352810f1785d84867f0bdee1e6ccc69886ccf3f4dbb7 ChangeLog 1581
MD5 ad34f8ffdd4f64dea0130b33ac443011 files/digest-quake4-bin-1.0.6 73
RMD160 82faecb90a441c6f71266bb3a5d1e4cbee77bf46 files/digest-quake4-bin-1.0.6 73
SHA256 dc3e8a2d421a6a84bd9cd54d530c54a263878a83c9c7ca640f80d8c64512b762 files/digest-quake4-bin-1.0.6 73
+MD5 d9e886b89f3da74c08f62fbf960baf20 files/digest-quake4-bin-1.1 262
+RMD160 dfc6277c73aa0dba748af7f296bcf7fb044a225c files/digest-quake4-bin-1.1 262
+SHA256 fdba372ccbdc3a2e763bb75666dcd71d9a02c453e9e5527bd4422c00752414eb files/digest-quake4-bin-1.1 262
MD5 67bc63233267502c576573939ca95ae9 metadata.xml 1046
RMD160 4533166e73a6c0c048441279409fe8c52875b974 metadata.xml 1046
SHA256 4c04b0b912807688e3536ea7318cdbe28858bc462e339b6cc8d4e491d167caf8 metadata.xml 1046
MD5 c5716e74b8f9bebedd1f274a67b1f3dd quake4-bin-1.0.6.ebuild 2693
RMD160 dea336ab19abd238bdb4e31f9c57284a21e1e331 quake4-bin-1.0.6.ebuild 2693
SHA256 b3e53b538e82a043412b94cfaa25ef7612b6b3e7baaccccd8a368d7cd0644ac8 quake4-bin-1.0.6.ebuild 2693
+MD5 0385d86be4212ed2e43580c17f8e7dab quake4-bin-1.1.ebuild 2706
+RMD160 8d906d196528151f966261755a89d3c0f05f41e3 quake4-bin-1.1.ebuild 2706
+SHA256 270a1441e2cc992830192597d303861088d6188191c7e1348becb7d7962ad4c3 quake4-bin-1.1.ebuild 2706
--- /dev/null
+# 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.1.ebuild,v 1.1 2006/03/29 00:41:59 wolf31o2 Exp $
+
+inherit eutils games
+
+DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter"
+HOMEPAGE="http://www.quake4game.com/"
+SRC_URI="mirror://3dgamers/quake4/quake4-linux-${PV}.x86.run
+ mirror://idsoftware/quake4-linux/quake4-linux-${PV}.x86.run
+ http://filebase.gmpf.de/quake4/quake4-linux-${PV}.x86.run
+ http://www.holarse.de/mirror/quake4-linux-${PV}.x86.run"
+
+LICENSE="QUAKE4"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="cdinstall alsa opengl dedicated"
+RESTRICT="nostrip"
+
+RDEPEND="sys-libs/glibc
+ !amd64? (
+ media-libs/libsdl )
+ amd64? (
+ app-emulation/emul-linux-x86-sdl
+ app-emulation/emul-linux-x86-xlibs )
+ opengl? (
+ virtual/opengl
+ x86? (
+ || (
+ (
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp )
+ virtual/x11 ) ) )
+ dedicated? (
+ app-misc/screen )
+ alsa? (
+ >=media-libs/alsa-lib-1.0.6 )
+ cdinstall? (
+ games-fps/quake4-data )"
+
+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 # CHANGES
+ doins -r pb || die "doins pb"
+ doexe openurl.sh || die "openurl.sh"
+ if use x86; then
+ doexe bin/Linux/x86/quake4.x86 bin/Linux/x86/q4ded.x86 \
+ bin/Linux/x86/libgcc_s.so.1 bin/Linux/x86/libstdc++.so.6 \
+ || die "doexe x86 exes/libs"
+ elif use amd64; then
+ doexe bin/Linux/x86_64/quake4.x86 bin/Linux/x86_64/q4ded.x86 \
+ bin/Linux/x86_64/libgcc_s.so.1 bin/Linux/x86_64/libstdc++.so.6 \
+ || die "doexe amd64 exes/libs"
+ else
+ die "Cannot copy executables!"
+ fi
+
+ insinto "${dir}"/q4base
+ use dedicated && games_make_wrapper quake4-ded ./q4ded.x86 "${dir}" "${dir}"
+ doins q4base/* || die "doins q4base"
+ doins us/q4base/* || die "installing us/q4base/*"
+
+ if use opengl
+ then
+ games_make_wrapper quake4 ./quake4.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
+ 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
+ einfo "To play the game run:"
+ einfo " quake4"
+ echo
+}