pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/mednafen emulators/mednafen: Update to 1.21.3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c2c3d31b8805
branches: trunk
changeset: 316793:c2c3d31b8805
user: nia <nia%pkgsrc.org@localhost>
date: Tue Dec 18 17:08:20 2018 +0000
description:
emulators/mednafen: Update to 1.21.3.
Package's changelog does not go that far back.
diffstat:
emulators/mednafen/DESCR | 35 ++-
emulators/mednafen/Makefile | 30 +--
emulators/mednafen/PLIST | 23 ++-
emulators/mednafen/distinfo | 17 +-
emulators/mednafen/options.mk | 22 ++
emulators/mednafen/patches/patch-src_cdrom_cdromfile.cpp | 13 -
emulators/mednafen/patches/patch-src_file.cpp | 31 ---
emulators/mednafen/patches/patch-src_mempatcher.cpp | 31 ---
emulators/mednafen/patches/patch-src_nes_ines.cpp | 13 -
emulators/mednafen/patches/patch-src_psf.cpp | 13 -
emulators/mednafen/patches/patch-src_settings.cpp | 13 -
emulators/mednafen/patches/patch-src_wswan_dis_opcodes_inc | 117 -------------
12 files changed, 81 insertions(+), 277 deletions(-)
diffs (truncated from 438 to 300 lines):
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/DESCR
--- a/emulators/mednafen/DESCR Tue Dec 18 16:54:24 2018 +0000
+++ b/emulators/mednafen/DESCR Tue Dec 18 17:08:20 2018 +0000
@@ -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.
+
+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.
-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 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
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/Makefile
--- a/emulators/mednafen/Makefile Tue Dec 18 16:54:24 2018 +0000
+++ b/emulators/mednafen/Makefile Tue Dec 18 17:08:20 2018 +0000
@@ -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_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"
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/PLIST
--- a/emulators/mednafen/PLIST Tue Dec 18 16:54:24 2018 +0000
+++ b/emulators/mednafen/PLIST Tue Dec 18 17:08:20 2018 +0000
@@ -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
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/distinfo
--- a/emulators/mednafen/distinfo Tue Dec 18 16:54:24 2018 +0000
+++ b/emulators/mednafen/distinfo Tue Dec 18 17:08:20 2018 +0000
@@ -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
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/mednafen/options.mk Tue Dec 18 17:08:20 2018 +0000
@@ -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
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/patches/patch-src_cdrom_cdromfile.cpp
--- a/emulators/mednafen/patches/patch-src_cdrom_cdromfile.cpp Tue Dec 18 16:54:24 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_cdrom_cdromfile.cpp,v 1.1 2016/12/17 14:24:37 joerg Exp $
-
---- src/cdrom/cdromfile.cpp.orig 2016-12-15 14:22:07.554338091 +0000
-+++ src/cdrom/cdromfile.cpp
-@@ -410,7 +410,7 @@ CDRFile *cdrfile_open(const char *path)
- CDRFILE_TRACK_INFO TmpTrack;
- memset(&TmpTrack, 0, sizeof(TmpTrack));
-
-- while(fgets(linebuf, 512, fp) > 0)
-+ while(fgets(linebuf, 512, fp))
- {
- char cmdbuf[512], raw_args[512], args[4][512];
- int argcount = 0;
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/patches/patch-src_file.cpp
--- a/emulators/mednafen/patches/patch-src_file.cpp Tue Dec 18 16:54:24 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-src_file.cpp,v 1.1 2017/02/17 17:02:45 joerg Exp $
-
---- src/file.cpp.orig 2017-02-17 15:57:45.217686812 +0000
-+++ src/file.cpp
-@@ -229,7 +229,7 @@ static MDFNFILE *MakeMemWrap(void *tz, i
- goto doret;
- }
-
-- while((howmany = gzread(tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0)
-+ while((howmany = gzread((gzFile)tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0)
- {
- cur_size += howmany;
- cur_alloced <<= 1;
-@@ -282,7 +282,7 @@ static MDFNFILE *MakeMemWrap(void *tz, i
- }
- else if(type == MDFN_FILETYPE_GZIP)
- {
-- gzclose(tz);
-+ gzclose((gzFile)tz);
- }
- else if(type == MDFN_FILETYPE_ZIP)
- {
-@@ -444,7 +444,7 @@ MDFNFILE * MDFN_fopen(const char *path,
-
- if(!(fceufp = MakeMemWrap(t, 1)))
- {
-- gzclose(t);
-+ gzclose((gzFile)t);
- return(0);
- }
-
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/patches/patch-src_mempatcher.cpp
--- a/emulators/mednafen/patches/patch-src_mempatcher.cpp Tue Dec 18 16:54:24 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-src_mempatcher.cpp,v 1.1 2016/12/17 14:24:37 joerg Exp $
-
---- src/mempatcher.cpp.orig 2016-12-15 14:21:04.855680936 +0000
-+++ src/mempatcher.cpp
-@@ -191,7 +191,7 @@ static bool SeekToOurSection(FILE *fp) /
- {
- char buf[2048];
-
-- while(fgets(buf,2048,fp) > 0)
-+ while(fgets(buf,2048,fp))
- {
- if(buf[0] == '[')
- {
-@@ -243,7 +243,7 @@ void MDFN_LoadGameCheats(FILE *override)
-
- if(SeekToOurSection(fp))
- {
-- while(fgets(linebuf,2048,fp) > 0)
-+ while(fgets(linebuf,2048,fp))
- {
- char namebuf[2048];
- char *tbuf=linebuf;
-@@ -382,7 +382,7 @@ void MDFN_FlushGameCheats(int nosave)
- {
- FILE *tmp_fp = fopen(tmp_fn.c_str(), "wb");
-
-- while(fgets((char*)linebuf, 2048, fp) > 0)
-+ while(fgets((char*)linebuf, 2048, fp))
- {
- if(linebuf[0] == '[' && !insection)
- {
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/patches/patch-src_nes_ines.cpp
--- a/emulators/mednafen/patches/patch-src_nes_ines.cpp Tue Dec 18 16:54:24 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_nes_ines.cpp,v 1.1 2016/12/17 14:24:37 joerg Exp $
-
---- src/nes/ines.cpp.orig 2016-12-15 14:08:23.897104355 +0000
-+++ src/nes/ines.cpp
-@@ -323,7 +323,7 @@ static void SetInput(void)
- };
- int x=0;
-
-- while(moo[x].input1 > 0 || moo[x].input2 > 0 || moo[x].inputfc > 0)
-+ while(moo[x].input1 || moo[x].input2 || moo[x].inputfc)
- {
- if(moo[x].crc32==iNESGameCRC32)
- {
diff -r 31cd853c7360 -r c2c3d31b8805 emulators/mednafen/patches/patch-src_psf.cpp
--- a/emulators/mednafen/patches/patch-src_psf.cpp Tue Dec 18 16:54:24 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_psf.cpp,v 1.1 2016/12/17 14:24:37 joerg Exp $
-
---- src/psf.cpp.orig 2016-12-15 14:21:49.256613383 +0000
-+++ src/psf.cpp
-@@ -225,7 +225,7 @@ static PSFINFO *LoadPSF(void (*datafunc)
- {
- char linebuf[1024];
-
-- while(MDFN_fgets(linebuf,1024,fp)>0)
-+ while(MDFN_fgets(linebuf,1024,fp))
- {
- int x;
- char *key=0,*value=0;
Home |
Main Index |
Thread Index |
Old Index