From 499552b5f6aa78a46aa6a464b8c85b5a437dddce Mon Sep 17 00:00:00 2001 From: nia Date: Mon, 13 Aug 2018 16:34:07 +0000 Subject: libretro-bluemsx: add version 20180811. Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. blueMSX is a cycle accurate emulator for MSX, MSX2, MSX2+, and MSX TurboR-based home computers as well as the ColecoVision and Sega SG-1000 video game systems. --- emulators/Makefile | 3 ++- emulators/libretro-bluemsx/DESCR | 9 +++++++++ emulators/libretro-bluemsx/MESSAGE | 17 ++++++++++++++++ emulators/libretro-bluemsx/Makefile | 39 +++++++++++++++++++++++++++++++++++++ emulators/libretro-bluemsx/PLIST | 2 ++ emulators/libretro-bluemsx/distinfo | 6 ++++++ 6 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 emulators/libretro-bluemsx/DESCR create mode 100644 emulators/libretro-bluemsx/MESSAGE create mode 100644 emulators/libretro-bluemsx/Makefile create mode 100644 emulators/libretro-bluemsx/PLIST create mode 100644 emulators/libretro-bluemsx/distinfo diff --git a/emulators/Makefile b/emulators/Makefile index 84671b829f9..5115d8f01d3 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.275 2018/08/13 14:37:25 nia Exp $ +# $NetBSD: Makefile,v 1.276 2018/08/13 16:34:07 nia Exp $ # COMMENT= Emulators for other operating systems @@ -95,6 +95,7 @@ SUBDIR+= libretro-beetle-saturn SUBDIR+= libretro-beetle-sgx SUBDIR+= libretro-beetle-vb SUBDIR+= libretro-beetle-wswan +SUBDIR+= libretro-bluemsx SUBDIR+= libretro-bsnes-mercury SUBDIR+= libretro-bsnes-mercury-accuracy SUBDIR+= libretro-bsnes-mercury-performance diff --git a/emulators/libretro-bluemsx/DESCR b/emulators/libretro-bluemsx/DESCR new file mode 100644 index 00000000000..6dd33706ef3 --- /dev/null +++ b/emulators/libretro-bluemsx/DESCR @@ -0,0 +1,9 @@ +Libretro is a simple but powerful development interface that allows for +the easy creation of emulators, games and multimedia applications that +can plug straight into any libretro-compatible frontend. This development +interface is open to others so that they can run these pluggable emulator +and game cores also in their own programs or devices. + +blueMSX is a cycle accurate emulator for MSX, MSX2, MSX2+, and MSX +TurboR-based home computers as well as the ColecoVision and Sega SG-1000 +video game systems. diff --git a/emulators/libretro-bluemsx/MESSAGE b/emulators/libretro-bluemsx/MESSAGE new file mode 100644 index 00000000000..dce5b22fa19 --- /dev/null +++ b/emulators/libretro-bluemsx/MESSAGE @@ -0,0 +1,17 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2018/08/13 16:34:07 nia Exp $ + +libretro-bluemsx requires files from the full version of standalone +blueMSX - the Machines/ and Databases/ directories. + +The zip can be downloaded here: http://bluemsx.msxblue.com/download.html + +In retroarch, you'll need to place them in the System Directory. + +Alternatively, you can place them in your Content Directory next to the +software you are going to run. + +The dsk2rom utility (available in pkgsrc) can be used to convert disk +images (.dsk files) to make them easier to run in libretro-bluemsx. + +=========================================================================== diff --git a/emulators/libretro-bluemsx/Makefile b/emulators/libretro-bluemsx/Makefile new file mode 100644 index 00000000000..3fb63328639 --- /dev/null +++ b/emulators/libretro-bluemsx/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2018/08/13 16:34:07 nia Exp $ + +DISTNAME= libretro-bluemsx-20180811 +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/} +GITHUB_PROJECT= blueMSX-libretro +GITHUB_TAG= 8ff0884d2b80d67b55ee46e3b5429ce5d5ee6538 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://docs.libretro.com/library/bluemsx/ +COMMENT= Libretro core for MSX/MSX2/ColecoVision/SVI/SG-1000 emulation +LICENSE= gnu-gpl-v2 + +EXTRACT_USING= bsdtar +MAKE_FILE= Makefile.libretro +USE_TOOLS+= gmake +USE_LANGUAGES= c c++ + +MAKE_FLAGS+= GIT_VERSION="-pkgsrc" + +.include "../../mk/bsd.prefs.mk" + +# For strcasestr +# See dc61b353c3bea0c088b3f827cfbd864460b112a0, pull/33 +.if ${OPSYS} == "NetBSD" +CFLAGS+= -D_NETBSD_SOURCE +.elif ${OPSYS} == "SunOS" +CFLAGS+= -D__EXTENSIONS__ +.elif ${OPSYS} != "Linux" +CFLAGS+= -D_GNU_SOURCE -D_BSD_SOURCE +.endif + +INSTALLATION_DIRS+= ${PREFIX}/lib/libretro + +do-install: + ${INSTALL_LIB} ${WRKSRC}/bluemsx_libretro.so \ + ${DESTDIR}${PREFIX}/lib/libretro/bluemsx_libretro.so + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/libretro-bluemsx/PLIST b/emulators/libretro-bluemsx/PLIST new file mode 100644 index 00000000000..32da47b834c --- /dev/null +++ b/emulators/libretro-bluemsx/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2018/08/13 16:34:07 nia Exp $ +lib/libretro/bluemsx_libretro.so diff --git a/emulators/libretro-bluemsx/distinfo b/emulators/libretro-bluemsx/distinfo new file mode 100644 index 00000000000..99c1b563d1f --- /dev/null +++ b/emulators/libretro-bluemsx/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/08/13 16:34:07 nia Exp $ + +SHA1 (libretro-bluemsx-20180811-8ff0884d2b80d67b55ee46e3b5429ce5d5ee6538.tar.gz) = 93d91d382d504f34070f0db2fc2a2e00a6e461af +RMD160 (libretro-bluemsx-20180811-8ff0884d2b80d67b55ee46e3b5429ce5d5ee6538.tar.gz) = 18cd8b8184a552c37094afcb28baef0c293d7cae +SHA512 (libretro-bluemsx-20180811-8ff0884d2b80d67b55ee46e3b5429ce5d5ee6538.tar.gz) = 3cd391394272611cd579a66a4439ec92f2c0cd6aad929d6d09df05b90aa44a90bb442c6bf9f979b7810885ba8ababda500e8289b90ede63d01729daf56024852 +Size (libretro-bluemsx-20180811-8ff0884d2b80d67b55ee46e3b5429ce5d5ee6538.tar.gz) = 2545009 bytes -- cgit v1.2.3