Sat Jan 3 18:44:27 2009 UTC ()
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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-20090103
(wiz)
diff -r0 -r1.1.1.1 pkgsrc/emulators/nestopia/Makefile
diff -r0 -r1.1.1.1 pkgsrc/emulators/nestopia/PLIST
diff -r0 -r1.1.1.1 pkgsrc/emulators/nestopia/distinfo
diff -r0 -r1.1.1.1 pkgsrc/emulators/nestopia/DESCR
diff -r0 -r1.1.1.1 pkgsrc/emulators/nestopia/MESSAGE
diff -r0 -r1.1.1.1 pkgsrc/emulators/nestopia/patches/patch-aa
# $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"
@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
$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
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.
===========================================================================
$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
===========================================================================
$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"