diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-08-15 06:57:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-08-15 06:57:12 +0000 |
commit | c8fc7f50b25617aa7fec60a501ba847ae448c0f9 (patch) | |
tree | 5ffbd11d7a80052bb6b99d837950c2fd219073ad /games-emulation | |
parent | ppc KEYWORDS #56629 (Manifest recommit) (diff) | |
download | gentoo-2-c8fc7f50b25617aa7fec60a501ba847ae448c0f9.tar.gz gentoo-2-c8fc7f50b25617aa7fec60a501ba847ae448c0f9.tar.bz2 gentoo-2-c8fc7f50b25617aa7fec60a501ba847ae448c0f9.zip |
ver bump #57545
Diffstat (limited to 'games-emulation')
4 files changed, 65 insertions, 1 deletions
diff --git a/games-emulation/visualboyadvance/ChangeLog b/games-emulation/visualboyadvance/ChangeLog index e418d406ebfa..ae1ec167b80b 100644 --- a/games-emulation/visualboyadvance/ChangeLog +++ b/games-emulation/visualboyadvance/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/visualboyadvance # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/ChangeLog,v 1.16 2004/06/24 22:37:12 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/ChangeLog,v 1.17 2004/08/15 06:57:12 vapier Exp $ + +*visualboyadvance-1.7.2 (15 Aug 2004) + + 15 Aug 2004; Mike Frysinger <vapier@gentoo.org> +files/1.7.2-homedir.patch, + +visualboyadvance-1.7.2.ebuild: + Version bump to fix path issues #57545. 10 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> visualboyadvance-1.7.1.ebuild: diff --git a/games-emulation/visualboyadvance/files/1.7.2-homedir.patch b/games-emulation/visualboyadvance/files/1.7.2-homedir.patch new file mode 100644 index 000000000000..e93d32cf54a5 --- /dev/null +++ b/games-emulation/visualboyadvance/files/1.7.2-homedir.patch @@ -0,0 +1,11 @@ +--- src/sdl/SDL.cpp.orig 2004-08-15 02:43:28.232750688 -0400 ++++ src/sdl/SDL.cpp 2004-08-15 02:44:01.557684528 -0400 +@@ -887,7 +887,7 @@ + + if(home != NULL) { + fprintf(stderr, "Searching home directory: %s\n", home); +- sprintf(path, "%s%c%s", home, FILE_SEP, name); ++ sprintf(path, "%s%c.%s%c%s", home, FILE_SEP, EXE_NAME, FILE_SEP, name); + f = fopen(path, "r"); + if(f != NULL) + return f; diff --git a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.2 b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.2 new file mode 100644 index 000000000000..3dce821f07d7 --- /dev/null +++ b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.2 @@ -0,0 +1 @@ +MD5 cc02339e3fd8efd9f23121b0a2f81fd8 VisualBoyAdvance-src-1.7.2.tar.gz 1410762 diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild new file mode 100644 index 000000000000..c520713c68dc --- /dev/null +++ b/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.2.ebuild,v 1.1 2004/08/15 06:57:12 vapier Exp $ + +inherit games eutils + +DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator" +HOMEPAGE="http://vba.ngemu.com/" +SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-src-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64" +IUSE="mmx debug" + +RDEPEND="virtual/x11 + media-libs/libpng + sys-libs/zlib + media-libs/libsdl" +DEPEND="${RDEPEND} + mmx? ( dev-lang/nasm )" + +S="${WORKDIR}/VisualBoyAdvance-${PV}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-homedir.patch +} + +src_compile() { + egamesconf \ + --enable-c-core \ + $(use_with debug profiling) \ + $(use_with mmx) \ + || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + insinto ${GAMES_DATADIR}/VisualBoyAdvance + doins src/VisualBoyAdvance.cfg + dodoc AUTHORS ChangeLog INSTALL NEWS README README-win.txt + prepgamesdirs +} |