pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/mednafen Initial import of mednafen-0.8.1, p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94979e2371a1
branches:  trunk
changeset: 528889:94979e2371a1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat May 19 12:39:30 2007 +0000

description:
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:

 emulators/mednafen/DESCR            |  15 ++++++++++++++
 emulators/mednafen/Makefile         |  39 +++++++++++++++++++++++++++++++++++++
 emulators/mednafen/PLIST            |  10 +++++++++
 emulators/mednafen/distinfo         |   6 +++++
 emulators/mednafen/patches/patch-aa |  13 ++++++++++++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r 881ba1fbbc95 -r 94979e2371a1 emulators/mednafen/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mednafen/DESCR  Sat May 19 12:39:30 2007 +0000
@@ -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 -r 881ba1fbbc95 -r 94979e2371a1 emulators/mednafen/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mednafen/Makefile       Sat May 19 12:39:30 2007 +0000
@@ -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@localhost
+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 -r 881ba1fbbc95 -r 94979e2371a1 emulators/mednafen/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mednafen/PLIST  Sat May 19 12:39:30 2007 +0000
@@ -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 -r 881ba1fbbc95 -r 94979e2371a1 emulators/mednafen/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mednafen/distinfo       Sat May 19 12:39:30 2007 +0000
@@ -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 -r 881ba1fbbc95 -r 94979e2371a1 emulators/mednafen/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mednafen/patches/patch-aa       Sat May 19 12:39:30 2007 +0000
@@ -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@



Home | Main Index | Thread Index | Old Index