diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/rune |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/rune')
-rw-r--r-- | games-action/rune/Manifest | 6 | ||||
-rw-r--r-- | games-action/rune/metadata.xml | 40 | ||||
-rw-r--r-- | games-action/rune/rune-1.07-r2.ebuild | 129 | ||||
-rw-r--r-- | games-action/rune/rune-1.07-r3.ebuild | 129 |
4 files changed, 304 insertions, 0 deletions
diff --git a/games-action/rune/Manifest b/games-action/rune/Manifest new file mode 100644 index 000000000000..6b512f79593d --- /dev/null +++ b/games-action/rune/Manifest @@ -0,0 +1,6 @@ +DIST rune-all-0.2.tar.bz2 6507237 SHA256 432a21d03e3728000c484eec9a5f2a27837c58265d89bf3674716354dbed1632 SHA512 5c86306c84a6b606e13c3b1eebf676479cfe8d1112a2c5b31d6332fc7305fea74485d9a4b89286db38b968f473a40d7b5e500c17aaa8b2010edb17cc95b1695b WHIRLPOOL 75a357df7c4c231e060973fb3816782b0dcbceedc6dc18f2e35ae115e79dcd9fe74eec04e74fdf1772c695161cb63d39d27e146a554ca7473e8f88755c1d6919 +EBUILD rune-1.07-r2.ebuild 3314 SHA256 72b5fff2ce5781e154b66b4784a850f981c22869699c12b3a3ea4f3795008949 SHA512 312ef6b8c1e7b81eebe8fcfa2434f4f7f2314acf9d6bff3696314c610ef58f3167ec329bf396f120f3333d9899066dbb77690914a267e9d9860f58119b351a8d WHIRLPOOL 4b1d9e3b673cbf9bb7b057690b756a989d85c1dec11a68a2e9d97afaea222818e086bea7b04a4158110b02f0c06c104813139184575789cb80fa440dce63fc8a +EBUILD rune-1.07-r3.ebuild 3287 SHA256 6b72d3c25a15771a9510a42a17eab6cc37ef11b04bd0eaf0cc9dc48225f04e36 SHA512 b911960b002dbe6c5052054c8a83ab6a3049f06ef72b671a7a3992d6b09342fa78f4b76ef20da53b1f63a536cc7a870af71847ff93b584873cf0cefb8f49b4a3 WHIRLPOOL 29223d5c648cec3869e9edda67f6ee6977cbb5846f60e0b9d18e6231d0782af91d4c740bcee6526773965d8bca68fb8ceff91e3eb0715800680099697962d690 +MISC ChangeLog 2426 SHA256 1d1d5b5df6b27eaa7c9ac4fdf61a73b557f62c4b6b1ef914fc7895e82783d315 SHA512 af22223aeb59f9090ba62f67e5d6d2ac787bb3b4dda8e2185a865e1703c1599b643aa6b1947fb713d80838225e75e74a094d04e86b562f5b2d25615222a8c46c WHIRLPOOL 5136eba0fd65990520bfaf51c6bb00ef6c461bb53ad9cb06058b4fb698c88204ac812ce500e25c30cf7f800e02db842453ade3efbcaba8ac6a4d38d5bf865382 +MISC ChangeLog-2015 4010 SHA256 58cf75d57f2956bbca3e0ae1458936797ca4b9c08c91663ac8fe1be0ab7381c6 SHA512 7e3a81d5eba92fe0a233bc3a9962c5416f2d4f4400e882308f201597152a5679d9941dde1dc193d841ad25218953ef35cfac1dc3b6e28869ebda04f10db8d890 WHIRLPOOL e339ffbffd832afc7742fc8ec404ee4afe3758cff1ff78cf1a2eaeddf94fdb40d4791102d51c57c23bb972da134a4660d8a31d1867553deec9817dc791b79607 +MISC metadata.xml 2118 SHA256 04d9a3d7189ac3eca6385d8edf39d3e33c7918e594579f10e58bce8343f497bb SHA512 64d64e07f93b267b5e8682f716f2fc6cfeef77732a5c2a583d3c00bf20f5be1c257f8259c52a5c0962d5ce96bfc892b2bf1185c9219016808876164700f2ebdc WHIRLPOOL c4cd4af5d64e9a0801cad11ef967efb9ae6653b7222e5b73eebb33e37d700099885eda2cf1a381b04aee4780a19527be5aa184c4c78f794d039d633cb3b390cd diff --git a/games-action/rune/metadata.xml b/games-action/rune/metadata.xml new file mode 100644 index 000000000000..51b5f12f9019 --- /dev/null +++ b/games-action/rune/metadata.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +<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 000000000000..6a78e4c95db8 --- /dev/null +++ b/games-action/rune/rune-1.07-r2.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} diff --git a/games-action/rune/rune-1.07-r3.ebuild b/games-action/rune/rune-1.07-r3.ebuild new file mode 100644 index 000000000000..2f649202e4e4 --- /dev/null +++ b/games-action/rune/rune-1.07-r3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils cdrom + +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=/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 + + make_wrapper rune ./rune "${dir}" "${dir}" + make_desktop_entry rune "Rune" rune + find "${Ddir}" -exec touch '{}' \; || die +} |