Initial import of my split ebuilds for doom3.
authorChris Gianelloni <wolf31o2@gentoo.org>
Sat, 22 Oct 2005 16:51:55 +0000 (16:51 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Sat, 22 Oct 2005 16:51:55 +0000 (16:51 +0000)
Package-Manager: portage-2.0.53_rc6

games-fps/doom3-data/Manifest
games-fps/doom3/ChangeLog
games-fps/doom3/Manifest
games-fps/doom3/doom3-1.3.1302-r1.ebuild [new file with mode: 0644]
games-fps/doom3/files/digest-doom3-1.3.1302-r1 [new file with mode: 0644]
games-fps/doom3/metadata.xml

index cff1ff2779cba6a6c9668fc223c31e614a646dff..f5cc08de003f6ac277366671b80ad9a7645c17bc 100644 (file)
@@ -1,4 +1,4 @@
-MD5 58201e8ed85791f6763d1107313f165b ChangeLog 534
-MD5 7fa6ec075b5e4d012e288676b34b19fe doom3-data-1.1.1282.ebuild 1348
+MD5 462bdcfa43ee970548370cff257bb06a ChangeLog 698
+MD5 0dc73636b448a8af661589961e5a7553 doom3-data-1.1.1282.ebuild 1353
 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-doom3-data-1.1.1282 0
 MD5 c0c31e633eaaed2a501119d465d9cf70 metadata.xml 500
index 1a4f6fb0b1724d67cc0977f21cd50232852e96d1..b15dc64bb99355cd99fce2057ff31a467c5e8dd1 100644 (file)
@@ -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.17 2005/10/21 17:29:42 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.18 2005/10/22 16:51:55 wolf31o2 Exp $
+
+*doom3-1.3.1302-r1 (22 Oct 2005)
+
+  22 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml,
+  +doom3-1.3.1302-r1.ebuild:
+  Initial import of my split ebuilds for doom3.
 
   21 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> doom3-1.3.1302.ebuild:
   Added addition dir variable to games_make_wrapper for bug #109793.
index 11ded48523f06ba4ece015b50fdfae862d784c43..0a6e66cf24109470e33c2f88e9479722952933a2 100644 (file)
@@ -1,4 +1,6 @@
-MD5 aa54df4f1923f49bcb2e886be275ab53 ChangeLog 2662
+MD5 369ccdfd788216db8e98e1cac9a1ee08 ChangeLog 2842
+MD5 09097c40a537e4c46df6b2bae399cfb7 doom3-1.3.1302-r1.ebuild 2472
 MD5 32e0f4b3043f88f4fb8b6643faf46f7a doom3-1.3.1302.ebuild 3028
 MD5 ee418b79762e7a8192014b3288671c9d files/digest-doom3-1.3.1302 127
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 ee418b79762e7a8192014b3288671c9d files/digest-doom3-1.3.1302-r1 127
+MD5 6dc8bb8514d4dce12d192cff1d9ed47f metadata.xml 617
diff --git a/games-fps/doom3/doom3-1.3.1302-r1.ebuild b/games-fps/doom3/doom3-1.3.1302-r1.ebuild
new file mode 100644 (file)
index 0000000..28b0315
--- /dev/null
@@ -0,0 +1,89 @@
+# 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-r1.ebuild,v 1.1 2005/10/22 16:51:55 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
+       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
+       http://zerowing.idsoftware.com/linux/doom3.png"
+
+LICENSE="DOOM3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="cdinstall alsa opengl dedicated"
+RESTRICT="nostrip"
+
+DEPEND="app-arch/bzip2
+       app-arch/tar"
+RDEPEND="sys-libs/glibc
+       opengl? ( virtual/opengl )
+       dedicated? ( app-misc/screen )
+       alsa? ( >=media-libs/alsa-lib-1.0.6 )
+       cdinstall? ( games-fps/doom3-data )"
+
+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() {
+       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}/pb
+       doins pb/* || die "doins pb"
+       insinto ${dir}/d3xp
+       doins d3xp/* || die "doins d3xp"
+       insinto ${dir}/base
+       doins base/* || die "doins base"
+
+       games_make_wrapper doom3 ./doom.x86 "${dir}" "${dir}"
+       games_make_wrapper doom3-ded ./doomded.x86 ${dir}
+
+       use cdinstall && find ${Ddir} -exec touch '{}' \;
+
+       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 "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-r1 b/games-fps/doom3/files/digest-doom3-1.3.1302-r1
new file mode 100644 (file)
index 0000000..244d9de
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 b1d04da2d64bb8d54f64cbaa2fdb4490 doom3-linux-1.3.1302.x86.run 17199582
+MD5 f99eb141eecc4b9dd188d6819d741546 doom3.png 6502
index d3c2cc926f0bb4d1b0c133ac9a6c2b792cf0e3b8..d2321302edc67216e46aac620607ff81e0e4a8b7 100644 (file)
@@ -2,4 +2,12 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 <herd>games</herd>
+<longdescription>
+Science has unlocked the gates to the unknown, and now only one man stands
+between Hell and Earth. A sci-fi horror masterpiece, DOOM 3 is like nothing you
+have experienced. Dramatic storyline, pulse-pounding action, incredible
+graphics, and revolutionary technology combine to draw you into the most
+frightening and gripping first person gaming experience ever created. For more
+information, checkout http://www.doom3.com
+</longdescription>
 </pkgmetadata>