diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-03-02 07:40:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-03-02 07:40:19 +0000 |
commit | b549a61c195cfda2c29952dc2602d44fc34d1c2f (patch) | |
tree | 959be089052cd1a9d45c93ac337bb58e969c932d /app-emulation | |
parent | Version bump. (diff) | |
download | historical-b549a61c195cfda2c29952dc2602d44fc34d1c2f.tar.gz historical-b549a61c195cfda2c29952dc2602d44fc34d1c2f.tar.bz2 historical-b549a61c195cfda2c29952dc2602d44fc34d1c2f.zip |
initial ebuild #10566 #13202
Diffstat (limited to 'app-emulation')
4 files changed, 74 insertions, 0 deletions
diff --git a/app-emulation/visualboyadvance/ChangeLog b/app-emulation/visualboyadvance/ChangeLog new file mode 100644 index 000000000000..28ed12aeff89 --- /dev/null +++ b/app-emulation/visualboyadvance/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-emulation/visualboyadvance +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/visualboyadvance/ChangeLog,v 1.1 2003/03/02 07:40:19 vapier Exp $ + +*visualboyadvance-1.4 (02 Mar 2003) + + 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/app-emulation/visualboyadvance/files/digest-visualboyadvance-1.4 b/app-emulation/visualboyadvance/files/digest-visualboyadvance-1.4 new file mode 100644 index 000000000000..2003f31dd225 --- /dev/null +++ b/app-emulation/visualboyadvance/files/digest-visualboyadvance-1.4 @@ -0,0 +1 @@ +MD5 8cbbc209df07bd975bf1cdb5b7badf7d VisualBoyAdvance-1.4-src.tar.gz 923978 diff --git a/app-emulation/visualboyadvance/files/playvisualboyadvance b/app-emulation/visualboyadvance/files/playvisualboyadvance new file mode 100644 index 000000000000..e7a8848ed635 --- /dev/null +++ b/app-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/app-emulation/visualboyadvance/visualboyadvance-1.4.ebuild b/app-emulation/visualboyadvance/visualboyadvance-1.4.ebuild new file mode 100644 index 000000000000..90b17c8d116f --- /dev/null +++ b/app-emulation/visualboyadvance/visualboyadvance-1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/visualboyadvance/visualboyadvance-1.4.ebuild,v 1.1 2003/03/02 07:40:19 vapier Exp $ + +inherit games + +MY_PN="VisualBoyAdvance" +DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator" +HOMEPAGE="http://vboy.emuhq.com/" +SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-${PV}-src.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="x86" +IUSE="mmx" + +DEPEND="mmx? ( dev-lang/nasm ) + media-libs/libpng + sys-libs/zlib + media-libs/libsdl + virtual/x11" + +S=${WORKDIR}/${MY_PN}-${PV} + +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 mmx` \ + || die + + emake || die +} + +src_install() { + egamesinstall || die + dodoc README README-win.txt INSTALL ChangeLog AUTHORS NEWS + insinto ${GAMES_DATADIR}/VisualBoyAdvance + doins src/VisualBoyAdvance.cfg + dogamesbin ${FILESDIR}/playvisualboyadvance + prepgamesdirs +} |