summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-08-13 16:34:07 +0000
committernia <nia@pkgsrc.org>2018-08-13 16:34:07 +0000
commit499552b5f6aa78a46aa6a464b8c85b5a437dddce (patch)
tree565685ff755094a0d8e3bad675ad3c6197a587c8
parent2a6e9daa0d370943c7f88135ebd4e04f6b1ec963 (diff)
downloadpkgsrc-499552b5f6aa78a46aa6a464b8c85b5a437dddce.tar.gz
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.
-rw-r--r--emulators/Makefile3
-rw-r--r--emulators/libretro-bluemsx/DESCR9
-rw-r--r--emulators/libretro-bluemsx/MESSAGE17
-rw-r--r--emulators/libretro-bluemsx/Makefile39
-rw-r--r--emulators/libretro-bluemsx/PLIST2
-rw-r--r--emulators/libretro-bluemsx/distinfo6
6 files changed, 75 insertions, 1 deletions
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