summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/visualboyadvance')
-rw-r--r--games-emulation/visualboyadvance/ChangeLog17
-rw-r--r--games-emulation/visualboyadvance/Manifest4
-rw-r--r--games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.11
-rw-r--r--games-emulation/visualboyadvance/files/playvisualboyadvance18
-rw-r--r--games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild50
5 files changed, 90 insertions, 0 deletions
diff --git a/games-emulation/visualboyadvance/ChangeLog b/games-emulation/visualboyadvance/ChangeLog
new file mode 100644
index 000000000000..bab4895049ae
--- /dev/null
+++ b/games-emulation/visualboyadvance/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-emulation/visualboyadvance
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*visualboyadvance-1.5.1 (20 Jun 2003)
+
+ 20 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump for #19319.
+
+*visualboyadvance-1.4 (02 Mar 2003)
+
+ 27 Mar 2003; Michael Nazaroff <naz@gentoo.org> :
+ Added a license line to the ebuild.
+
+ 02 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Bret Towe <btowe@gbis.com> #10566
+ and Daniel Mannarino <thesnark@operamail.com> #13202.
diff --git a/games-emulation/visualboyadvance/Manifest b/games-emulation/visualboyadvance/Manifest
new file mode 100644
index 000000000000..c89821ac253f
--- /dev/null
+++ b/games-emulation/visualboyadvance/Manifest
@@ -0,0 +1,4 @@
+MD5 f3c6d45805cc291c847715522b21f811 files/playvisualboyadvance 440
+MD5 ca3ed76dc7dabd553467340b383af98f files/digest-visualboyadvance-1.5.1 78
+MD5 d4d018959d4401ce517ee74289f1ebc5 visualboyadvance-1.5.1.ebuild 1253
+MD5 b197f75d5ef7daaefed090366ba0bd40 ChangeLog 669
diff --git a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1 b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1
new file mode 100644
index 000000000000..3283f91962bf
--- /dev/null
+++ b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1
@@ -0,0 +1 @@
+MD5 e679cb0d5749d4ac1e5320511fe022dc VisualBoyAdvance-1.5.1-src.tar.gz 970172
diff --git a/games-emulation/visualboyadvance/files/playvisualboyadvance b/games-emulation/visualboyadvance/files/playvisualboyadvance
new file mode 100644
index 000000000000..e7a8848ed635
--- /dev/null
+++ b/games-emulation/visualboyadvance/files/playvisualboyadvance
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+PN=VisualBoyAdvance
+if ! [ -d ~/.${PN}/save ]; then
+ mkdir -p ~/.${PN}/save
+ cd ~/.${PN}
+ ln -s `which ${PN}` .
+ cp /usr/games/share/${PN}/${PN}.cfg .
+ mv ${PN}.cfg ${PN}.cfg.old
+ sed -e "s:#saveDir.*:saveDir ${HOME}/.${PN}/save:" \
+ -e "s:#captureDir.*:captureDir ${HOME}/.${PN}:" \
+ -e "s:#batteryDir.*:batteryDir ${HOME}/.${PN}/save:" \
+ ${PN}.cfg.old > ${PN}.cfg
+ rm -f ${PN}.cfg.old
+fi
+
+cd ~/.${PN}
+./${PN} $@
diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild
new file mode 100644
index 000000000000..675f7bec7691
--- /dev/null
+++ b/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}/VisualBoyAdvance-1.5
+
+DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator"
+HOMEPAGE="http://vboy.emuhq.com/"
+SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-${PV}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="mmx debug"
+
+DEPEND="mmx? ( dev-lang/nasm )
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/libsdl
+ virtual/x11"
+
+src_compile() {
+ for m in `find -name Makefile.in` ; do
+ cp ${m}{,.orig}
+ sed -e "s:@LIBTOOL@:/usr/bin/libtool:" ${m}.orig > ${m}
+ done
+
+ egamesconf \
+ --enable-c-core \
+ `use_with debug profiling` \
+ `use_with mmx` \
+ || die
+ if [ ! `use debug` ] ; then
+ cp src/Makefile{,.orig}
+ sed -e 's:prof/libprof.a::' \
+ src/Makefile.orig > src/Makefile
+ fi
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dogamesbin ${FILESDIR}/playvisualboyadvance
+ insinto ${GAMES_DATADIR}/VisualBoyAdvance
+ doins src/VisualBoyAdvance.cfg
+ dodoc README README-win.txt INSTALL ChangeLog AUTHORS NEWS
+ prepgamesdirs
+}