ChangeLog

# ChangeLog for games-action/rune
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/rune/ChangeLog,v 1.17 2008/06/05 19:07:16 wolf31o2 Exp $

05 Jun 2008; Chris Gianelloni metadata.xml:
Removing myself as maintainer.

06 Mar 2008; Chris Gianelloni rune-1.07-r2.ebuild:
Fixing quoting.

29 Feb 2008; Carsten Lohrke rune-1.07-r2.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.

15 Jan 2008; Samuli Suominen rune-1.07-r2.ebuild:
change dev-util/xdelta dep. to =dev-util/xdelta-1*

24 Oct 2006; Chris Gianelloni rune-1.07-r2.ebuild:
Moved cdrom_get_cds to src_unpack since binary packages don't require the
original media to install as well as some general cleanup.

19 Sep 2006; Chris Gianelloni rune-1.07-r2.ebuild:
Adding strip to RESTRICT for bug #137819.

15 Sep 2006; Chris Gianelloni -rune-1.07-r1.ebuild,
rune-1.07-r2.ebuild:
Stable on amd64/x86 since there have been no bug reports in quite some time.
Removing older revisions. Removing virtual/x11 from dependencies.

24 May 2006; Chris Gianelloni rune-1.07-r2.ebuild:
Changed libsdl dependency and closing bug #117918.

*rune-1.07-r2 (24 May 2006)

24 May 2006; Chris Gianelloni +rune-1.07-r2.ebuild:
Added a new revision to use xdelta to save users from having to download as
much. This is especially important for the people with the Linux CD that
don't really need anything from the download. Thanks to Patrick Zimmermann
for doing the legwork on this one. Closing bug #125257.

13 Apr 2006; Chris Gianelloni rune-1.07-r1.ebuild:
Moved games_pkg_setup to the beginning of pkg_setup.

21 Mar 2006; Chris Gianelloni rune-1.07-r1.ebuild:
Marking stable on amd64/x86 as there have been no bug reports in 4 months
and the game works perfectly for me on both of these platforms.

21 Mar 2006; Chris Gianelloni rune-1.07-r1.ebuild:
Added =virtual/libstdc++-3.3 as this game is based off the unreal engine and
links against libstdc++.

10 Jan 2006; Chris Gianelloni -rune-1.07.ebuild,
rune-1.07-r1.ebuild:
Added modular X dependencies.

22 Nov 2005; Chris Gianelloni rune-1.07-r1.ebuild:
Changed 2->1 and 1->0. Changed rune.bin->rune-bin. Closing bug #113234.

*rune-1.07-r1 (22 Nov 2005)

22 Nov 2005; Chris Gianelloni +rune-1.07-r1.ebuild:
Updated ebuild to support both Linux and Windows media. Tested on Linux.
Ebuild submitted by Patrick Zimmermann and closing bug
#41732.

27 Oct 2005; Chris Gianelloni rune-1.07.ebuild:
Changed HOMEPAGE.

*rune-1.07 (27 Oct 2005)

27 Oct 2005; Chris Gianelloni +metadata.xml,
+rune-1.07.ebuild:
Initial import. Original ebuild by Patrick Zimmermann
and modified by me. Closing bug #41732.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST rune-all-0.2.tar.bz2 6507237 RMD160 71618cc4563199ee1cd30181b289d81347d597b7 SHA1 2033194626c53e11eb6b28335641e8dee313ad93 SHA256 432a21d03e3728000c484eec9a5f2a27837c58265d89bf3674716354dbed1632
EBUILD rune-1.07-r2.ebuild 4527 RMD160 dff0957a97509a5a92096c7024a00c874305da35 SHA1 3cbed4efe91e85fedbb8a104bca1c83567264f01 SHA256 425fbb9b4e448453e66419f9a1450bc88d9eb3c71ed490bfd538f1627aed4853
MISC ChangeLog 3210 RMD160 989f46a40d278b05cd794f99fc2c0c5c75abce65 SHA1 cf361f01acb36282b55bb8b10e2a4d77d8a7d431 SHA256 30d35134b67fcedae35355aa0e3d439db79b4597ca2b90c53a71088ef9fc2507
MISC metadata.xml 2027 RMD160 a914d43ffa38c184517fec73ded779726996316a SHA1 4413d3c4560facd80839697d0101cfa8bf6ee119 SHA256 73f8e1917e8b3e9812e9ef971a432eec472ac15e246929df9b7821a2158b4390
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhIOWUACgkQkT4lNIS36YHBWQCgvvg9MAWB9tAQBG3KOIoZKuK2
EDYAnjgk+UPOsC+x47xq/kK736+JhiY4
=AQ9h
-----END PGP SIGNATURE-----

metadata.xml




games

Loki, god of deception and mischief was the bane of the gods, a black sheep who
tormented all the heavens with his persistent schemes for personal power.
Asgard, the high heaven where the gods dwelt while determining the fates of man
and beast was often filled with the howls of pain and anguish as god after god
fell victim to one of Loki's plots. Having one day taken these malicious schemes
against his Asgardian brethren too far for a final time, Loki, lord of lies, was
imprisoned by Odin the All Father and his, Thor, the god of thunder:

Loki was chained to a bleak promontory hundreds of miles below the surface of
the earth. A venomous snake of immense proportions was wound around the
stalactites above him. From the mouth of this fearsome reptile dripped a steady
supply of acidic venom. The torment was horrific. The steady drops would eat
away the exiled god's midriff right down to the backbone. In turn, his immortal
powers of healing would slowly re-issue the flesh, only to have it burned away
again. The snake was unfailing, as were Loki's immortal healing powers.

And the excruciating agony for Loki was unending.

As Thor chained him to the rock, Odin All Father proclaimed that Loki would
remain under the constant drip of the venom until the day of Ragnarok; when
gods, men and giants would enter into a final battle and all reality as it
existed would perish. Then, and only then, would Loki be freed from his torment.

In that distant climactic battle between the gods of heaven and the monsters who
dwelt deep in the earth, it was assumed that Loki would fulfill his fate and
take up sides against the Asgardians. Of course, Loki was the bane of fate, and
he had other plans.

Rune was ported to Linux by Loki Entertainment Software and is a commercial
game, requiring the original media for installation.

rune-1.07-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/rune/rune-1.07-r2.ebuild,v 1.8 2008/03/06 03:39:53 wolf31o2 Exp $

inherit eutils games

DESCRIPTION="Viking hack and slay game"
HOMEPAGE="http://www.runegame.com"
SRC_URI="mirror://gentoo/rune-all-0.2.tar.bz2
http://dev.gentoo.org/~wolf31o2/sources/dump/rune-all-0.2.tar.bz2"

LICENSE="LOKI-EULA"
SLOT="0"
KEYWORDS="amd64 x86"
RESTRICT="strip"
IUSE=""

RDEPEND="virtual/opengl
=dev-util/xdelta-1*
x86? (
x11-libs/libX11
x11-libs/libXext
>=media-libs/libsdl-1.2.9-r1 )
amd64? (
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-compat
app-emulation/emul-linux-x86-sdl )"

DEPEND=""

S=${WORKDIR}

GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}

src_unpack() {
export CDROM_SET_NAMES=("Linux Rune CD" "Windows Rune CD")
cdrom_get_cds System/rune-bin:System/Rune.exe
dodir "${dir}"
if [[ ${CDROM_SET} -eq 0 ]]
then
# unpack the data files
tar xzf "${CDROM_ROOT}"/data.tar.gz || die "Could not unpack data.tar.gz"
elif [[ ${CDROM_SET} -eq 1 ]]
then
# unpack the runelinuxfiles.tar.gz
unpack ${A} || die "Could not unpack rune-all-0.1.tar.bz2"
fi
}

src_install() {
insinto "${dir}"
exeinto "${dir}"
einfo "Copying files... this may take a while..."

case ${CDROM_SET} in
0)
for x in Help Maps Meshes Sounds System Textures Web
do
doins -r $x || die "copying $x"
done

# copy linux specific files
doins -r "${CDROM_ROOT}"/System \
|| die "Could not copy Linux specific files"

# the most important things: rune and ucc :)
doexe "${CDROM_ROOT}"/bin/x86/rune \
|| die "Could not install rune executable"
fperms 750 "${dir}"/System/{ucc{,-bin},rune-bin} \
|| die "Could not make executables executable"

# installing documentation/icon
dodoc "${CDROM_ROOT}"/{README,CREDITS} || die "Could not dodoc README.linux"
newicon "${CDROM_ROOT}"/icon.xpm rune.xpm || die "Could not copy pixmap"
;;
1)
# copying Maps Sounds and Web
for x in Maps Sounds Web
do
doins -r "${CDROM_ROOT}"/$x || die "copying $x"
done

# copying the texture files
dodir "${dir}"/Textures
for x in $(find "${CDROM_ROOT}"/Textures/ -type f -printf '%f ')
do
echo -ne '\271\325\036\214' | cat - "${CDROM_ROOT}"/Textures/$x \
|sed -e '1 s/\(....\)..../\1/' > "${Ddir}"/Textures/$x \
|| die "modifying and copying $x"
done

doins -r "${S}"/System || die "Could not copy Linux specific files"
doins -r "${S}"/Help || die "Could not copy Help data"
sed -e "s:.*\(\w+/\w+\)\w:\1:"
for x in $(ls "${S}"/patch/{System,Maps,Meshes} |sed -e \
"s:.*/\([^/]\+/[^/]\+\).patch$:\1:")
do
xdelta patch "${S}"/patch/${x}.patch "${CDROM_ROOT}"/${x} "${S}"/patch/${x}
doins "${S}"/patch/${x} || die "Could not copy Patch data"
done

insinto "${dir}"/System

# copying system files from the Windows CD
for x in "${CDROM_ROOT}"/System/*.{int,u,url}; do
doins $x || die "copying $x"
done

# modify the files
mv "${Ddir}"/System/OpenGlDrv.int "${Ddir}"/System/OpenGLDrv.int \
|| die "Could not modify System file OpenGlDrv.int"
mv "${Ddir}"/Textures/bloodFX.utx "${Ddir}"/Textures/BloodFX.utx \
|| die "Could not modify Texture file bloodFX.utx"
mv "${Ddir}"/Textures/RUNESTONES.UTX "${Ddir}"/Textures/RUNESTONES.utx \
|| die "Could not modify Texture file RUNESTONES.UTX"
mv "${Ddir}"/Textures/tedd.utx "${Ddir}"/Textures/Tedd.utx \
|| die "Could not modify Texture file tedd.utx"
mv "${Ddir}"/Textures/UNDERANCIENT.utx "${Ddir}"/Textures/UnderAncient.utx \
|| die "Could not modify Texture file UNDERANCIENT.utx"
rm "${Ddir}"/System/{Setup.int,SGLDrv.int,MeTaLDrv.int,Manifest.int,D3DDrv.int,Galaxy.int,SoftDrv.int,WinDrv.int,Window.int} || die "Could not delete not needed System files"

# the most important things: rune and ucc :)
doexe "${S}"/bin/x86/rune || die "Could not install rune executable"
fperms 750 "${dir}"/System/{ucc,ucc-bin,rune-bin} \
|| die "Could not make executables executable"

# installing documentation/icon
dodoc "${S}"/{README,CREDITS} || die "Could not dodoc README.linux"
doicon "${S}"/rune.xpm rune.xpm || die "Could not copy pixmap"
;;
esac

use amd64 && mv "${Ddir}"/System/libSDL-1.2.so.0 \
"${Ddir}"/System/libSDL-1.2.so.0.backup

games_make_wrapper rune ./rune "${dir}" "${dir}"
make_desktop_entry rune "Rune" rune
find "${Ddir}" -exec touch '{}' \;
prepgamesdirs
}