summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-05-25 14:23:38 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-05-25 14:23:38 +0000
commit1f16a058cc1968a3512c0ddffa0ad9c24aa9624a (patch)
tree36e3bd17d7c4b87a4b7b37331f757f3bdc1ff3a8 /games-fps/doom3
parentdev-perl/MIME-Base64 => perl-core/MIME-Base64 migration (diff)
downloadgentoo-2-1f16a058cc1968a3512c0ddffa0ad9c24aa9624a.tar.gz
gentoo-2-1f16a058cc1968a3512c0ddffa0ad9c24aa9624a.tar.bz2
gentoo-2-1f16a058cc1968a3512c0ddffa0ad9c24aa9624a.zip
Version bump to latest patch and closing bug #93857.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'games-fps/doom3')
-rw-r--r--games-fps/doom3/ChangeLog8
-rw-r--r--games-fps/doom3/doom3-1.3.1302.ebuild108
-rw-r--r--games-fps/doom3/files/digest-doom3-1.3.13021
3 files changed, 116 insertions, 1 deletions
diff --git a/games-fps/doom3/ChangeLog b/games-fps/doom3/ChangeLog
index 903166be7b46..d6d8441f6c08 100644
--- a/games-fps/doom3/ChangeLog
+++ b/games-fps/doom3/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/doom3
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.8 2005/04/18 15:20:31 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.9 2005/05/25 14:23:38 wolf31o2 Exp $
+
+*doom3-1.3.1302 (25 May 2005)
+
+ 25 May 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ +doom3-1.3.1302.ebuild:
+ Version bump to latest patch and closing bug #93857.
18 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> doom3-1.1.1286.ebuild:
Added 3dgamers mirrors and closing bug #89361.
diff --git a/games-fps/doom3/doom3-1.3.1302.ebuild b/games-fps/doom3/doom3-1.3.1302.ebuild
new file mode 100644
index 000000000000..45be019edcbe
--- /dev/null
+++ b/games-fps/doom3/doom3-1.3.1302.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/doom3-1.3.1302.ebuild,v 1.1 2005/05/25 14:23:38 wolf31o2 Exp $
+
+inherit eutils games
+
+DESCRIPTION="Doom III - 3rd installment of the classic id 3D first-person shooter"
+HOMEPAGE="http://www.doom3.com/"
+SRC_URI="mirror://3dgamers/3dgamers/games/${PN}/${PN}-linux-${PV}.x86.run
+ ftp://ftp.idsoftware.com/idstuff/${PN}/linux/${PN}-linux-${PV}.x86.run
+ ftp://dl.xs4all.nl/pub/mirror/idsoftware/idstuff/${PN}/linux/${PN}-linux-${PV}.x86.run"
+
+LICENSE="DOOM3"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE="cdinstall alsa opengl dedicated"
+RESTRICT="nostrip"
+
+DEPEND="app-arch/bzip2
+ app-arch/tar"
+RDEPEND="virtual/libc
+ opengl? ( virtual/opengl )
+ dedicated? ( app-misc/screen )
+ alsa? ( >=media-libs/alsa-lib-1.0.6 )"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ check_license
+ use cdinstall && cdrom_get_cds Setup/Data/base/pak002.pk4 \
+ Setup/Data/base/pak000.pk4 \
+ Setup/Data/base/pak003.pk4
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ${PN}-linux-${PV}.x86.run
+}
+
+src_install() {
+ dodir ${dir}
+
+ insinto ${dir}
+ doins License.txt CHANGES README version.info doom3.png
+ exeinto ${dir}
+ doexe libgcc_s.so.1 libstdc++.so.5 || die "doexe libs"
+ doexe openurl.sh || die "openurl.sh"
+ if use x86; then
+ doexe bin/Linux/x86/doom{,ded}.x86 || die "doexe x86 exes"
+ elif use amd64; then
+ doexe bin/Linux/amd64/doom{,ded}.x86 || die "doexe amd64 exes"
+ else
+ die "Cannot copy executables!"
+ fi
+
+ insinto ${dir}/d3xp
+ doins d3xp/* || die "doins d3xp"
+ insinto ${dir}/base
+ doins base/* || die "doins base"
+ if use cdinstall; then
+ einfo "Copying files from Disk 1..."
+ doins ${CDROM_ROOT}/Setup/Data/base/pak002.pk4 \
+ || die "copying pak002"
+ cdrom_load_next_cd
+ einfo "Copying files from Disk 2..."
+ doins ${CDROM_ROOT}/Setup/Data/base/pak00* \
+ || die "copying pak000 and pak001"
+ cdrom_load_next_cd
+ einfo "Copying files from Disk 3..."
+ doins ${CDROM_ROOT}/Setup/Data/base/pak00* \
+ || die "copying pak003 and pak004"
+ einfo "Copying pak000.pk4 to d3xp for RoE support..."
+ insinto ${dir}/d3xp
+ doins ${Ddir}/base/pak000.pk4 || die "Could not copy pak000.pk4"
+ fi
+
+ games_make_wrapper doom3 ./doom.x86 ${dir}
+ games_make_wrapper doom3-ded ./doomded.x86 ${dir}
+
+ use cdinstall && find ${Ddir} -exec touch '{}' \;
+
+ doicon doom3.png || die "Copying icon"
+
+ prepgamesdirs
+ make_desktop_entry doom3 "Doom III" doom3.png
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ if use cdinstall; then
+ einfo "To play the game run:"
+ einfo " doom3"
+ else
+ einfo "You need to copy pak000.pk4, pak001.pk4, pak002.pk4, pak003.pk4, and"
+ einfo "pak004.pk4 from either your installation media or your hard drive to"
+ einfo "${dir}/base before running the game."
+ echo
+ einfo "To use the Ressurection of Evil expansion pack, you also need to copy"
+ einfo "pak000.pk4 to ${dir}/d3xp before running the game."
+ echo
+ einfo "To play the game run:"
+ einfo " doom3"
+ fi
+}
diff --git a/games-fps/doom3/files/digest-doom3-1.3.1302 b/games-fps/doom3/files/digest-doom3-1.3.1302
new file mode 100644
index 000000000000..2b5656d5c982
--- /dev/null
+++ b/games-fps/doom3/files/digest-doom3-1.3.1302
@@ -0,0 +1 @@
+MD5 b1d04da2d64bb8d54f64cbaa2fdb4490 doom3-linux-1.3.1302.x86.run 17199582