summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-08-11 00:32:25 +0000
committernia <nia@pkgsrc.org>2018-08-11 00:32:25 +0000
commitf3cc5cd977290154340b9532f31e8311d9542815 (patch)
tree5b1d5c006a3407d34f21c461b74943014bff9cf6
parent0110c90f6a2a7e86f385664ad224d7b2ea2c8c55 (diff)
downloadpkgsrc-f3cc5cd977290154340b9532f31e8311d9542815.tar.gz
emulators/libretro-beetle-ngp: Import libretro-beetle-ngp-20180720
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. This package contains the Mednafen Neo Geo Pocket emulator for Libretro (based on NeoPop).
-rw-r--r--emulators/Makefile3
-rw-r--r--emulators/libretro-beetle-ngp/DESCR8
-rw-r--r--emulators/libretro-beetle-ngp/Makefile31
-rw-r--r--emulators/libretro-beetle-ngp/PLIST2
-rw-r--r--emulators/libretro-beetle-ngp/distinfo6
5 files changed, 49 insertions, 1 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 600a6fac0a9..9355343b2e1 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.262 2018/08/11 00:19:58 nia Exp $
+# $NetBSD: Makefile,v 1.263 2018/08/11 00:32:25 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -88,6 +88,7 @@ SUBDIR+= kegs
SUBDIR+= keystone
SUBDIR+= klh10
SUBDIR+= libdsk
+SUBDIR+= libretro-beetle-ngp
SUBDIR+= libretro-beetle-pce-fast
SUBDIR+= libretro-beetle-psx
SUBDIR+= libretro-core-info
diff --git a/emulators/libretro-beetle-ngp/DESCR b/emulators/libretro-beetle-ngp/DESCR
new file mode 100644
index 00000000000..7f0d3146e4b
--- /dev/null
+++ b/emulators/libretro-beetle-ngp/DESCR
@@ -0,0 +1,8 @@
+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.
+
+This package contains the Mednafen Neo Geo Pocket emulator for Libretro (based
+on NeoPop).
diff --git a/emulators/libretro-beetle-ngp/Makefile b/emulators/libretro-beetle-ngp/Makefile
new file mode 100644
index 00000000000..f0cae1c058c
--- /dev/null
+++ b/emulators/libretro-beetle-ngp/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2018/08/11 00:32:25 nia Exp $
+
+DISTNAME= libretro-beetle-ngp-20180720
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT= beetle-ngp-libretro
+GITHUB_TAG= 69293c940ca27008ab2a1e37cc3077c677b36d1e
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/beetle_neopop/
+COMMENT= Libretro core based on the Mednafen Neo Geo Pocket emulator
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DMSB_FIRST
+.endif
+
+BUILD_MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/mednafen_ngp_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/mednafen_ngp_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-beetle-ngp/PLIST b/emulators/libretro-beetle-ngp/PLIST
new file mode 100644
index 00000000000..579c51b3748
--- /dev/null
+++ b/emulators/libretro-beetle-ngp/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/11 00:32:25 nia Exp $
+lib/libretro/mednafen_ngp_libretro.so
diff --git a/emulators/libretro-beetle-ngp/distinfo b/emulators/libretro-beetle-ngp/distinfo
new file mode 100644
index 00000000000..73592be8287
--- /dev/null
+++ b/emulators/libretro-beetle-ngp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/11 00:32:25 nia Exp $
+
+SHA1 (libretro-beetle-ngp-20180720-69293c940ca27008ab2a1e37cc3077c677b36d1e.tar.gz) = 742bed4eaf31e39711437e06a7341f5df4794b1e
+RMD160 (libretro-beetle-ngp-20180720-69293c940ca27008ab2a1e37cc3077c677b36d1e.tar.gz) = 996fceb31f2ddaad51ab63d4ee72b41005ba6148
+SHA512 (libretro-beetle-ngp-20180720-69293c940ca27008ab2a1e37cc3077c677b36d1e.tar.gz) = f845ed786c5f2103fccd71d8d206098af070c4da7082cd7412e0ee39e6494d27b2a7c0261c0e1b33a2b340bf64c25dc7b05dd271c75279d33ed281e515ad508a
+Size (libretro-beetle-ngp-20180720-69293c940ca27008ab2a1e37cc3077c677b36d1e.tar.gz) = 180743 bytes