diff options
author | wiz <wiz@pkgsrc.org> | 2007-05-19 12:39:30 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-05-19 12:39:30 +0000 |
commit | 81a23bf6db666c161e68dd11dd2d622f0d9cb45c (patch) | |
tree | a3a306e296990d599080fc6273c763608066940a /emulators | |
parent | e5b809b4734314120e11acbbcf24be1ab7bcfd36 (diff) | |
download | pkgsrc-81a23bf6db666c161e68dd11dd2d622f0d9cb45c.tar.gz |
Initial import of mednafen-0.8.1, previously packaged for wip (by myself):
Mednafen is a portable, utilizing OpenGL and SDL, argument
(command-line)-driven multi-system emulator with many advanced
features. The Atari Lynx, GameBoy (Color), GameBoy Advance, NES,
PC Engine (TurboGrafx 16), SuperGrafx, Neo Geo Pocket (Color),
PC-FX, and WonderSwan (Color) are emulated. Mednafen has the
ability to remap hotkey functions and virtual system inputs to a
keyboard, a joystick, or both simultaneously. Save states are
supported, as is real-time game rewinding. Screen snapshots may be
taken at the press of a button, and are saved in the popular PNG
file format.
Due to the threaded model of emulation used in Mednafen, and
limitations of SDL, a joystick is preferred over a keyboard to play
games, as the joystick will have slightly less latency, although
the latency differences may not be perceptible to most people.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/mednafen/DESCR | 15 | ||||
-rw-r--r-- | emulators/mednafen/Makefile | 39 | ||||
-rw-r--r-- | emulators/mednafen/PLIST | 10 | ||||
-rw-r--r-- | emulators/mednafen/distinfo | 6 | ||||
-rw-r--r-- | emulators/mednafen/patches/patch-aa | 13 |
5 files changed, 83 insertions, 0 deletions
diff --git a/emulators/mednafen/DESCR b/emulators/mednafen/DESCR new file mode 100644 index 00000000000..98e2b5bdbe4 --- /dev/null +++ b/emulators/mednafen/DESCR @@ -0,0 +1,15 @@ +Mednafen is a portable, utilizing OpenGL and SDL, argument +(command-line)-driven multi-system emulator with many advanced +features. The Atari Lynx, GameBoy (Color), GameBoy Advance, NES, +PC Engine (TurboGrafx 16), SuperGrafx, Neo Geo Pocket (Color), +PC-FX, and WonderSwan (Color) are emulated. Mednafen has the +ability to remap hotkey functions and virtual system inputs to a +keyboard, a joystick, or both simultaneously. Save states are +supported, as is real-time game rewinding. Screen snapshots may be +taken at the press of a button, and are saved in the popular PNG +file format. + +Due to the threaded model of emulation used in Mednafen, and +limitations of SDL, a joystick is preferred over a keyboard to play +games, as the joystick will have slightly less latency, although +the latency differences may not be perceptible to most people. diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile new file mode 100644 index 00000000000..17cb7af5c07 --- /dev/null +++ b/emulators/mednafen/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/05/19 12:39:30 wiz Exp $ +# + +DISTNAME= mednafen-0.8.1 +CATEGORIES= emulators +MASTER_SITES= http://mednafen.com/releases/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://mednafen.com/ +COMMENT= Portable multi-system emulator + +WRKSRC= ${WRKDIR}/mednafen +GNU_CONFIGURE= yes +USE_TOOLS+= intltool pkg-config +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_PKGLOCALEDIR= yes + +SUBST_CLASSES+= dsp +SUBST_STAGE.dsp= pre-configure +SUBST_MESSAGE.dsp= Fixing path to audio device. +SUBST_FILES.dsp= src/sexyal/drivers/esd.c src/sexyal/drivers/oss.c \ + src/sexyal/drivers/oss.c src/sexyal/sexyal.c +SUBST_SED.dsp= -e s,/dev/dsp,${DEVOSSAUDIO}, + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen + ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \ + ${PREFIX}/share/doc/mednafen + +.include "../../audio/esound/buildlink3.mk" +.include "../../audio/libsndfile/buildlink3.mk" +.include "../../devel/SDL/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../misc/libcdio/buildlink3.mk" +.include "../../net/SDL_net/buildlink3.mk" +.include "../../mk/oss.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/mednafen/PLIST b/emulators/mednafen/PLIST new file mode 100644 index 00000000000..bd889a39386 --- /dev/null +++ b/emulators/mednafen/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/19 12:39:30 wiz Exp $ +bin/mednafen +@comment belongs to libiconv: lib/charset.alias +share/doc/mednafen/debugger.html +share/doc/mednafen/mednafen.html +share/doc/mednafen/netplay.html +share/locale/de/LC_MESSAGES/mednafen.mo +share/locale/es/LC_MESSAGES/mednafen.mo +share/locale/ru/LC_MESSAGES/mednafen.mo +@dirrm share/doc/mednafen diff --git a/emulators/mednafen/distinfo b/emulators/mednafen/distinfo new file mode 100644 index 00000000000..77341f263e8 --- /dev/null +++ b/emulators/mednafen/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/05/19 12:39:30 wiz Exp $ + +SHA1 (mednafen-0.8.1.tar.bz2) = 7f69009d2efac63487674d911cbcd66900991f45 +RMD160 (mednafen-0.8.1.tar.bz2) = 0c4b31df4a09e3ed1bdeecaeef3e30e6d3cb4207 +Size (mednafen-0.8.1.tar.bz2) = 2575421 bytes +SHA1 (patch-aa) = 2d9f8b72f09bc20f0ef70e851d27c7beca46c2ea diff --git a/emulators/mednafen/patches/patch-aa b/emulators/mednafen/patches/patch-aa new file mode 100644 index 00000000000..04eed33b26e --- /dev/null +++ b/emulators/mednafen/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/05/19 12:39:30 wiz Exp $ + +--- po/Makefile.in.in.orig 2007-05-19 11:00:21.000000000 +0000 ++++ po/Makefile.in.in +@@ -30,7 +30,7 @@ gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ + INSTALL_DATA = @INSTALL_DATA@ +-mkinstalldirs = $(SHELL) @install_sh@ -d ++mkinstalldirs = @install_sh@ -d + mkdir_p = @mkdir_p@ + + GMSGFMT_ = @GMSGFMT@ |