pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators
Module Name: pkgsrc
Committed By: nia
Date: Sun Jun 9 13:58:08 UTC 2019
Modified Files:
pkgsrc/emulators: Makefile
Added Files:
pkgsrc/emulators/blastem: DESCR MESSAGE.NetBSD Makefile PLIST distinfo
pkgsrc/emulators/blastem/files: blastem.desktop
pkgsrc/emulators/blastem/patches: patch-Makefile
Log Message:
blastem: Add emulators/blastem version 0.6.2
BlastEm is an open source, higly accurate emulator for the
Genesis/Megadrive that runs on modest hardware.
Features:
* Save states
* Integrated debugger
* GDB remote debugging
* Joystick/gamepad support
* Mega/Sega Mouse emulation
* XBAND and Saturn keyboard emulation
* Support for homebrew using the SSF2 mapper with Mega Everdrive
compatible heuristics
* Save RAM and EEPROM support
* Cartridge lock-on for both Sonic & Knuckles and XBAND
* Turbo and slow modes
* configurable low pass filter
* Single pass GLSL shaders
* Sega Master System emulation
To generate a diff of this commit:
cvs rdiff -u -r1.296 -r1.297 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/blastem/DESCR \
pkgsrc/emulators/blastem/MESSAGE.NetBSD pkgsrc/emulators/blastem/Makefile \
pkgsrc/emulators/blastem/PLIST pkgsrc/emulators/blastem/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/blastem/files/blastem.desktop
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/blastem/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.296 pkgsrc/emulators/Makefile:1.297
--- pkgsrc/emulators/Makefile:1.296 Sat Jun 8 22:46:03 2019
+++ pkgsrc/emulators/Makefile Sun Jun 9 13:58:08 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.296 2019/06/08 22:46:03 nia Exp $
+# $NetBSD: Makefile,v 1.297 2019/06/09 13:58:08 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -20,6 +20,7 @@ SUBDIR+= arcem
SUBDIR+= arnold
SUBDIR+= atari800
SUBDIR+= b-em
+SUBDIR+= blastem
SUBDIR+= blinkensim
SUBDIR+= bochs
SUBDIR+= ckmame
Added files:
Index: pkgsrc/emulators/blastem/DESCR
diff -u /dev/null pkgsrc/emulators/blastem/DESCR:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/DESCR Sun Jun 9 13:58:08 2019
@@ -0,0 +1,19 @@
+BlastEm is an open source, higly accurate emulator for the
+Genesis/Megadrive that runs on modest hardware.
+
+Features:
+
+* Save states
+* Integrated debugger
+* GDB remote debugging
+* Joystick/gamepad support
+* Mega/Sega Mouse emulation
+* XBAND and Saturn keyboard emulation
+* Support for homebrew using the SSF2 mapper with Mega Everdrive
+ compatible heuristics
+* Save RAM and EEPROM support
+* Cartridge lock-on for both Sonic & Knuckles and XBAND
+* Turbo and slow modes
+* configurable low pass filter
+* Single pass GLSL shaders
+* Sega Master System emulation
Index: pkgsrc/emulators/blastem/MESSAGE.NetBSD
diff -u /dev/null pkgsrc/emulators/blastem/MESSAGE.NetBSD:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/MESSAGE.NetBSD Sun Jun 9 13:58:08 2019
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1 2019/06/09 13:58:08 nia Exp $
+
+Lowering the system audio latency (or blk_ms) with sysctl(8) may be
+required to achieve full performance and framerates.
+
+===========================================================================
Index: pkgsrc/emulators/blastem/Makefile
diff -u /dev/null pkgsrc/emulators/blastem/Makefile:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/Makefile Sun Jun 9 13:58:08 2019
@@ -0,0 +1,88 @@
+# $NetBSD: Makefile,v 1.1 2019/06/09 13:58:08 nia Exp $
+
+DISTNAME= 8aeac7bd9fa7
+PKGNAME= blastem-0.6.2
+CATEGORIES= emulators
+MASTER_SITES= https://www.retrodev.com/repos/blastem/archive/
+DIST_SUBDIR= blastem
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://www.retrodev.com/blastem/
+COMMENT= Higly accurate Genesis/Mega Drive emulator
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/blastem-${DISTNAME}
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c99
+
+MAKE_FLAGS+= HOST_ZLIB=1
+MAKE_FLAGS+= OPT=
+MAKE_FLAGS+= NOLTO=1
+MAKE_FLAGS+= DATA_PATH=${PREFIX}/share/blastem
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/applications
+INSTALLATION_DIRS+= share/blastem
+INSTALLATION_DIRS+= share/blastem/images
+INSTALLATION_DIRS+= share/blastem/shaders
+INSTALLATION_DIRS+= share/doc/blastem
+INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps
+INSTALLATION_DIRS+= share/icons/hicolor/72x72/apps
+INSTALLATION_DIRS+= share/icons/hicolor/96x96/apps
+INSTALLATION_DIRS+= share/icons/hicolor/144x144/apps
+
+# wants to use a JIT
+NOT_PAX_MPROTECT_SAFE+= bin/blastem
+
+# only supports writing 64-bit and 32-bit x86 asm
+# may support ARM in future
+ONLY_FOR_PLATFORM= *-*-x86_64 *-*-i386
+
+pre-configure:
+ ${CP} ${FILESDIR}/blastem.desktop ${WRKDIR}/blastem.desktop
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dis \
+ ${DESTDIR}${PREFIX}/bin/blastem-dis
+ ${INSTALL_PROGRAM} ${WRKSRC}/zdis \
+ ${DESTDIR}${PREFIX}/bin/blastem-zdis
+ ${INSTALL_PROGRAM} ${WRKSRC}/stateview \
+ ${DESTDIR}${PREFIX}/bin/blastem-stateview
+ ${INSTALL_PROGRAM} ${WRKSRC}/vgmplay \
+ ${DESTDIR}${PREFIX}/bin/blastem-vgmplay
+ ${INSTALL_PROGRAM} ${WRKSRC}/blastem \
+ ${DESTDIR}${PREFIX}/bin/blastem
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/blastem/README
+ ${INSTALL_DATA} ${WRKSRC}/COPYING \
+ ${DESTDIR}${PREFIX}/share/doc/blastem/COPYING
+ ${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
+ ${DESTDIR}${PREFIX}/share/doc/blastem/CHANGELOG
+ ${INSTALL_DATA} ${WRKSRC}/default.cfg \
+ ${DESTDIR}${PREFIX}/share/blastem/default.cfg
+ ${INSTALL_DATA} ${WRKSRC}/gamecontrollerdb.txt \
+ ${DESTDIR}${PREFIX}/share/blastem/gamecontrollerdb.txt
+ ${INSTALL_DATA} ${WRKSRC}/shaders/* \
+ ${DESTDIR}${PREFIX}/share/blastem/shaders
+ ${INSTALL_DATA} ${WRKSRC}/images/* \
+ ${DESTDIR}${PREFIX}/share/blastem/images
+ ${INSTALL_DATA} ${WRKSRC}/rom.db \
+ ${DESTDIR}${PREFIX}/share/blastem/rom.db
+ ${INSTALL_DATA} ${WRKSRC}/android/res/drawable-mdpi/ic_launcher.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/blastem.png
+ ${INSTALL_DATA} ${WRKSRC}/android/res/drawable-hdpi/ic_launcher.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/72x72/apps/blastem.png
+ ${INSTALL_DATA} ${WRKSRC}/android/res/drawable-xhdpi/ic_launcher.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/96x96/apps/blastem.png
+ ${INSTALL_DATA} ${WRKSRC}/android/res/drawable-xxhdpi/ic_launcher.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/144x144/apps/blastem.png
+ ${INSTALL_DATA} ${WRKDIR}/blastem.desktop \
+ ${DESTDIR}${PREFIX}/share/applications/blastem.desktop
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/blastem/PLIST
diff -u /dev/null pkgsrc/emulators/blastem/PLIST:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/PLIST Sun Jun 9 13:58:08 2019
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/09 13:58:08 nia Exp $
+bin/blastem
+bin/blastem-dis
+bin/blastem-stateview
+bin/blastem-vgmplay
+bin/blastem-zdis
+share/applications/blastem.desktop
+share/blastem/default.cfg
+share/blastem/gamecontrollerdb.txt
+share/blastem/images/360.png
+share/blastem/images/ps4.png
+share/blastem/images/ps4_6b.png
+share/blastem/rom.db
+share/blastem/shaders/crt.f.glsl
+share/blastem/shaders/crt.v.glsl
+share/blastem/shaders/default.f.glsl
+share/blastem/shaders/default.v.glsl
+share/doc/blastem/CHANGELOG
+share/doc/blastem/COPYING
+share/doc/blastem/README
+share/icons/hicolor/144x144/apps/blastem.png
+share/icons/hicolor/48x48/apps/blastem.png
+share/icons/hicolor/72x72/apps/blastem.png
+share/icons/hicolor/96x96/apps/blastem.png
Index: pkgsrc/emulators/blastem/distinfo
diff -u /dev/null pkgsrc/emulators/blastem/distinfo:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/distinfo Sun Jun 9 13:58:08 2019
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/06/09 13:58:08 nia Exp $
+
+SHA1 (blastem/8aeac7bd9fa7.tar.gz) = 1953ebfd0eaf5e5630ff5488779eb8e6bb8fe9bf
+RMD160 (blastem/8aeac7bd9fa7.tar.gz) = f9d20a2f4211d03eb2278dcdcd36a8afb1e939e0
+SHA512 (blastem/8aeac7bd9fa7.tar.gz) = dec0d0c49cec9f896884b93c6ec568eb88d8ae51ddcf93445a70e9ad6543ef92c34fcdf14e66b56de1805dc5876d1ff17e51ab79d8d894da51312a42ac1c36d3
+Size (blastem/8aeac7bd9fa7.tar.gz) = 1113490 bytes
+SHA1 (patch-Makefile) = 1635e72bb90227b5fbfc32fe43bd5552ca48fb64
Index: pkgsrc/emulators/blastem/files/blastem.desktop
diff -u /dev/null pkgsrc/emulators/blastem/files/blastem.desktop:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/files/blastem.desktop Sun Jun 9 13:58:08 2019
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=BlastEm
+GenericName=Mega Drive Emulator
+Comment=Emulator for the Genesis / Mega Drive
+Icon=blastem
+Exec=blastem
+Terminal=false
+Categories=Game;Emulator;
Index: pkgsrc/emulators/blastem/patches/patch-Makefile
diff -u /dev/null pkgsrc/emulators/blastem/patches/patch-Makefile:1.1
--- /dev/null Sun Jun 9 13:58:08 2019
+++ pkgsrc/emulators/blastem/patches/patch-Makefile Sun Jun 9 13:58:08 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2019/06/09 13:58:08 nia Exp $
+
+Do not use -Werror or override CFLAGS.
+
+--- Makefile.orig 2019-03-28 06:34:53.000000000 +0000
++++ Makefile
+@@ -36,7 +36,7 @@ NET:=net.o
+ EXE:=
+
+ HAS_PROC:=$(shell if [ -d /proc ]; then /bin/echo -e -DHAS_PROC; fi)
+-CFLAGS:=-std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value $(HAS_PROC) -DHAVE_UNISTD_H
++CFLAGS+=-std=gnu99 -Wreturn-type -Wno-unused-value $(HAS_PROC) -DHAVE_UNISTD_H
+
+ ifeq ($(OS),Darwin)
+ LIBS=sdl2 glew
Home |
Main Index |
Thread Index |
Old Index