summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-12 21:17:00 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-12 21:17:00 +0000
commit6f1e629ad264130b7505cc38a56e143b0b5abb76 (patch)
tree9017dbd644ae4e3dc18482798ac6899ec2d9e807 /games-action
parentFix unneeded $ char in libdir and default back to utf8 for MySQL 5.X, as it s... (diff)
downloadhistorical-6f1e629ad264130b7505cc38a56e143b0b5abb76.tar.gz
historical-6f1e629ad264130b7505cc38a56e143b0b5abb76.tar.bz2
historical-6f1e629ad264130b7505cc38a56e143b0b5abb76.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #120358.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'games-action')
-rw-r--r--games-action/heretic2-demo/ChangeLog11
-rw-r--r--games-action/heretic2-demo/Manifest12
-rw-r--r--games-action/heretic2-demo/files/digest-heretic2-demo-1.06a3
-rw-r--r--games-action/heretic2-demo/heretic2-demo-1.06a.ebuild67
-rw-r--r--games-action/heretic2-demo/metadata.xml12
5 files changed, 105 insertions, 0 deletions
diff --git a/games-action/heretic2-demo/ChangeLog b/games-action/heretic2-demo/ChangeLog
new file mode 100644
index 000000000000..5ee26e3772ca
--- /dev/null
+++ b/games-action/heretic2-demo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-action/heretic2-demo
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2-demo/ChangeLog,v 1.1 2006/04/12 21:17:00 wolf31o2 Exp $
+
+*heretic2-demo-1.06a (12 Apr 2006)
+
+ 12 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +heretic2-demo-1.06a.ebuild:
+ Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug
+ #120358.
+
diff --git a/games-action/heretic2-demo/Manifest b/games-action/heretic2-demo/Manifest
new file mode 100644
index 000000000000..ee79062c2dc0
--- /dev/null
+++ b/games-action/heretic2-demo/Manifest
@@ -0,0 +1,12 @@
+MD5 bdfefc5f66ceb690bb9aabec1d9bc1e7 ChangeLog 447
+RMD160 0c9c11a820d33bdde5a5b051c6795cb3883ae379 ChangeLog 447
+SHA256 e687ad62fcdfe957015b56258bf2a5eae25745ad3964f21a4e28e7795b88a95e ChangeLog 447
+MD5 bd6c8b2ce2d1fd2c02c0d33cd38dce3c files/digest-heretic2-demo-1.06a 238
+RMD160 d3470f0c5157377cb0ca6ae7a35e2ab277151404 files/digest-heretic2-demo-1.06a 238
+SHA256 5f0160ccd184b503425a49c9e5c0d557916108a62279ed9f24186e3981547ccf files/digest-heretic2-demo-1.06a 238
+MD5 caec2a15a76a92832d8e4310369cfcb2 heretic2-demo-1.06a.ebuild 1725
+RMD160 005d8344ca8ff74073e0770d5da3b52d2900f2d6 heretic2-demo-1.06a.ebuild 1725
+SHA256 513f62cfd03e2b3f363072da5a78f90cbfab08a03c0b64b9153de08c84525a03 heretic2-demo-1.06a.ebuild 1725
+MD5 997226e9f2534f3a1520a54ef945c523 metadata.xml 715
+RMD160 29299e360fce053e8a6320257fa808170bf32b0f metadata.xml 715
+SHA256 f5cd718967e4fc8a74e7d09181eda67f2be8f68aa73dda0ca6fa836da410c79e metadata.xml 715
diff --git a/games-action/heretic2-demo/files/digest-heretic2-demo-1.06a b/games-action/heretic2-demo/files/digest-heretic2-demo-1.06a
new file mode 100644
index 000000000000..8299a5f65cdd
--- /dev/null
+++ b/games-action/heretic2-demo/files/digest-heretic2-demo-1.06a
@@ -0,0 +1,3 @@
+MD5 d645481cc2677dbbb4cd29c194133560 heretic2-demo.run 55065564
+RMD160 392e35b1916d7d22f0d079ece95310d3537494d3 heretic2-demo.run 55065564
+SHA256 623e1a277ff8eb47e48a6fa50f32eb1325eba1591cebdea002a32599464b881a heretic2-demo.run 55065564
diff --git a/games-action/heretic2-demo/heretic2-demo-1.06a.ebuild b/games-action/heretic2-demo/heretic2-demo-1.06a.ebuild
new file mode 100644
index 000000000000..1d8a70e4a4ea
--- /dev/null
+++ b/games-action/heretic2-demo/heretic2-demo-1.06a.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2-demo/heretic2-demo-1.06a.ebuild,v 1.1 2006/04/12 21:17:00 wolf31o2 Exp $
+
+inherit eutils multilib games
+
+DESCRIPTION="Third-person classic magical action-adventure game"
+HOMEPAGE="http://www.lokigames.com/products/heretic2/
+ http://www.hereticii.com/"
+SRC_URI="mirror://lokigames/loki_demos/${PN}.run"
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="nostrip"
+
+DEPEND="games-util/loki_patch"
+RDEPEND="x86? (
+ || (
+ (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXau
+ x11-libs/libXdmcp )
+ virtual/x11 ) )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-compat )"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+src_unpack() {
+ # Can ignore warning: "A lone zero block at 116240"
+ unpack_makeself
+}
+
+src_install() {
+ local demo="data/demos/heretic2_demo"
+ local exe="heretic2_demo.x86"
+
+ loki_patch patch.dat data/ || die "loki patch failed"
+
+ # Remove bad opengl library
+ rm -r "${demo}/gl_drivers/"
+
+ # Change to safe default of 800x600 and option of normal opengl driver
+ sed -i "${demo}"/base/default.cfg \
+ -e "s:fullscreen \"1\":fullscreen \"1\"\nset vid_mode \"4\":" \
+ -e "s:libGL:${ROOT}usr/$(get_libdir)/libGL:" \
+ || die "sed failed"
+
+ insinto "${dir}"
+ exeinto "${dir}"
+ doins -r "${demo}"/* || die "doins failed"
+ doexe "${demo}/${exe}" || die "doexe failed"
+
+ games_make_wrapper ${PN} "./${exe}" "${dir}" "${dir}"
+ newicon "${demo}"/icon.xpm ${PN}.xpm || die "newicon failed"
+ make_desktop_entry ${PN} "Heretic 2 Demo" ${PN}.xpm
+
+ prepgamesdirs
+}
diff --git a/games-action/heretic2-demo/metadata.xml b/games-action/heretic2-demo/metadata.xml
new file mode 100644
index 000000000000..fd5825d9bae5
--- /dev/null
+++ b/games-action/heretic2-demo/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>
+Power up your mana and help Corvus find the cure to a plague of epic dimensions -- and save the worlds of D'sparil before it's too late! A high-powered and mystical three-dimensional environment will enthrall you, with spectacular sound and visual effects, non-stop action and adventure. Prepare to be ensnared in the visual feast that is the worlds of D'sparil. This is the demo version of the commercially-ported game.
+</longdescription>
+</pkgmetadata>