summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/Makefile3
-rw-r--r--emulators/libretro-snes9x/DESCR14
-rw-r--r--emulators/libretro-snes9x/Makefile29
-rw-r--r--emulators/libretro-snes9x/PLIST2
-rw-r--r--emulators/libretro-snes9x/distinfo6
5 files changed, 53 insertions, 1 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index bf574bba8e4..b0d537caa6d 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.271 2018/08/12 14:36:52 nia Exp $
+# $NetBSD: Makefile,v 1.272 2018/08/12 15:32:10 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -107,6 +107,7 @@ SUBDIR+= libretro-mupen64plus
SUBDIR+= libretro-nestopia
SUBDIR+= libretro-pcsx-rearmed
SUBDIR+= libretro-picodrive
+SUBDIR+= libretro-snes9x
SUBDIR+= libretro-snes9x2005
SUBDIR+= libretro-snes9x2010
SUBDIR+= libretro-stella
diff --git a/emulators/libretro-snes9x/DESCR b/emulators/libretro-snes9x/DESCR
new file mode 100644
index 00000000000..4d7cb30f858
--- /dev/null
+++ b/emulators/libretro-snes9x/DESCR
@@ -0,0 +1,14 @@
+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.
+
+Snes9x is an emulator for the Super Nintendo Entertainment System / Super
+Famicom. This package is derived from the master repository of Snes9x. It
+has greater accuracy and worse performance than Snes9x 2005/2010. It has
+a less strict approach to accuracy than bsnes and therefore doesn't run
+problematic games like bsnes, but has much better performance.
+
+This is the most up-to-date libretro snes9x core available, and is
+recommended for netplay.
diff --git a/emulators/libretro-snes9x/Makefile b/emulators/libretro-snes9x/Makefile
new file mode 100644
index 00000000000..79ad37dea3d
--- /dev/null
+++ b/emulators/libretro-snes9x/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2018/08/12 15:32:10 nia Exp $
+
+DISTNAME= libretro-snes9x-1.56.2
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=snes9xgit/}
+GITHUB_PROJECT= snes9x
+
+MAINTAINER= nia@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/snes9x/
+COMMENT= Libretro core based on the snes9x Super Nintendo emulator
+LICENSE= snes9x-license
+
+EXTRACT_USING= bsdtar
+
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+BUILD_DIRS= libretro
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+
+MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/libretro/snes9x_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/snes9x_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-snes9x/PLIST b/emulators/libretro-snes9x/PLIST
new file mode 100644
index 00000000000..aba6df9ccf3
--- /dev/null
+++ b/emulators/libretro-snes9x/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/12 15:32:10 nia Exp $
+lib/libretro/snes9x_libretro.so
diff --git a/emulators/libretro-snes9x/distinfo b/emulators/libretro-snes9x/distinfo
new file mode 100644
index 00000000000..8266c98c46f
--- /dev/null
+++ b/emulators/libretro-snes9x/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/12 15:32:10 nia Exp $
+
+SHA1 (libretro-snes9x-1.56.2.tar.gz) = 761af9b038d8856af67aa6683f9f25865ab57283
+RMD160 (libretro-snes9x-1.56.2.tar.gz) = 9caa5ddcc65e263be2fa147cd817fe13913d53d5
+SHA512 (libretro-snes9x-1.56.2.tar.gz) = d9c53eb2a1200af26fdb39578f0b8b7cf42473110c2eb53799acd69f15055732d0487982e7cebacc4aa18a9e88bd9939a0b11f3ddf685af02becace1fd85105c
+Size (libretro-snes9x-1.56.2.tar.gz) = 2880898 bytes