summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:16 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:16 +0000
commitf199057b8679cd2eed424fccb45361c89a133d31 (patch)
treee6ec41e59db82809cd99452c53c9efe67a3985e3 /games-action/heavygear2
parentgames action and arcade (diff)
downloadgentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.gz
gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.bz2
gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.zip
action games !
Diffstat (limited to 'games-action/heavygear2')
-rw-r--r--games-action/heavygear2/ChangeLog13
-rw-r--r--games-action/heavygear2/Manifest5
-rw-r--r--games-action/heavygear2/files/digest-heavygear2-1.0b1
-rw-r--r--games-action/heavygear2/files/hg23
-rw-r--r--games-action/heavygear2/heavygear2-1.0b.ebuild87
-rw-r--r--games-action/heavygear2/metadata.xml12
6 files changed, 121 insertions, 0 deletions
diff --git a/games-action/heavygear2/ChangeLog b/games-action/heavygear2/ChangeLog
new file mode 100644
index 000000000000..22098f15219f
--- /dev/null
+++ b/games-action/heavygear2/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/heavygear2
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heavygear2/ChangeLog,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> heavygear2-1.0b.ebuild:
+ Updating description
+
+*heavygear2-1.0b (22 Jul 2003)
+
+ 22 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> heavygear2-1.0b.ebuild,
+ files/hg2:
+ Initial import. Ebuild submitted by me.
+
diff --git a/games-action/heavygear2/Manifest b/games-action/heavygear2/Manifest
new file mode 100644
index 000000000000..41d5d20e9c12
--- /dev/null
+++ b/games-action/heavygear2/Manifest
@@ -0,0 +1,5 @@
+MD5 18ed136d4199b32b5d7f53cad2970e43 ChangeLog 493
+MD5 d1d8817257150e791e693adc97588e25 heavygear2-1.0b.ebuild 2428
+MD5 1060dcea6f845a9b290a401037dfc512 metadata.xml 1002
+MD5 a4daa0679d466ded814559d380ea7f42 files/digest-heavygear2-1.0b 68
+MD5 d9fc3c7e9ae39b326a9ca4095c11d122 files/hg2 38
diff --git a/games-action/heavygear2/files/digest-heavygear2-1.0b b/games-action/heavygear2/files/digest-heavygear2-1.0b
new file mode 100644
index 000000000000..9a9d9f000c88
--- /dev/null
+++ b/games-action/heavygear2/files/digest-heavygear2-1.0b
@@ -0,0 +1 @@
+MD5 f29aac514787388ac83bafa0601213c0 hg2-1.0b-cdrom-x86.run 3270698
diff --git a/games-action/heavygear2/files/hg2 b/games-action/heavygear2/files/hg2
new file mode 100644
index 000000000000..0a44cc971803
--- /dev/null
+++ b/games-action/heavygear2/files/hg2
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./hg2 $*
diff --git a/games-action/heavygear2/heavygear2-1.0b.ebuild b/games-action/heavygear2/heavygear2-1.0b.ebuild
new file mode 100644
index 000000000000..a58656e337c4
--- /dev/null
+++ b/games-action/heavygear2/heavygear2-1.0b.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heavygear2/heavygear2-1.0b.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+inherit games
+
+IUSE="3dfx videos"
+DESCRIPTION="Heavy Gear II - 3D first-person Mechanized Assault"
+HOMEPAGE="http://www.activision.com/games/heavygearii/"
+SRC_URI="ftp://ftp.planetmirror.com/pub/lokigames/updates/hg2/hg2-${PV}-cdrom-x86.run
+ ftp://snuffleupagus.animearchive.org/loki/updates/hg2/hg2-${PV}-cdrom-x86.run"
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}
+ virtual/opengl"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ if [ "`use videos`" ]; then
+ ewarn "The installed game takes about 500MB of space!"
+ else
+ ewarn "The installed game takes about 400MB of space!"
+ fi
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ dodir ${dir}
+ games_get_cd shell/movies/asteroid.mpg
+ games_verify_cd "Heavy Gear II"
+ einfo "Copying files... this may take a while..."
+ exeinto /opt/heavygear2
+ doexe ${GAMES_CD}/bin/x86/glibc-2.1/hg2
+ insinto /opt/heavygear2
+ use 3dfx && doins ${GAMES_CD}/bin/x86/glibc-2.1/LibMesaVoodooGL.so.1.2.030300
+
+ cp ${GAMES_CD}/{README,icon.{bmp,xpm}} ${Ddir}
+ use videos && cp -r ${GAMES_CD}/shell ${Ddir}
+
+ cd ${Ddir}
+ use 3dfx && dosym LibMesaVoodooGL.so.1.2.030300 libGL.so.1
+
+ tar xzf ${GAMES_CD}/data.tar.gz || die "uncompressing data"
+ tar xzf ${GAMES_CD}/binaries.tar.gz || die "uncompressing binaries"
+
+ cd ${S}
+ bin/Linux/x86/loki_patch --verify patch.dat
+ bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find ${Ddir} -exec touch '{}' \;
+
+ dodir ${GAMES_BINDIR}
+ dogamesbin ${FILESDIR}/hg2
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hg2
+ insinto /usr/share/pixmaps
+ newins ${GAMES_CD}/icon.xpm HG2.xpm
+
+ prepgamesdirs
+ make_desktop_entry hg2 "Heavy Gear II" "HG2.xpm"
+}
+
+pkg_postinst() {
+ if [ ! "`use videos`" ]; then
+ einfo "You will need to mount the Heavy Gear II CD to see the cut-scene videos."
+ echo
+ fi
+ einfo "To play the game run:"
+ einfo " hg2"
+
+ games_pkg_postinst
+}
diff --git a/games-action/heavygear2/metadata.xml b/games-action/heavygear2/metadata.xml
new file mode 100644
index 000000000000..0d51c3ff26c8
--- /dev/null
+++ b/games-action/heavygear2/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+<longdescription>
+Heavy Gear II is a first-person 3-D combat shooter based on the Dream Pod 9 role playing system where you pit squads of your best mechanized warriors against the enemy to save Terra Nova, but sheer firepower won't be enough. You must use your guile and wits to get behind enemy lines and use your resources to their fullest, before it's too late. The game was ported to Linux by the now defunct Loki Entertainment and is commercial software. Heavy Gear II was the first Linux game to be ported from Direct3D, have joystick support via SDL, and use OpenAL for 3D sound. You can still pick up a copy from Tuxgames (http://www.tuxgames.com), but supplies are limited, as the publisher is no longer in business.
+</longdescription>
+</pkgmetadata>