diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-05-24 20:51:27 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-05-24 20:51:27 +0000 |
commit | f80518acf48632109fa7c6d62a7dc8fd817ec3ff (patch) | |
tree | d3bd935f8552c3d7b9319750c25da2c8fc4ae856 /games-action/rune | |
parent | sys-cluster/keepalived stable on ppc. (diff) | |
download | historical-f80518acf48632109fa7c6d62a7dc8fd817ec3ff.tar.gz historical-f80518acf48632109fa7c6d62a7dc8fd817ec3ff.tar.bz2 historical-f80518acf48632109fa7c6d62a7dc8fd817ec3ff.zip |
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 <patrick@zakweb.de> for doing the legwork on this one. Closing bug #125257.
Package-Manager: portage-2.1_rc2-r1
Diffstat (limited to 'games-action/rune')
-rw-r--r-- | games-action/rune/ChangeLog | 10 | ||||
-rw-r--r-- | games-action/rune/Manifest | 40 | ||||
-rw-r--r-- | games-action/rune/files/digest-rune-1.07-r2 | 3 | ||||
-rw-r--r-- | games-action/rune/rune-1.07-r2.ebuild | 148 |
4 files changed, 191 insertions, 10 deletions
diff --git a/games-action/rune/ChangeLog b/games-action/rune/ChangeLog index 6c0319577166..4392198d16f7 100644 --- a/games-action/rune/ChangeLog +++ b/games-action/rune/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-action/rune # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/rune/ChangeLog,v 1.8 2006/04/13 19:53:38 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/rune/ChangeLog,v 1.9 2006/05/24 20:51:27 wolf31o2 Exp $ + +*rune-1.07-r2 (24 May 2006) + + 24 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> +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 + <patrick@zakweb.de> for doing the legwork on this one. Closing bug #125257. 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> rune-1.07-r1.ebuild: Moved games_pkg_setup to the beginning of pkg_setup. diff --git a/games-action/rune/Manifest b/games-action/rune/Manifest index c7a6448e97bb..4aace1e791c8 100644 --- a/games-action/rune/Manifest +++ b/games-action/rune/Manifest @@ -1,12 +1,34 @@ -MD5 d8cecbb4e4ab00bf0fadde2ff8f2c209 ChangeLog 1617 -RMD160 38bde6d7256dc4f8aa7fccd7571a6c90c1623a65 ChangeLog 1617 -SHA256 6737200e229e5e129407fbd548b00d0e33439dfd13b9b5e822e0b2b52e855914 ChangeLog 1617 -MD5 6b6e58eea7d4f35abdc71070d6e97577 files/digest-rune-1.07-r1 67 -RMD160 eab92d261231398eafd41285af6f8687860c9cea files/digest-rune-1.07-r1 67 -SHA256 c062a37e6e0fca889acb8fc78f7e4ffb466b5fd75eab1361eae4ac3608ce2fb2 files/digest-rune-1.07-r1 67 -MD5 76efd745270c0e95649117f0347478dd metadata.xml 2123 -RMD160 df2c7ca9186e5c595c4fa7f6e6e9a9f3ab456f8e metadata.xml 2123 -SHA256 d1085e0dbbaf82cd493597bdba8f5f969ef7c5c8bdae362772d1aa87e857618a metadata.xml 2123 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST rune-all-0.1.tar.bz2 34715786 +DIST rune-all-0.2.tar.bz2 6507237 RMD160 71618cc4563199ee1cd30181b289d81347d597b7 SHA1 2033194626c53e11eb6b28335641e8dee313ad93 SHA256 432a21d03e3728000c484eec9a5f2a27837c58265d89bf3674716354dbed1632 +EBUILD rune-1.07-r1.ebuild 4326 RMD160 6210225418dc4a6bac863d2aeaae8bcb606bf9e1 SHA1 f10e6e736ea08787a4f1d2c09dad03ec8d0da919 SHA256 66573b440f0e24bd929f7f5d7a7514a21117bf517e9c7c46c47a55bf6d114cd0 MD5 018f40b74c267cf6694c7a9d949fa1a7 rune-1.07-r1.ebuild 4326 RMD160 6210225418dc4a6bac863d2aeaae8bcb606bf9e1 rune-1.07-r1.ebuild 4326 SHA256 66573b440f0e24bd929f7f5d7a7514a21117bf517e9c7c46c47a55bf6d114cd0 rune-1.07-r1.ebuild 4326 +EBUILD rune-1.07-r2.ebuild 4538 RMD160 68634849cf217bcc3a5e0097eea0176bcff1a12e SHA1 e313a4c12173e5bc75a1ba3f336ff270c4f58882 SHA256 a95e105f5270d903e8fc2894cd021b588e10642d1d58dad02a590e0bc3fbd447 +MD5 436b9f10e2a85806c92105d4117e1bbd rune-1.07-r2.ebuild 4538 +RMD160 68634849cf217bcc3a5e0097eea0176bcff1a12e rune-1.07-r2.ebuild 4538 +SHA256 a95e105f5270d903e8fc2894cd021b588e10642d1d58dad02a590e0bc3fbd447 rune-1.07-r2.ebuild 4538 +MISC ChangeLog 2031 RMD160 d2ee05da3857d102f635eb16958d4e09f318e608 SHA1 fe7f2728bfc8645c0e115701d708f75c362c4080 SHA256 25bd0d5a5b1441cfcb5f5ab98424156299ce09f26b17d6ff719568f0d6c950d3 +MD5 62fe2c497ecef62b25ef1fd3a2f235fa ChangeLog 2031 +RMD160 d2ee05da3857d102f635eb16958d4e09f318e608 ChangeLog 2031 +SHA256 25bd0d5a5b1441cfcb5f5ab98424156299ce09f26b17d6ff719568f0d6c950d3 ChangeLog 2031 +MISC metadata.xml 2123 RMD160 df2c7ca9186e5c595c4fa7f6e6e9a9f3ab456f8e SHA1 79f1e8258d658580c0f72b388ffd65b442e12afb SHA256 d1085e0dbbaf82cd493597bdba8f5f969ef7c5c8bdae362772d1aa87e857618a +MD5 76efd745270c0e95649117f0347478dd metadata.xml 2123 +RMD160 df2c7ca9186e5c595c4fa7f6e6e9a9f3ab456f8e metadata.xml 2123 +SHA256 d1085e0dbbaf82cd493597bdba8f5f969ef7c5c8bdae362772d1aa87e857618a metadata.xml 2123 +MD5 6b6e58eea7d4f35abdc71070d6e97577 files/digest-rune-1.07-r1 67 +RMD160 eab92d261231398eafd41285af6f8687860c9cea files/digest-rune-1.07-r1 67 +SHA256 c062a37e6e0fca889acb8fc78f7e4ffb466b5fd75eab1361eae4ac3608ce2fb2 files/digest-rune-1.07-r1 67 +MD5 aeecd940438a3a945923a65f2daaab34 files/digest-rune-1.07-r2 244 +RMD160 636a54d4cd64d41821fd31e0a44a40dd7d8f467f files/digest-rune-1.07-r2 244 +SHA256 891c567861eac9ba39c4b6734bc3f4593321798d6a55530909e1ddb02961ec3e files/digest-rune-1.07-r2 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFEdMbakT4lNIS36YERApT8AKCK4l2fO/IJSYlbv6JO4AKc6Ji+tgCfThJJ +1yqN8QqBKwWdrV2Nr/tpns0= +=pz/i +-----END PGP SIGNATURE----- diff --git a/games-action/rune/files/digest-rune-1.07-r2 b/games-action/rune/files/digest-rune-1.07-r2 new file mode 100644 index 000000000000..c84db21442cd --- /dev/null +++ b/games-action/rune/files/digest-rune-1.07-r2 @@ -0,0 +1,3 @@ +MD5 a84d1373a8669b746b6b599a78fbe02e rune-all-0.2.tar.bz2 6507237 +RMD160 71618cc4563199ee1cd30181b289d81347d597b7 rune-all-0.2.tar.bz2 6507237 +SHA256 432a21d03e3728000c484eec9a5f2a27837c58265d89bf3674716354dbed1632 rune-all-0.2.tar.bz2 6507237 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..e6bd721d217c --- /dev/null +++ b/games-action/rune/rune-1.07-r2.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2006 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.1 2006/05/24 20:51:27 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" +IUSE="" + +RDEPEND="virtual/opengl + dev-util/xdelta + x86? ( + || ( + ( + x11-libs/libX11 + x11-libs/libXext ) + virtual/x11 ) + =media-libs/libsdl-1.2* ) + 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} + +pkg_setup() { + games_pkg_setup + export CDROM_SET_NAMES=("Linux Rune CD" "Windows Rune CD") + cdrom_get_cds System/rune-bin:System/Rune.exe +} + +src_unpack() { + 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.xpm "Game;ActionGame" + find ${Ddir} -exec touch '{}' \; + prepgamesdirs +} |