ChangeLog

# ChangeLog for games-action/heretic2-demo
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2-demo/ChangeLog,v 1.7 2008/02/29 18:04:48 carlo Exp $

29 Feb 2008; Carsten Lohrke heretic2-demo-1.06a.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.

15 Sep 2006; Chris Gianelloni
heretic2-demo-1.06a.ebuild:
Remove virtual/x11 from dependencies.

06 Sep 2006; Michael Sterrett
heretic2-demo-1.06a.ebuild:
clean up some QA issues

22 May 2006; Chris Gianelloni
heretic2-demo-1.06a.ebuild:
Stable on amd64 and x86.

22 May 2006; Chris Gianelloni
heretic2-demo-1.06a.ebuild:
Demo->(Demo) for bug #133836.

13 Apr 2006; Chris Gianelloni
heretic2-demo-1.06a.ebuild:
Added ~amd64.

*heretic2-demo-1.06a (12 Apr 2006)

12 Apr 2006; Chris Gianelloni +metadata.xml,
+heretic2-demo-1.06a.ebuild:
Initial import. Ebuild by Paul Bredbury . Closing bug
#120358.

Manifest

DIST heretic2-demo.run 55065564 RMD160 392e35b1916d7d22f0d079ece95310d3537494d3 SHA1 94649809d6c6b72caf77ce0f9619b3ced02e218c SHA256 623e1a277ff8eb47e48a6fa50f32eb1325eba1591cebdea002a32599464b881a
EBUILD heretic2-demo-1.06a.ebuild 1742 RMD160 fd4f6a0cf41513cb2b7dd37817bb5981a7b85a0f SHA1 3c01a84f11edf3db559094d3567b1a3b917c1f1c SHA256 d9f589e60057f95cfc35b24fd296274a99f31712794ebbf14671b7a2013c79e1
MISC ChangeLog 1167 RMD160 4b327b72926164d3d29a0595726e3a2eef75e2d6 SHA1 e8ccc24bef695f71ed82c0c589c0f0b5d8b539ea SHA256 759d808f8810c4515f0f41a7cd07f62179b96d35246755c7c53e90e3b8fd1c7f
MISC metadata.xml 619 RMD160 2a71dc95439d9bf49c6d62e68c6b173f6adf7823 SHA1 0d20eec2440f04526c3ec7374a53df89772f534f SHA256 65f6bc137786d52f91ac807425743ea806e49ea4170f34226811bc13eaf3d084

heretic2-demo-1.06a.ebuild

# Copyright 1999-2008 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.8 2008/02/29 18:04:48 carlo 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="amd64 x86"
IUSE=""
RESTRICT="strip"
QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/heretic2-demo/ref_glx.so"

DEPEND="games-util/loki_patch"
RDEPEND="x86? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp )
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:/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}

prepgamesdirs
}

metadata.xml




games

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.