summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2015-02-05 00:16:25 +0000
committerjmcneill <jmcneill@pkgsrc.org>2015-02-05 00:16:25 +0000
commit2c8dd60b764a7e79628f2c08874d4f010353a36b (patch)
tree97a9e865c0a00b16df2a825bd1bde99ff13cc20d
parent773f85f8ba96eac747feb5f269c1496709e5761a (diff)
downloadpkgsrc-2c8dd60b764a7e79628f2c08874d4f010353a36b.tar.gz
Import libretro-snes9x-next-20150204 as emulators/libretro-snes9x-next.
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 Next is a Super Nintendo video game system emulator.
-rw-r--r--emulators/libretro-snes9x-next/DESCR7
-rw-r--r--emulators/libretro-snes9x-next/Makefile31
-rw-r--r--emulators/libretro-snes9x-next/PLIST2
-rw-r--r--emulators/libretro-snes9x-next/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/emulators/libretro-snes9x-next/DESCR b/emulators/libretro-snes9x-next/DESCR
new file mode 100644
index 00000000000..1dbb6f5f6b1
--- /dev/null
+++ b/emulators/libretro-snes9x-next/DESCR
@@ -0,0 +1,7 @@
+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 Next is a Super Nintendo video game system emulator.
diff --git a/emulators/libretro-snes9x-next/Makefile b/emulators/libretro-snes9x-next/Makefile
new file mode 100644
index 00000000000..954e578d05f
--- /dev/null
+++ b/emulators/libretro-snes9x-next/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2015/02/05 00:16:25 jmcneill Exp $
+
+DISTNAME= snes9x-next-libretro-20150204
+PKGNAME= libretro-snes9x-next-20150204
+CATEGORIES= emulators
+MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/jmcneill/retroarch/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/libretro/snes9x-next
+COMMENT= Libretro core based on the SNES9x 1.52+ emulator
+
+WRKSRC= ${WRKDIR}/snes9x-next-master
+USE_TOOLS+= gmake
+
+.include "../../mk/bsd.prefs.mk"
+
+SNES9X_NEXT_PLATFORM= ${MACHINE_ARCH}
+.if !empty(MACHINE_ARCH:M*arm*hf)
+SNES9X_NEXT_PLATFORM+= -hardfloat
+.endif
+
+MAKE_ENV+= platform="${SNES9X_NEXT_PLATFORM}"
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/snes9x_next_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/snes9x_next_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-snes9x-next/PLIST b/emulators/libretro-snes9x-next/PLIST
new file mode 100644
index 00000000000..e5bcaba4b12
--- /dev/null
+++ b/emulators/libretro-snes9x-next/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/05 00:16:25 jmcneill Exp $
+lib/libretro/snes9x_next_libretro.so
diff --git a/emulators/libretro-snes9x-next/distinfo b/emulators/libretro-snes9x-next/distinfo
new file mode 100644
index 00000000000..cd1a99fe7e8
--- /dev/null
+++ b/emulators/libretro-snes9x-next/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/05 00:16:25 jmcneill Exp $
+
+SHA1 (snes9x-next-libretro-20150204.zip) = 69034e455a5216eccb195754e3bc6bbe78765a76
+RMD160 (snes9x-next-libretro-20150204.zip) = b184254ec567e5bdbef394d9273ae7c35d586f80
+Size (snes9x-next-libretro-20150204.zip) = 478824 bytes