summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-10-13 17:58:08 +0000
committernia <nia@pkgsrc.org>2018-10-13 17:58:08 +0000
commitbec126fb19296922b8c8bbfb06cc9118c4884264 (patch)
treed25c23c9fc1cef5ecd75b348459fa936d8f61f88 /emulators
parent9770334b5db9ac575fbeea60ed870a01900eca08 (diff)
downloadpkgsrc-bec126fb19296922b8c8bbfb06cc9118c4884264.tar.gz
libretro-cap32: import version 20180827
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. Caprice32 is a software emulator of the Amstrad CPC 8-bit home computer series. The emulator faithfully imitates the CPC464, CPC664, and CPC6128 models. By recreating the operations of all hardware components at a low level, the emulator achieves a high degree of compatibility with original CPC software. These programs or games can be run unmodified at real-time or higher speeds, depending on the emulator host environment. It is recommended that users enable "autorun" in the Core Options in the RetroArch F1 menu after selecting a disk image for the first time, then restart the core to load it. A virtual keyboard can be toggled by pressing the virtual "Y" button.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile3
-rw-r--r--emulators/libretro-cap32/DESCR18
-rw-r--r--emulators/libretro-cap32/Makefile32
-rw-r--r--emulators/libretro-cap32/PLIST2
-rw-r--r--emulators/libretro-cap32/distinfo6
5 files changed, 60 insertions, 1 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 399253dca33..ca1635f62f8 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.286 2018/10/13 17:02:16 nia Exp $
+# $NetBSD: Makefile,v 1.287 2018/10/13 17:58:08 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -99,6 +99,7 @@ SUBDIR+= libretro-bluemsx
SUBDIR+= libretro-bsnes-mercury
SUBDIR+= libretro-bsnes-mercury-accuracy
SUBDIR+= libretro-bsnes-mercury-performance
+SUBDIR+= libretro-cap32
SUBDIR+= libretro-core-info
SUBDIR+= libretro-database
SUBDIR+= libretro-desmume
diff --git a/emulators/libretro-cap32/DESCR b/emulators/libretro-cap32/DESCR
new file mode 100644
index 00000000000..c7f64ac032b
--- /dev/null
+++ b/emulators/libretro-cap32/DESCR
@@ -0,0 +1,18 @@
+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.
+
+Caprice32 is a software emulator of the Amstrad CPC 8-bit home computer
+series. The emulator faithfully imitates the CPC464, CPC664, and CPC6128
+models. By recreating the operations of all hardware components at a
+low level, the emulator achieves a high degree of compatibility with
+original CPC software. These programs or games can be run unmodified at
+real-time or higher speeds, depending on the emulator host environment.
+
+It is recommended that users enable "autorun" in the Core Options in
+the RetroArch F1 menu after selecting a disk image for the first time,
+then restart the core to load it.
+
+A virtual keyboard can be toggled by pressing the virtual "Y" button.
diff --git a/emulators/libretro-cap32/Makefile b/emulators/libretro-cap32/Makefile
new file mode 100644
index 00000000000..1d8b0569baf
--- /dev/null
+++ b/emulators/libretro-cap32/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2018/10/13 17:58:08 nia Exp $
+
+DISTNAME= libretro-cap32-20180827
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_TAG= ac8608b149e96b5b48ad07909edfb423481f365a
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/caprice32/
+COMMENT= Libretro core based on the Caprice32 Amstrad CPC emulator
+LICENSE= gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= gmake
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DMSB_FIRST
+.endif
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/cap32_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/cap32_libretro.so
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-cap32/PLIST b/emulators/libretro-cap32/PLIST
new file mode 100644
index 00000000000..bef45e012db
--- /dev/null
+++ b/emulators/libretro-cap32/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/10/13 17:58:08 nia Exp $
+lib/libretro/cap32_libretro.so
diff --git a/emulators/libretro-cap32/distinfo b/emulators/libretro-cap32/distinfo
new file mode 100644
index 00000000000..310a5368af2
--- /dev/null
+++ b/emulators/libretro-cap32/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/10/13 17:58:08 nia Exp $
+
+SHA1 (libretro-cap32-20180827-ac8608b149e96b5b48ad07909edfb423481f365a.tar.gz) = 65c57c9fabd42a43f29e34b01c587f09dcc86ce7
+RMD160 (libretro-cap32-20180827-ac8608b149e96b5b48ad07909edfb423481f365a.tar.gz) = f1865197ff40836d2aaa381f8eab765cd17e5a22
+SHA512 (libretro-cap32-20180827-ac8608b149e96b5b48ad07909edfb423481f365a.tar.gz) = 78e896736e34bb60b5a7b9dc2f44a8f2c105e9db7d411a2857a9041a43df9a76072781525eff4f2f7bf9d74f63bfd59bfeebd34f311bbe0727659296733a0cd2
+Size (libretro-cap32-20180827-ac8608b149e96b5b48ad07909edfb423481f365a.tar.gz) = 670600 bytes