pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libretro-gearboy: Import libretro-gearboy-20180416



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Wed May 2 16:08:42 2018 +0100
Changeset:	644010416b60469856066c7683280cf1ae4ecc6c

Added Files:
	libretro-gearboy/DESCR
	libretro-gearboy/Makefile
	libretro-gearboy/PLIST
	libretro-gearboy/distinfo

Log Message:
libretro-gearboy: Import libretro-gearboy-20180416

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 an open source, multi-platform, Nintendo Game Boy (DMG) /
Game Boy Color (CGB) emulator written in C++.

* Highly accurate CPU emulation, passes cpu_instrs.gb from blargg's tests.
* Accurate instruction and memory timing, passes instr_timing.gb and
mem_timing.gb from blargg's tests.
* Memory Bank Controllers (MBC1, MBC2, MBC3 with RTC, MBC5), ROM + RAM and
multicart cartridges.
* Accurate LCD controller emulation. Background, window and sprites, with
correct timings and priorities including mid-scanline timing.
* Mix frames: Mimics the LCD ghosting effect seen in the original Game Boy.
* Battery powered RAM save support.
* Save states.
* Game Genie and GameShark cheat support.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=644010416b60469856066c7683280cf1ae4ecc6c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libretro-gearboy/DESCR    | 20 ++++++++++++++++++++
 libretro-gearboy/Makefile | 30 ++++++++++++++++++++++++++++++
 libretro-gearboy/PLIST    |  2 ++
 libretro-gearboy/distinfo |  6 ++++++
 4 files changed, 58 insertions(+)

diffs:
diff --git a/libretro-gearboy/DESCR b/libretro-gearboy/DESCR
new file mode 100644
index 0000000000..efff92345f
--- /dev/null
+++ b/libretro-gearboy/DESCR
@@ -0,0 +1,20 @@
+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 an open source, multi-platform, Nintendo Game Boy (DMG) /
+Game Boy Color (CGB) emulator written in C++.
+
+* Highly accurate CPU emulation, passes cpu_instrs.gb from blargg's tests.
+* Accurate instruction and memory timing, passes instr_timing.gb and
+mem_timing.gb from blargg's tests.
+* Memory Bank Controllers (MBC1, MBC2, MBC3 with RTC, MBC5), ROM + RAM and
+multicart cartridges.
+* Accurate LCD controller emulation. Background, window and sprites, with
+correct timings and priorities including mid-scanline timing.
+* Mix frames: Mimics the LCD ghosting effect seen in the original Game Boy.
+* Battery powered RAM save support.
+* Save states.
+* Game Genie and GameShark cheat support.
diff --git a/libretro-gearboy/Makefile b/libretro-gearboy/Makefile
new file mode 100644
index 0000000000..2c5cbcc8f0
--- /dev/null
+++ b/libretro-gearboy/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=	libretro-gearboy-20180416
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=drhelius/}
+GITHUB_PROJECT=	Gearboy
+GITHUB_TAG=	d1b9e3fde23821376404c1211c49b8d4dec7a27c
+
+HOMEPAGE=	https://docs.libretro.com/library/gearboy/
+COMMENT=	Libretro core for the Gearboy Game Boy / Game Boy Color emulator
+LICENSE=	gnu-gpl-v3
+
+EXTRACT_USING=	bsdtar
+BUILD_DIRS=	platforms/libretro
+USE_TOOLS+=	gmake
+USE_LANGUAGES=	c c++
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+=	-DMSB_FIRST
+.endif
+
+INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
+
+do-install:
+	${INSTALL_LIB} ${WRKSRC}/platforms/libretro/gearboy_libretro.so \
+	    ${DESTDIR}${PREFIX}/lib/libretro/gearboy_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libretro-gearboy/PLIST b/libretro-gearboy/PLIST
new file mode 100644
index 0000000000..2751883587
--- /dev/null
+++ b/libretro-gearboy/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/libretro/gearboy_libretro.so
diff --git a/libretro-gearboy/distinfo b/libretro-gearboy/distinfo
new file mode 100644
index 0000000000..ce6c330933
--- /dev/null
+++ b/libretro-gearboy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libretro-gearboy-20180416-d1b9e3fde23821376404c1211c49b8d4dec7a27c.tar.gz) = 57475a2282062c8c86359493749a8185f44b0117
+RMD160 (libretro-gearboy-20180416-d1b9e3fde23821376404c1211c49b8d4dec7a27c.tar.gz) = 1925c84ea60b95457914d1b953a367d163435a10
+SHA512 (libretro-gearboy-20180416-d1b9e3fde23821376404c1211c49b8d4dec7a27c.tar.gz) = 65f8ce00de52b641062db77896fd92de94fd08384031b1ccede590b920f6b9eedba628cd09c3b43bb0ce98b63d1d4e274259b2bec0f039fe3f9aabbc6b0648df
+Size (libretro-gearboy-20180416-d1b9e3fde23821376404c1211c49b8d4dec7a27c.tar.gz) = 15273116 bytes


Home | Main Index | Thread Index | Old Index