diff options
author | wiz <wiz> | 2009-01-03 18:44:27 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-01-03 18:44:27 +0000 |
commit | 5beaa1f8f579cceba6ca4e72c1d05f1e37d0b876 (patch) | |
tree | 7f2a504363f47c1bfe99e5a92cecfaaf4776bb6c /emulators | |
parent | 48ea2fb7fdf75fa26d450b223a3c6a19e04d11bc (diff) | |
download | pkgsrc-5beaa1f8f579cceba6ca4e72c1d05f1e37d0b876.tar.gz |
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 (limited to 'emulators')
-rw-r--r-- | emulators/nestopia/DESCR | 21 | ||||
-rw-r--r-- | emulators/nestopia/MESSAGE | 11 | ||||
-rw-r--r-- | emulators/nestopia/Makefile | 45 | ||||
-rw-r--r-- | emulators/nestopia/PLIST | 8 | ||||
-rw-r--r-- | emulators/nestopia/distinfo | 9 | ||||
-rw-r--r-- | emulators/nestopia/patches/patch-aa | 12 |
6 files changed, 106 insertions, 0 deletions
diff --git a/emulators/nestopia/DESCR b/emulators/nestopia/DESCR new file mode 100644 index 00000000000..b9f3d66bb18 --- /dev/null +++ b/emulators/nestopia/DESCR @@ -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 --git a/emulators/nestopia/MESSAGE b/emulators/nestopia/MESSAGE new file mode 100644 index 00000000000..24f4f1e666a --- /dev/null +++ b/emulators/nestopia/MESSAGE @@ -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 --git a/emulators/nestopia/Makefile b/emulators/nestopia/Makefile new file mode 100644 index 00000000000..17b057e64c3 --- /dev/null +++ b/emulators/nestopia/Makefile @@ -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 +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 --git a/emulators/nestopia/PLIST b/emulators/nestopia/PLIST new file mode 100644 index 00000000000..6c50c058272 --- /dev/null +++ b/emulators/nestopia/PLIST @@ -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 --git a/emulators/nestopia/distinfo b/emulators/nestopia/distinfo new file mode 100644 index 00000000000..e28e170fbff --- /dev/null +++ b/emulators/nestopia/distinfo @@ -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 --git a/emulators/nestopia/patches/patch-aa b/emulators/nestopia/patches/patch-aa new file mode 100644 index 00000000000..582b0f49578 --- /dev/null +++ b/emulators/nestopia/patches/patch-aa @@ -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" |