diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-action/rune | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-action/rune')
-rw-r--r-- | games-action/rune/Manifest | 1 | ||||
-rw-r--r-- | games-action/rune/metadata.xml | 37 | ||||
-rw-r--r-- | games-action/rune/rune-1.07-r2.ebuild | 130 |
3 files changed, 168 insertions, 0 deletions
diff --git a/games-action/rune/Manifest b/games-action/rune/Manifest new file mode 100644 index 00000000000..9be0944a624 --- /dev/null +++ b/games-action/rune/Manifest @@ -0,0 +1 @@ +DIST rune-all-0.2.tar.bz2 6507237 SHA256 432a21d03e3728000c484eec9a5f2a27837c58265d89bf3674716354dbed1632 SHA512 5c86306c84a6b606e13c3b1eebf676479cfe8d1112a2c5b31d6332fc7305fea74485d9a4b89286db38b968f473a40d7b5e500c17aaa8b2010edb17cc95b1695b WHIRLPOOL 75a357df7c4c231e060973fb3816782b0dcbceedc6dc18f2e35ae115e79dcd9fe74eec04e74fdf1772c695161cb63d39d27e146a554ca7473e8f88755c1d6919 diff --git a/games-action/rune/metadata.xml b/games-action/rune/metadata.xml new file mode 100644 index 00000000000..2f144290bc9 --- /dev/null +++ b/games-action/rune/metadata.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription> +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. +</longdescription> +</pkgmetadata> diff --git a/games-action/rune/rune-1.07-r2.ebuild b/games-action/rune/rune-1.07-r2.ebuild new file mode 100644 index 00000000000..2eeba3f3228 --- /dev/null +++ b/games-action/rune/rune-1.07-r2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils cdrom games + +DESCRIPTION="Viking hack and slay game" +HOMEPAGE="http://www.runegame.com" +SRC_URI="mirror://gentoo/rune-all-0.2.tar.bz2" + +LICENSE="LOKI-EULA" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="strip" + +RDEPEND="dev-util/xdelta:0 + >=media-libs/libsdl-1.2.9-r1[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + virtual/opengl[abi_x86_32(-)]" + +S=${WORKDIR} + +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 + elif [[ ${CDROM_SET} -eq 1 ]] + then + # unpack the runelinuxfiles.tar.gz + unpack ${A} + 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 + done + + # copy linux specific files + doins -r "${CDROM_ROOT}"/System + + # the most important things: rune and ucc :) + doexe "${CDROM_ROOT}"/bin/x86/rune + fperms 750 "${dir}"/System/{ucc{,-bin},rune-bin} + + # installing documentation/icon + dodoc "${CDROM_ROOT}"/{README,CREDITS} + newicon "${CDROM_ROOT}"/icon.xpm rune.xpm + ;; + 1) + # copying Maps Sounds and Web + for x in Maps Sounds Web + do + doins -r "${CDROM_ROOT}"/$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 + done + + doins -r "${S}"/System + doins -r "${S}"/Help + 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} + done + + insinto "${dir}"/System + + # copying system files from the Windows CD + for x in "${CDROM_ROOT}"/System/*.{int,u,url}; do + doins $x + done + + # modify the files + mv "${Ddir}"/System/OpenGlDrv.int "${Ddir}"/System/OpenGLDrv.int \ + || die + mv "${Ddir}"/Textures/bloodFX.utx "${Ddir}"/Textures/BloodFX.utx \ + || die + mv "${Ddir}"/Textures/RUNESTONES.UTX "${Ddir}"/Textures/RUNESTONES.utx \ + || die + mv "${Ddir}"/Textures/tedd.utx "${Ddir}"/Textures/Tedd.utx \ + || die + mv "${Ddir}"/Textures/UNDERANCIENT.utx "${Ddir}"/Textures/UnderAncient.utx \ + || die + rm "${Ddir}"/System/{Setup.int,SGLDrv.int,MeTaLDrv.int,Manifest.int,D3DDrv.int,Galaxy.int,SoftDrv.int,WinDrv.int,Window.int} || die + + # the most important things: rune and ucc :) + doexe "${S}"/bin/x86/rune + fperms 750 "${dir}"/System/{ucc,ucc-bin,rune-bin} + + # installing documentation/icon + dodoc "${S}"/{README,CREDITS} + doicon "${S}"/rune.xpm rune.xpm + ;; + 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 +} |