pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/nestopia Initial import of nestopia-1.40h:
details: https://anonhg.NetBSD.org/pkgsrc/rev/9245bd803760
branches: trunk
changeset: 552387:9245bd803760
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jan 03 18:44:27 2009 +0000
description:
Initial import of nestopia-1.40h:
NEStopia is a portable Nintendo Entertainment System emulator
written in C++ by Martin Freij and ported to Linux by R. Belmont.
NEStopia strives for the most accurate emulation possible at the
pixel-by-pixel and sample-by-sample level, and it has excellent
mapper and UNIF board support as well. A few features:
- Supports .nes and .unf/.unif format ROMs
- Supports .fds discs
- Supports .nsf music rips
- All supported files can be extracted from zip or 7zip containers (an
archive browser is not yet included - this assumes the common
GoodSet case of one zip or 7zip per game)
- Supports save states
- Supports movie recordings
- Supports the "rewinder" - if you make a bad jump and screw up your game,
press Backspace and the game will run in reverse. Press \ to take over
again and try to fix your mistake.
- Friendly GUI configuration
- Autodetection of PAL and NTSC format games
- Supports drag and drop of compatible games and music rips from modern
Linux file managers, including KDE's Konqueror and GNOME's Nautilus.
diffstat:
emulators/nestopia/DESCR | 21 +++++++++++++++++
emulators/nestopia/MESSAGE | 11 +++++++++
emulators/nestopia/Makefile | 45 +++++++++++++++++++++++++++++++++++++
emulators/nestopia/PLIST | 8 ++++++
emulators/nestopia/distinfo | 9 +++++++
emulators/nestopia/patches/patch-aa | 12 +++++++++
6 files changed, 106 insertions(+), 0 deletions(-)
diffs (130 lines):
diff -r 3acfee2ee7f9 -r 9245bd803760 emulators/nestopia/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/DESCR Sat Jan 03 18:44:27 2009 +0000
@@ -0,0 +1,21 @@
+NEStopia is a portable Nintendo Entertainment System emulator
+written in C++ by Martin Freij and ported to Linux by R. Belmont.
+NEStopia strives for the most accurate emulation possible at the
+pixel-by-pixel and sample-by-sample level, and it has excellent
+mapper and UNIF board support as well. A few features:
+
+- Supports .nes and .unf/.unif format ROMs
+- Supports .fds discs
+- Supports .nsf music rips
+- All supported files can be extracted from zip or 7zip containers (an
+ archive browser is not yet included - this assumes the common
+ GoodSet case of one zip or 7zip per game)
+- Supports save states
+- Supports movie recordings
+- Supports the "rewinder" - if you make a bad jump and screw up your game,
+ press Backspace and the game will run in reverse. Press \ to take over
+ again and try to fix your mistake.
+- Friendly GUI configuration
+- Autodetection of PAL and NTSC format games
+- Supports drag and drop of compatible games and music rips from modern
+ Linux file managers, including KDE's Konqueror and GNOME's Nautilus.
diff -r 3acfee2ee7f9 -r 9245bd803760 emulators/nestopia/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/MESSAGE Sat Jan 03 18:44:27 2009 +0000
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
+
+Before running, install the contents of ${PREFIX}/share/examples/nestopia
+to ~/.nestopia, and make sure that the nstcontrols is writable:
+
+ mkdir ~/.nestopia
+ cp ${PREFIX}/share/examples/nestopia/* ~/.nestopia
+ chmod 644 ~/.nestopia/nstcontrols
+
+===========================================================================
diff -r 3acfee2ee7f9 -r 9245bd803760 emulators/nestopia/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/Makefile Sat Jan 03 18:44:27 2009 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
+#
+
+DISTNAME= Nestopia140src
+PKGNAME= nestopia-1.40h
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nestopia/}
+EXTRACT_SUFX= .zip
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} nst140_lnx_release_h.zip
+
+SITES.nst140_lnx_release_h.zip= http://rbelmont.mameworld.info/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://rbelmont.mameworld.info/?page_id=200
+COMMENT= Portable, very accurate NES emulator with UNIF support
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= c c++
+USE_TOOLS= gmake
+EXTRACT_OPTS_ZIP= -aqo
+
+SUBST_CLASSES+= oss
+SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},"
+SUBST_FILES.oss= source/linux/oss.cpp
+SUBST_MESSAGE.oss= Fixing path to OSS device.
+SUBST_STAGE.oss= pre-build
+
+INSTALLATION_DIRS= bin share/doc/nestopia share/examples/nestopia
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nst ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README.Linux \
+ ${DESTDIR}${PREFIX}/share/doc/nestopia
+ ${INSTALL_DATA} ${WRKSRC}/readme.html \
+ ${DESTDIR}${PREFIX}/share/doc/nestopia
+ ${INSTALL_DATA} ${WRKSRC}/NstDatabase.xml \
+ ${DESTDIR}${PREFIX}/share/examples/nestopia
+ ${INSTALL_DATA} ${WRKSRC}/nstcontrols \
+ ${DESTDIR}${PREFIX}/share/examples/nestopia
+
+.include "../../audio/alsa-lib/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3acfee2ee7f9 -r 9245bd803760 emulators/nestopia/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/PLIST Sat Jan 03 18:44:27 2009 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
+bin/nst
+share/doc/nestopia/README.Linux
+share/doc/nestopia/readme.html
+share/examples/nestopia/NstDatabase.xml
+share/examples/nestopia/nstcontrols
+@dirrm share/examples/nestopia
+@dirrm share/doc/nestopia
diff -r 3acfee2ee7f9 -r 9245bd803760 emulators/nestopia/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/distinfo Sat Jan 03 18:44:27 2009 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
+
+SHA1 (Nestopia140src.zip) = ef85771132cc8652456727278df36f7068d238e0
+RMD160 (Nestopia140src.zip) = caecb991dfd459093b88b2abb84ac9bbd95ced63
+Size (Nestopia140src.zip) = 2346187 bytes
+SHA1 (nst140_lnx_release_h.zip) = 94a2a911f306514ed725cff68ddbc47bd33b9f99
+RMD160 (nst140_lnx_release_h.zip) = f187b2ff44d8a57432cd7b73679a61142b9ff877
+Size (nst140_lnx_release_h.zip) = 250216 bytes
+SHA1 (patch-aa) = f598f572056344660c72212900b6b8997d996655
diff -r 3acfee2ee7f9 -r 9245bd803760 emulators/nestopia/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/patches/patch-aa Sat Jan 03 18:44:27 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
+
+--- source/linux/main.cpp.orig 2008-10-23 03:44:46.000000000 +0000
++++ source/linux/main.cpp
+@@ -17,6 +17,7 @@
+ #include <sys/types.h>
+ #include <errno.h>
+ #include <vector>
++#include <libgen.h>
+
+ #include "core/api/NstApiEmulator.hpp"
+ #include "core/api/NstApiVideo.hpp"
Home |
Main Index |
Thread Index |
Old Index