diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-03-23 00:59:08 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-03-23 00:59:08 +0000 |
commit | 83773602ab7a3eef90f35aa9eb6baa2d68c2a042 (patch) | |
tree | 25e955595f9a083b0c17c24af06a5af714ee8ccc /games-fps/doom3 | |
parent | Stable on amd64. Bug #124699. (diff) | |
download | gentoo-2-83773602ab7a3eef90f35aa9eb6baa2d68c2a042.tar.gz gentoo-2-83773602ab7a3eef90f35aa9eb6baa2d68c2a042.tar.bz2 gentoo-2-83773602ab7a3eef90f35aa9eb6baa2d68c2a042.zip |
Added games-fps/doom3-roe to RDEPEND if USE=roe for bug #127244.
(Portage version: 2.1_pre6-r5)
Diffstat (limited to 'games-fps/doom3')
-rw-r--r-- | games-fps/doom3/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/doom3/doom3-1.3.1302-r2.ebuild | 84 | ||||
-rw-r--r-- | games-fps/doom3/files/digest-doom3-1.3.1302-r2 | 6 |
3 files changed, 97 insertions, 1 deletions
diff --git a/games-fps/doom3/ChangeLog b/games-fps/doom3/ChangeLog index 3cd905d1df67..d5c3a9fa926f 100644 --- a/games-fps/doom3/ChangeLog +++ b/games-fps/doom3/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-fps/doom3 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.23 2006/03/22 15:11:38 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.24 2006/03/23 00:59:07 wolf31o2 Exp $ + +*doom3-1.3.1302-r2 (23 Mar 2006) + + 23 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> + +doom3-1.3.1302-r2.ebuild: + Added games-fps/doom3-roe to RDEPEND if USE=roe for bug #127244. 22 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> doom3-1.3.1302-r1.ebuild: diff --git a/games-fps/doom3/doom3-1.3.1302-r2.ebuild b/games-fps/doom3/doom3-1.3.1302-r2.ebuild new file mode 100644 index 000000000000..0ff8d668fc50 --- /dev/null +++ b/games-fps/doom3/doom3-1.3.1302-r2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/03/23 00:59:08 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="3rd installment of the classic id 3D first-person shooter" +HOMEPAGE="http://www.doom3.com/" +SRC_URI="mirror://3dgamers/${PN}/${PN}-linux-${PV}.x86.run + mirror://idsoftware/${PN}/linux/${PN}-linux-${PV}.x86.run + http://zerowing.idsoftware.com/linux/${PN}.png" + +LICENSE="DOOM3" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="alsa cdinstall opengl roe" +RESTRICT="nostrip" + +DEPEND="app-arch/bzip2 + app-arch/tar" +RDEPEND="sys-libs/glibc + opengl? ( virtual/opengl ) + alsa? ( >=media-libs/alsa-lib-1.0.6 ) + cdinstall? ( >=games-fps/doom3-data-1.1.1282-r1 ) + cdinstall? ( roe? ( games-fps/doom3-roe ) ) + amd64? ( app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-soundlibs )" + +S=${WORKDIR} + +GAMES_CHECK_LICENSE="yes" +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +src_unpack() { + unpack_makeself ${PN}-linux-${PV}.x86.run +} + +src_install() { + 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 + + doins -r base d3xp pb || die "doins base d3xp pb" + + games_make_wrapper doom3 ./doom.x86 "${dir}" "${dir}" + games_make_wrapper doom3-ded ./doomded.x86 "${dir}" "${dir}" + + doicon ${DISTDIR}/doom3.png || die "Copying icon" + + prepgamesdirs + make_desktop_entry doom3 "Doom III" doom3.png +} + +pkg_postinst() { + games_pkg_postinst + + if ! use cdinstall; then + 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," + einfo "or 'emerge games-fps/doom3-data' to install from CD." + echo + if ! use roe + then + einfo "To use the Resurrection of Evil expansion pack, you also need to copy" + einfo "pak000.pk4 to ${dir}/d3xp from the RoE CD before running the game," + einfo "or 'emerge doom3-roe' to install from CD." + fi + fi + echo + einfo "To play the game run:" + einfo " doom3" + echo +} diff --git a/games-fps/doom3/files/digest-doom3-1.3.1302-r2 b/games-fps/doom3/files/digest-doom3-1.3.1302-r2 new file mode 100644 index 000000000000..bec2a7905e96 --- /dev/null +++ b/games-fps/doom3/files/digest-doom3-1.3.1302-r2 @@ -0,0 +1,6 @@ +MD5 b1d04da2d64bb8d54f64cbaa2fdb4490 doom3-linux-1.3.1302.x86.run 17199582 +RMD160 eccd25b0f9e1eb5810d981fdb3ffd7119d08e040 doom3-linux-1.3.1302.x86.run 17199582 +SHA256 da90ba338eadb298a736af8786c0d7b11be698a399ac7a20549de0926a434677 doom3-linux-1.3.1302.x86.run 17199582 +MD5 f99eb141eecc4b9dd188d6819d741546 doom3.png 6502 +RMD160 4d8a692621c9bbe6c85f0508ade4c35b06abb46f doom3.png 6502 +SHA256 c9a701498a7b0f923182bf9f11aac8d2193026e509ae3643a5bc118b1a458c6b doom3.png 6502 |