summaryrefslogtreecommitdiff
path: root/emulators/libretro-sameboy
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-08-15 15:32:11 +0000
committernia <nia@pkgsrc.org>2018-08-15 15:32:11 +0000
commit1bdfbca28d747d17c7ff49ca7d5620f5049f5510 (patch)
treea0183620e3fda7f40d654b9c42b3007c440648de /emulators/libretro-sameboy
parent1bfcb8656319e5821ed4a17f0535dc632f45cca7 (diff)
downloadpkgsrc-1bdfbca28d747d17c7ff49ca7d5620f5049f5510.tar.gz
libretro-sameboy: add version 0.11.1
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. SameBoy is an extremely accurate open source Nintendo Gameboy (DMG) and Gameboy Color (CGB) emulator, written in portable C. It features link cable emulation, and includes open source DMG and CGB boot ROMs.
Diffstat (limited to 'emulators/libretro-sameboy')
-rw-r--r--emulators/libretro-sameboy/DESCR11
-rw-r--r--emulators/libretro-sameboy/Makefile28
-rw-r--r--emulators/libretro-sameboy/PLIST2
-rw-r--r--emulators/libretro-sameboy/distinfo6
4 files changed, 47 insertions, 0 deletions
diff --git a/emulators/libretro-sameboy/DESCR b/emulators/libretro-sameboy/DESCR
new file mode 100644
index 00000000000..39f1834334f
--- /dev/null
+++ b/emulators/libretro-sameboy/DESCR
@@ -0,0 +1,11 @@
+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.
+
+SameBoy is an extremely accurate open source Nintendo Gameboy (DMG)
+and Gameboy Color (CGB) emulator, written in portable C.
+
+It features link cable emulation, and includes open source DMG and CGB
+boot ROMs.
diff --git a/emulators/libretro-sameboy/Makefile b/emulators/libretro-sameboy/Makefile
new file mode 100644
index 00000000000..87ba3114bb9
--- /dev/null
+++ b/emulators/libretro-sameboy/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2018/08/15 15:32:11 nia Exp $
+
+DISTNAME= libretro-sameboy-0.11.1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=LIJI32/}
+GITHUB_PROJECT= SameBoy
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/sameboy/
+COMMENT= Libretro core based on the SameBoy Game Boy/Game Boy Color emulator
+LICENSE= mit
+
+EXTRACT_USING= bsdtar
+BUILD_DIRS= libretro
+USE_TOOLS+= gmake
+
+BUILD_DEPENDS+= rgbds-[0-9]*:../../devel/rgbds
+
+MAKE_FLAGS+= GIT_VERSION="${PKGVERSION}-pkgsrc"
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-sameboy/PLIST b/emulators/libretro-sameboy/PLIST
new file mode 100644
index 00000000000..4282582735c
--- /dev/null
+++ b/emulators/libretro-sameboy/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/15 15:32:11 nia Exp $
+lib/libretro/sameboy_libretro.so
diff --git a/emulators/libretro-sameboy/distinfo b/emulators/libretro-sameboy/distinfo
new file mode 100644
index 00000000000..63a1ac32283
--- /dev/null
+++ b/emulators/libretro-sameboy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/15 15:32:11 nia Exp $
+
+SHA1 (libretro-sameboy-0.11.1.tar.gz) = 24fc72540732b927ba399f4d3dabc16bc8881947
+RMD160 (libretro-sameboy-0.11.1.tar.gz) = aad527582c98e690a8ccb4911d81d378a7e0cde3
+SHA512 (libretro-sameboy-0.11.1.tar.gz) = cddb399093af192df843c593cd56f5cc2fa4b61b6ab6a41fa6520670b17f991efe63b567224021c9e0b177e3b30abb2068970b646db5d403f211e97a728f6661
+Size (libretro-sameboy-0.11.1.tar.gz) = 2428875 bytes