summaryrefslogtreecommitdiff
path: root/emulators/libretro-beetle-sgx
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-08-13 00:54:25 +0000
committernia <nia@pkgsrc.org>2018-08-13 00:54:25 +0000
commitf28c102ee0c42129821222cf6afa1824cd192302 (patch)
treeb588a0e8ceeb147606859dfadce04091109b102c /emulators/libretro-beetle-sgx
parent037482ce4f55be327b4a1b28f595316076f0fa22 (diff)
downloadpkgsrc-f28c102ee0c42129821222cf6afa1824cd192302.tar.gz
libretro-beetle-sgx: add version 20180512.
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. Beetle/Mednafen SGX is a NEC PC Engine SuperGrafx video game system emulator that can be used as a libretro core.
Diffstat (limited to 'emulators/libretro-beetle-sgx')
-rw-r--r--emulators/libretro-beetle-sgx/DESCR8
-rw-r--r--emulators/libretro-beetle-sgx/Makefile33
-rw-r--r--emulators/libretro-beetle-sgx/PLIST2
-rw-r--r--emulators/libretro-beetle-sgx/distinfo6
4 files changed, 49 insertions, 0 deletions
diff --git a/emulators/libretro-beetle-sgx/DESCR b/emulators/libretro-beetle-sgx/DESCR
new file mode 100644
index 00000000000..7926b3af742
--- /dev/null
+++ b/emulators/libretro-beetle-sgx/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.
+
+Beetle/Mednafen SGX is a NEC PC Engine SuperGrafx video game system emulator
+that can be used as a libretro core.
diff --git a/emulators/libretro-beetle-sgx/Makefile b/emulators/libretro-beetle-sgx/Makefile
new file mode 100644
index 00000000000..788285c0c3f
--- /dev/null
+++ b/emulators/libretro-beetle-sgx/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2018/08/13 00:54:25 nia Exp $
+
+DISTNAME= libretro-beetle-sgx-20180512
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT= beetle-supergrafx-libretro
+GITHUB_TAG= 0d4d96428073f8734e80a2ebc157daa228babe51
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/beetle_sgx/
+COMMENT= Libretro core based on the Mednafen SuperGrafx emulator
+LICENSE= gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+
+MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DMSB_FIRST
+CFLAGS+= -DBYTE_ORDER=BIG_ENDIAN
+.endif
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/mednafen_supergrafx_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/mednafen_supergrafx_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-beetle-sgx/PLIST b/emulators/libretro-beetle-sgx/PLIST
new file mode 100644
index 00000000000..28c0dbbc3b6
--- /dev/null
+++ b/emulators/libretro-beetle-sgx/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/13 00:54:25 nia Exp $
+lib/libretro/mednafen_supergrafx_libretro.so
diff --git a/emulators/libretro-beetle-sgx/distinfo b/emulators/libretro-beetle-sgx/distinfo
new file mode 100644
index 00000000000..788d3220092
--- /dev/null
+++ b/emulators/libretro-beetle-sgx/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/13 00:54:25 nia Exp $
+
+SHA1 (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = c0426ecdbeddda70b49e2a5dabe52b5931d60b0c
+RMD160 (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = f1fa8282647e97d692a419d866ed483cba007031
+SHA512 (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = 6c8860b102c678b70f4eb41dc177b10a0db2e0ff59ef4168f35ab7c5b2c42258ef588925f89cdd970a2b1498731f9baa7790c0bf3368fb93db9a8d66deb9e757
+Size (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = 1140484 bytes