pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/mednafen



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Dec 18 17:08:21 UTC 2018

Modified Files:
        pkgsrc/emulators/mednafen: DESCR Makefile PLIST distinfo
Added Files:
        pkgsrc/emulators/mednafen: options.mk
Removed Files:
        pkgsrc/emulators/mednafen/patches: patch-src_cdrom_cdromfile.cpp
            patch-src_file.cpp patch-src_mempatcher.cpp patch-src_nes_ines.cpp
            patch-src_psf.cpp patch-src_settings.cpp
            patch-src_wswan_dis_opcodes_inc

Log Message:
emulators/mednafen: Update to 1.21.3.

Package's changelog does not go that far back.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/emulators/mednafen/DESCR
cvs rdiff -u -r1.23 -r1.24 pkgsrc/emulators/mednafen/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/mednafen/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/emulators/mednafen/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/mednafen/options.mk
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/emulators/mednafen/patches/patch-src_cdrom_cdromfile.cpp \
    pkgsrc/emulators/mednafen/patches/patch-src_file.cpp \
    pkgsrc/emulators/mednafen/patches/patch-src_mempatcher.cpp \
    pkgsrc/emulators/mednafen/patches/patch-src_nes_ines.cpp \
    pkgsrc/emulators/mednafen/patches/patch-src_psf.cpp \
    pkgsrc/emulators/mednafen/patches/patch-src_settings.cpp
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/emulators/mednafen/patches/patch-src_wswan_dis_opcodes_inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/mednafen/DESCR
diff -u pkgsrc/emulators/mednafen/DESCR:1.1.1.1 pkgsrc/emulators/mednafen/DESCR:1.2
--- pkgsrc/emulators/mednafen/DESCR:1.1.1.1     Sat May 19 12:39:30 2007
+++ pkgsrc/emulators/mednafen/DESCR     Tue Dec 18 17:08:20 2018
@@ -1,15 +1,22 @@
-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.
+Mednafen is a portable, utilizing OpenGL and SDL, command-line-driven
+multi-system emulator.
 
-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.
+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, in the PNG file format, at the press of a
+button.
+
+Mednafen can record audiovisual movies in the QuickTime file format,
+with several different lossless codecs supported.
+
+The following systems are supported(refer to the emulation module
+documentation for more details):
+
+Atari Lynx, Neo Geo Pocket (Color), WonderSwan, GameBoy (Color),
+GameBoy Advance, Nintendo Entertainment System,
+Super Nintendo Entertainment System/Super Famicom, Virtual Boy,
+PC Engine/TurboGrafx 16 (CD), SuperGrafx, PC-FX, Sega Game Gear,
+Sega Genesis/Megadrive, Sega Master System,
+Sega Saturn (experimental, x86_64 only), Sony PlayStation

Index: pkgsrc/emulators/mednafen/Makefile
diff -u pkgsrc/emulators/mednafen/Makefile:1.23 pkgsrc/emulators/mednafen/Makefile:1.24
--- pkgsrc/emulators/mednafen/Makefile:1.23     Wed Jul 18 00:06:15 2018
+++ pkgsrc/emulators/mednafen/Makefile  Tue Dec 18 17:08:20 2018
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile,v 1.23 2018/07/18 00:06:15 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2018/12/18 17:08:20 nia Exp $
 
-DISTNAME=      mednafen-0.8.D.3
-PKGNAME=       mednafen-0.8.13.3
-PKGREVISION=   4
+DISTNAME=      mednafen-1.21.3
 CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mednafen/}
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  https://mednafen.github.io/releases/files/
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://mednafen.sourceforge.net/
+HOMEPAGE=      https://mednafen.github.io/
 COMMENT=       Portable multi-system emulator
 LICENSE=       gnu-gpl-v2
 
+CONFIGURE_ARGS+=       --with-external-tremor
+CONFIGURE_ARGS+=       --with-external-lzo
+
 WRKSRC=                        ${WRKDIR}/mednafen
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            intltool pkg-config
@@ -26,23 +27,16 @@ SUBST_MESSAGE.dsp=  Fixing path to audio 
 SUBST_FILES.dsp=       src/sexyal/drivers/oss.cpp src/sexyal/sexyal.cpp
 SUBST_SED.dsp=         -e s,/dev/dsp,${DEVOSSAUDIO},
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${X11_TYPE} == "modular"
-CONFIGURE_ARGS+=       --x-includes=${PREFIX:Q}/include
-CONFIGURE_ARGS+=       --x-libraries=${PREFIX:Q}/lib
-.endif
-
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
                ${DESTDIR}${PREFIX}/share/doc/mednafen
 
-.include "../../audio/esound/buildlink3.mk"
+.include "options.mk"
+.include "../../archivers/lzo/buildlink3.mk"
 .include "../../audio/libsndfile/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
+.include "../../audio/tremor/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../misc/libcdio/buildlink3.mk"
-.include "../../net/SDL_net/buildlink3.mk"
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/mednafen/PLIST
diff -u pkgsrc/emulators/mednafen/PLIST:1.2 pkgsrc/emulators/mednafen/PLIST:1.3
--- pkgsrc/emulators/mednafen/PLIST:1.2 Sun Jun 14 17:51:06 2009
+++ pkgsrc/emulators/mednafen/PLIST     Tue Dec 18 17:08:20 2018
@@ -1,9 +1,28 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:51:06 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/12/18 17:08:20 nia Exp $
 bin/mednafen
-@comment belongs to libiconv: lib/charset.alias
+share/doc/mednafen/cdplay.html
+share/doc/mednafen/cheat.html
 share/doc/mednafen/debugger.html
+share/doc/mednafen/gb.html
+share/doc/mednafen/gba.html
+share/doc/mednafen/gg.html
+share/doc/mednafen/lynx.html
+share/doc/mednafen/md.html
 share/doc/mednafen/mednafen.html
+share/doc/mednafen/nes.html
 share/doc/mednafen/netplay.html
+share/doc/mednafen/ngp.html
+share/doc/mednafen/pce.html
+share/doc/mednafen/pce_fast.html
+share/doc/mednafen/pcfx.html
+share/doc/mednafen/psx.html
+share/doc/mednafen/sms.html
+share/doc/mednafen/snes.html
+share/doc/mednafen/snes_faust.html
+share/doc/mednafen/ss.html
+share/doc/mednafen/ssfplay.html
+share/doc/mednafen/vb.html
+share/doc/mednafen/wswan.html
 share/locale/de/LC_MESSAGES/mednafen.mo
 share/locale/es/LC_MESSAGES/mednafen.mo
 share/locale/ru/LC_MESSAGES/mednafen.mo

Index: pkgsrc/emulators/mednafen/distinfo
diff -u pkgsrc/emulators/mednafen/distinfo:1.16 pkgsrc/emulators/mednafen/distinfo:1.17
--- pkgsrc/emulators/mednafen/distinfo:1.16     Fri Feb 17 17:02:45 2017
+++ pkgsrc/emulators/mednafen/distinfo  Tue Dec 18 17:08:20 2018
@@ -1,13 +1,6 @@
-$NetBSD: distinfo,v 1.16 2017/02/17 17:02:45 joerg Exp $
+$NetBSD: distinfo,v 1.17 2018/12/18 17:08:20 nia Exp $
 
-SHA1 (mednafen-0.8.D.3.tar.bz2) = b19b92101853cb653506456fd8ab1c0bb0b6e636
-RMD160 (mednafen-0.8.D.3.tar.bz2) = 546f49a9541ba4d0367fe682aef23cdadf3d7325
-SHA512 (mednafen-0.8.D.3.tar.bz2) = 40c47554ae42025640c754fe4a578f5b6e1adb623418126adca587b2795ae4e6581d6d96ffa497849706a1ea4d11f9962c44df2040ead788670e6314d8a9b7e7
-Size (mednafen-0.8.D.3.tar.bz2) = 2442705 bytes
-SHA1 (patch-src_cdrom_cdromfile.cpp) = 870e5563cc2a0d69826cc8931305aa982303aaf0
-SHA1 (patch-src_file.cpp) = 471e1bbbdd0ca7bf0648810dd16875ab3c70c97f
-SHA1 (patch-src_mempatcher.cpp) = 43fbb9d00948f485dd61594f10a91fc28fdb84eb
-SHA1 (patch-src_nes_ines.cpp) = e9d3a8c151ffe5e21ad5ddef64a7ba4b95e2b851
-SHA1 (patch-src_psf.cpp) = e3e60fd90cbcb0d5dac32e5ab9bfb71f94a879f1
-SHA1 (patch-src_settings.cpp) = a69cea82eb722418ce2757c37d876bb99b04dfce
-SHA1 (patch-src_wswan_dis_opcodes_inc) = 547ad7a0a7943f1697e64a9607429211fc62fd56
+SHA1 (mednafen-1.21.3.tar.xz) = ef8d247d5259f8189609fd497563f01f706f9521
+RMD160 (mednafen-1.21.3.tar.xz) = c50108cb362c48587265782ff7f6bcd03bf56a93
+SHA512 (mednafen-1.21.3.tar.xz) = 987c14edae68901f8a693c9f7317063daf4274bb0b650ed05cd01cf4ceb38d76e6ff5446c324447f73727096c74d0bf7f545cdeadfb6291d67656d659de26715
+Size (mednafen-1.21.3.tar.xz) = 3208956 bytes

Added files:

Index: pkgsrc/emulators/mednafen/options.mk
diff -u /dev/null pkgsrc/emulators/mednafen/options.mk:1.1
--- /dev/null   Tue Dec 18 17:08:21 2018
+++ pkgsrc/emulators/mednafen/options.mk        Tue Dec 18 17:08:20 2018
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2018/12/18 17:08:20 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.mednafen
+
+PKG_SUPPORTED_OPTIONS+=                alsa jack
+PKG_SUGGESTED_OPTIONS.Linux+=  alsa
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+=       --enable-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-alsa
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+=       --enable-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-jack
+.endif



Home | Main Index | Thread Index | Old Index