diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-21 20:47:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-21 20:47:17 +0000 |
commit | 4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 (patch) | |
tree | f7640b8b96a04499f1ce44a2cad122d45a8373bd /games-action/rune | |
parent | 48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (diff) |
gentoo resync : 21.12.2017
Diffstat (limited to 'games-action/rune')
-rw-r--r-- | games-action/rune/Manifest | 1 | ||||
-rw-r--r-- | games-action/rune/rune-1.07-r2.ebuild | 129 |
2 files changed, 0 insertions, 130 deletions
diff --git a/games-action/rune/Manifest b/games-action/rune/Manifest index 657fdf7eb07d..874c47c9d3dd 100644 --- a/games-action/rune/Manifest +++ b/games-action/rune/Manifest @@ -1,4 +1,3 @@ DIST rune-all-0.2.tar.bz2 6507237 BLAKE2B 98afc23e076801bdf8de2fd80e5d95dfbdc74399cad91dbe2a19c3d41b1107b8b07aee5b480e212c7483e4215d9cd3c9101f8d189191aa779ed9f22f73ef9af4 SHA512 5c86306c84a6b606e13c3b1eebf676479cfe8d1112a2c5b31d6332fc7305fea74485d9a4b89286db38b968f473a40d7b5e500c17aaa8b2010edb17cc95b1695b -EBUILD rune-1.07-r2.ebuild 3316 BLAKE2B d775025577e569ed64cd84eaafc6e906f4b1a288676ad5d5c62b55f2f985b00be00b4831a0ab88921a7375702be2119f08db9cbf0109975ae8a017c573ea73cd SHA512 ef7c68e2b6eab5a547be659aef4fea2aa9efc3117416a423566ea4e9ed278c7667d9499ed9636dde7dce1a17acc2d363b48c8ed74c05e0bc969efa33221e525b EBUILD rune-1.07-r3.ebuild 3287 BLAKE2B d84df4e0e016ddb27d13e656e5a4722c15b886ae47f572819a2bc54fd83280118a20c6ae6ceb060ed5f97da047f9015794e3f557b7d3d1822953404d156c6825 SHA512 b911960b002dbe6c5052054c8a83ab6a3049f06ef72b671a7a3992d6b09342fa78f4b76ef20da53b1f63a536cc7a870af71847ff93b584873cf0cefb8f49b4a3 MISC metadata.xml 2118 BLAKE2B 2c390a7a3fdfe18a338dacd5d568a2912aaeacba4e75d260474a2a9c7474a9d30b0072d34b364f83ea25ae188df0a26f9f5550b25a94581a0dea1b64bd4ee055 SHA512 64d64e07f93b267b5e8682f716f2fc6cfeef77732a5c2a583d3c00bf20f5be1c257f8259c52a5c0962d5ce96bfc892b2bf1185c9219016808876164700f2ebdc diff --git a/games-action/rune/rune-1.07-r2.ebuild b/games-action/rune/rune-1.07-r2.ebuild deleted file mode 100644 index 1a1348b89aef..000000000000 --- a/games-action/rune/rune-1.07-r2.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# 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 -} |