summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fakenes/ChangeLog7
-rw-r--r--games-emulation/fakenes/fakenes-0.3.1.ebuild68
-rw-r--r--games-emulation/fakenes/files/digest-fakenes-0.3.11
3 files changed, 75 insertions, 1 deletions
diff --git a/games-emulation/fakenes/ChangeLog b/games-emulation/fakenes/ChangeLog
index 3ed57874f3fb..75a8147725a7 100644
--- a/games-emulation/fakenes/ChangeLog
+++ b/games-emulation/fakenes/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/fakenes
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.6 2004/06/24 22:26:30 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.7 2004/09/02 02:06:22 vapier Exp $
+
+*fakenes-0.3.1 (01 Sep 2004)
+
+ 01 Sep 2004; Mike Frysinger <vapier@gentoo.org> +fakenes-0.3.1.ebuild:
+ Version bump #55090 by Till Maas.
22 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> fakenes-0.1.5.ebuild:
sync IUSE; error check; tidy
diff --git a/games-emulation/fakenes/fakenes-0.3.1.ebuild b/games-emulation/fakenes/fakenes-0.3.1.ebuild
new file mode 100644
index 000000000000..2f9f26a5b3d1
--- /dev/null
+++ b/games-emulation/fakenes/fakenes-0.3.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.3.1.ebuild,v 1.1 2004/09/02 02:06:22 vapier Exp $
+
+inherit eutils games
+
+DESCRIPTION="portable, Open Source NES emulator which is written mostly in C"
+HOMEPAGE="http://fakenes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="zlib fbcon svga"
+
+RDEPEND=">=media-libs/allegro-4.1
+ zlib? ( sys-libs/zlib )
+ dev-games/hawknl"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ x86? ( dev-lang/nasm )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # this is a hack simply because upstream seems kind
+ # of dead atm ... if they ever revive, we can do this
+ # properly by making an autoconf patch ...
+ epatch ${FILESDIR}/0.3.0-allegro.patch
+ if ! use fbcon ; then
+ sed -i \
+ -e '/sedfbme/s:.*::' \
+ src/gui.c src/include/gui/menus.h \
+ || die "sed fb failed"
+ fi
+ if ! use svga ; then
+ sed -i \
+ -e '/sedsvgalibme/s:.*::' \
+ src/gui.c src/include/gui/menus.h \
+ || die "sed svga failed"
+ fi
+
+ # fix bad AC_ARG_WITH() configure invocation
+ sed -i \
+ -e '/USE_/s:$enableval:$withval:' \
+ configure || die
+
+ # fix bad distribution
+ chmod a+x configure
+ edos2unix $(find -type f)
+}
+
+src_compile() {
+ egamesconf \
+ --with-hawknl \
+ `use_with zlib` \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin src/fakenes || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins src/support/fakenes.{dat,ico,rc} || die "doins failed"
+ dodoc CHANGES README SOURCE SUPPORT
+ prepgamesdirs
+}
diff --git a/games-emulation/fakenes/files/digest-fakenes-0.3.1 b/games-emulation/fakenes/files/digest-fakenes-0.3.1
new file mode 100644
index 000000000000..953ad220d61c
--- /dev/null
+++ b/games-emulation/fakenes/files/digest-fakenes-0.3.1
@@ -0,0 +1 @@
+MD5 a0f8416fe0749ee1464b0e4814acfb93 fakenes-0.3.1.tar.bz2 160899