Initial import. Ebuild by vapier. Closing bug #66352.
authorChris Gianelloni <wolf31o2@gentoo.org>
Thu, 7 Oct 2004 12:44:37 +0000 (12:44 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Thu, 7 Oct 2004 12:44:37 +0000 (12:44 +0000)
games-fps/doom3-demo/ChangeLog [new file with mode: 0644]
games-fps/doom3-demo/Manifest [new file with mode: 0644]
games-fps/doom3-demo/doom3-demo-1.1.1282.ebuild [new file with mode: 0644]
games-fps/doom3-demo/files/digest-doom3-demo-1.1.1282 [new file with mode: 0644]
games-fps/doom3-demo/metadata.xml [new file with mode: 0644]

diff --git a/games-fps/doom3-demo/ChangeLog b/games-fps/doom3-demo/ChangeLog
new file mode 100644 (file)
index 0000000..780bf6f
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/doom3-demo
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-demo/ChangeLog,v 1.1 2004/10/07 12:44:37 wolf31o2 Exp $
+
+*doom3-demo-1.1.1282 (07 Oct 2004)
+
+  07 Oct 2004; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+  +doom3-demo-1.1.1282.ebuild:
+  Initial import.  Ebuild by vapier.  Closing bug #66352.
+
diff --git a/games-fps/doom3-demo/Manifest b/games-fps/doom3-demo/Manifest
new file mode 100644 (file)
index 0000000..9512514
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 9d1656c876645988cbbce6893322d15c doom3-demo-1.1.1282.ebuild 1603
+MD5 41a833642a9b4945ec5975db8d4b18a2 ChangeLog 410
+MD5 396e855f64b70ba9a884ce38a1020d4f files/digest-doom3-demo-1.1.1282 81
diff --git a/games-fps/doom3-demo/doom3-demo-1.1.1282.ebuild b/games-fps/doom3-demo/doom3-demo-1.1.1282.ebuild
new file mode 100644 (file)
index 0000000..abb7032
--- /dev/null
@@ -0,0 +1,69 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-demo/doom3-demo-1.1.1282.ebuild,v 1.1 2004/10/07 12:44:37 wolf31o2 Exp $
+
+inherit games eutils
+
+DESCRIPTION="Doom III - 3rd installment of the classic id 3D first-person shooter"
+HOMEPAGE="http://www.doom3.com/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-${PV}-demo.x86.run"
+
+LICENSE="DOOM3"
+SLOT="0"
+KEYWORDS="-* x86 amd64"
+IUSE="opengl dedicated"
+RESTRICT="nostrip nomirror"
+
+DEPEND="app-arch/bzip2
+       app-arch/tar"
+RDEPEND="virtual/libc
+       opengl? ( virtual/opengl )
+       dedicated? ( app-misc/screen )
+       amd64? ( app-emulation/emul-linux-x86-baselibs
+               app-emulation/emul-linux-x86-xlibs
+               app-emulation/emul-linux-x86-nvidia     )"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+       check_license
+       games_pkg_setup
+}
+
+src_unpack() {
+       unpack_makeself
+}
+
+src_install() {
+       dodir ${dir}
+
+       insinto ${dir}
+       doins License.txt README version.info
+       exeinto ${dir}
+       doexe gamex86.so libgcc_s.so.1 libstdc++.so.5 || die "doexe libs"
+       doexe bin/Linux/x86/glibc-2.1/doom.x86 || die "doexe doom"
+
+       insinto ${dir}/demo
+       doins demo/* || die "doins base"
+
+       games_make_wrapper doom3-demo ./doom.x86 ${dir}
+
+       prepgamesdirs
+       make_desktop_entry doom3 "Doom III Demo" doom3.xpm
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+
+       einfo "To play the game run:"
+       einfo " doom3-demo"
+
+       # IA32 Emulation required for amd64
+       if use amd64 ; then
+               echo
+               ewarn "NOTE: IA32 Emulation must be compiled into your kernel for Doom3 to run."
+       fi
+}
diff --git a/games-fps/doom3-demo/files/digest-doom3-demo-1.1.1282 b/games-fps/doom3-demo/files/digest-doom3-demo-1.1.1282
new file mode 100644 (file)
index 0000000..be99746
--- /dev/null
@@ -0,0 +1 @@
+MD5 e08999ebe76e1870e08b24b964af9c07 doom3-linux-1.1.1282-demo.x86.run 485080148
diff --git a/games-fps/doom3-demo/metadata.xml b/games-fps/doom3-demo/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>