diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-04-12 21:17:00 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-04-12 21:17:00 +0000 |
commit | 1058f053fb6c4a1b1fd9cde4f07e23118bf7e613 (patch) | |
tree | 542cd7ce028c2e9c800af5f5b1123d25bcf89569 /games-action/heretic2-demo | |
parent | Fix unneeded $ char in libdir and default back to utf8 for MySQL 5.X, as it s... (diff) | |
download | gentoo-2-1058f053fb6c4a1b1fd9cde4f07e23118bf7e613.tar.gz gentoo-2-1058f053fb6c4a1b1fd9cde4f07e23118bf7e613.tar.bz2 gentoo-2-1058f053fb6c4a1b1fd9cde4f07e23118bf7e613.zip |
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #120358.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-action/heretic2-demo')
-rw-r--r-- | games-action/heretic2-demo/ChangeLog | 11 | ||||
-rw-r--r-- | games-action/heretic2-demo/Manifest | 9 | ||||
-rw-r--r-- | games-action/heretic2-demo/files/digest-heretic2-demo-1.06a | 3 | ||||
-rw-r--r-- | games-action/heretic2-demo/heretic2-demo-1.06a.ebuild | 67 | ||||
-rw-r--r-- | games-action/heretic2-demo/metadata.xml | 12 |
5 files changed, 102 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..112ec325bdcd --- /dev/null +++ b/games-action/heretic2-demo/Manifest @@ -0,0 +1,9 @@ +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 83685ac30d662620c494882777260a7f heretic2-demo-1.06a.ebuild 1604 +RMD160 f7959a4fd5b8d71b6cf7995f8493f2d76b2a86b3 heretic2-demo-1.06a.ebuild 1604 +SHA256 e14c3645d9ea2f7fcd1936cd44688c50ac81e9e7c58544b9e7b54d301156f11c heretic2-demo-1.06a.ebuild 1604 +MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254 +RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254 +SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254 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> |