summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-02 13:25:45 +0000
committernia <nia@pkgsrc.org>2020-06-02 13:25:45 +0000
commitc15cd078f307d9e09a9f46dd1b37b089887454bf (patch)
tree2536f71526e86c4f2b903a01e40e9f150220ee89 /emulators
parentaab1a2ebcca29da2ade2b052cc8583ee1d1c8be1 (diff)
downloadpkgsrc-c15cd078f307d9e09a9f46dd1b37b089887454bf.tar.gz
emulators: add libretro-gearboy
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. Gearboy is a cross-platform Game Boy / GameBoy Color emulator written in C++.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile3
-rw-r--r--emulators/libretro-gearboy/DESCR7
-rw-r--r--emulators/libretro-gearboy/Makefile19
-rw-r--r--emulators/libretro-gearboy/PLIST2
4 files changed, 30 insertions, 1 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 95c40d0875a..e909f96680a 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.325 2020/06/02 13:25:00 nia Exp $
+# $NetBSD: Makefile,v 1.326 2020/06/02 13:25:45 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -114,6 +114,7 @@ SUBDIR+= libretro-flycast
SUBDIR+= libretro-freeintv
SUBDIR+= libretro-fuse
SUBDIR+= libretro-gambatte
+SUBDIR+= libretro-gearboy
SUBDIR+= libretro-genesis-plus-gx
SUBDIR+= libretro-mame2010
SUBDIR+= libretro-mgba
diff --git a/emulators/libretro-gearboy/DESCR b/emulators/libretro-gearboy/DESCR
new file mode 100644
index 00000000000..7cadcbee95d
--- /dev/null
+++ b/emulators/libretro-gearboy/DESCR
@@ -0,0 +1,7 @@
+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.
+
+Gearboy is a cross-platform Game Boy / GameBoy Color emulator written in C++.
diff --git a/emulators/libretro-gearboy/Makefile b/emulators/libretro-gearboy/Makefile
new file mode 100644
index 00000000000..9d87ad456eb
--- /dev/null
+++ b/emulators/libretro-gearboy/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/06/02 13:25:45 nia Exp $
+
+LIBRETRO_CORE= gearboy
+
+.include "../../emulators/gearboy/Makefile.common"
+.include "../../emulators/retroarch/core.mk"
+
+PKGNAME= libretro-${DISTNAME}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/gearboy/
+COMMENT= Libretro core based on the Gearboy Game Boy emlator
+LICENSE= gnu-gpl-v3
+
+BUILD_DIRS= platforms/libretro
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=./link.T
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-gearboy/PLIST b/emulators/libretro-gearboy/PLIST
new file mode 100644
index 00000000000..32401e38c14
--- /dev/null
+++ b/emulators/libretro-gearboy/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/02 13:25:45 nia Exp $
+lib/libretro/gearboy_libretro.${SOEXT}