diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2012-02-01 20:19:32 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2012-02-01 20:19:32 +0000 |
commit | 50b8d3441da160bde6626335b63f2b8741471849 (patch) | |
tree | 8f9bbd0d19396407d3a902a44bd454f319e59c32 /games-puzzle | |
parent | Version bump for dev channel release. Remove old. (diff) | |
download | gentoo-2-50b8d3441da160bde6626335b63f2b8741471849.tar.gz gentoo-2-50b8d3441da160bde6626335b63f2b8741471849.tar.bz2 gentoo-2-50b8d3441da160bde6626335b63f2b8741471849.zip |
Version bump to 1.6.7 Bug #158592
(Portage version: 2.1.10.44/cvs/Linux i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/drod-bin/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/drod-bin/drod-bin-1.6.7.ebuild | 78 |
2 files changed, 84 insertions, 1 deletions
diff --git a/games-puzzle/drod-bin/ChangeLog b/games-puzzle/drod-bin/ChangeLog index 1539476f0134..3dff9c9dac1c 100644 --- a/games-puzzle/drod-bin/ChangeLog +++ b/games-puzzle/drod-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-puzzle/drod-bin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/ChangeLog,v 1.14 2012/01/31 12:55:26 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/ChangeLog,v 1.15 2012/02/01 20:19:32 tupone Exp $ + +*drod-bin-1.6.7 (01 Feb 2012) + + 01 Feb 2012; Tupone Alfredo <tupone@gentoo.org> +drod-bin-1.6.7.ebuild: + Version bump to 1.6.7 Bug #158592 by Coran 31 Jan 2012; Tupone Alfredo <tupone@gentoo.org> drod-bin-1.6.6.ebuild: Removing usage of some bundled libraries. Bug #251505 by diff --git a/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild b/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild new file mode 100644 index 000000000000..fc8e537a525f --- /dev/null +++ b/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild,v 1.1 2012/02/01 20:19:32 tupone Exp $ +EAPI=2 + +inherit eutils games + +DESCRIPTION="Deadly Rooms Of Death: face room upon room of deadly things, armed with only a sword and your wits" +HOMEPAGE="http://www.drod.net/" +#SRC_URI="mirror://sourceforge/drod/CDROD-${PV}-setup.sh.bin" +SRC_URI="mirror://sourceforge/drod/Linux%20Setup/Caravel%20DROD%201.6.7%20Setup/DRODAESetup-1.6.7.run" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +DEPEND="" +RDEPEND=" + x86? ( + x11-libs/libX11 + media-libs/freetype + media-libs/libsdl + media-libs/sdl-ttf + sys-libs/libstdc++-v3 + ) + amd64? ( + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-compat + )" + +S="${WORKDIR}" + +src_unpack() { + unpack_makeself +} + +src_configure() { + GDIR=${GAMES_PREFIX_OPT}/drod + sed "s:%DRODAE_HOME%:${GDIR}:g" bin/Linux/x86/glibc-2.1/drod-ae.in > drod + chmod a+x drod-ae +} + +src_install() { + insinto "${GDIR}" + doins -r Data + + exeinto "${GDIR}" + doexe bin/Linux/x86/glibc-2.1/drod-ae.bin + dogamesbin drod + + exeinto "${GDIR}"/Libs + doexe Libs/{libexpat.so.0.5.0,libfmod-3.74.1.so} + dosym libexpat.so.0.5.0 "${GDIR}"/Libs/libexpat.so.0 + + dosym Data/Help "${GDIR}"/Help + + newicon Data/Bitmaps/Icon.bmp ${PN}.bmp + make_desktop_entry drod "Deadly Rooms of Death" /usr/share/pixmaps/${PN}.bmp + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + if [[ -d "${ROOT}${GDIR}/bin/Data" ]] ; then + mv "${ROOT}${GDIR}"/{bin/Data,Data.backup} + echo + ewarn "Your saved games have been backed up to ${GDIR}/Data.backup." + ewarn "You can restore your game by copying the files to" + ewarn "~/.caravel/drod-1_6/ like this:" + ewarn " mkdir -p ~/.caravel/drod-1_6/" + ewarn " cp ${GDIR}/Data.backup/* ~/.caravel/drod-1_6/" + echo + fi +} |