pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-mupen64plus Import libretro-mupen64...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c39a1301b7b6
branches: trunk
changeset: 646151:c39a1301b7b6
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Wed Feb 04 23:02:12 2015 +0000
description:
Import libretro-mupen64plus-20150204 as emulators/libretro-mupen64plus.
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.
Mupen64Plus is a Nintendo 64 video game system emulator.
diffstat:
emulators/libretro-mupen64plus/DESCR | 7 +++++
emulators/libretro-mupen64plus/Makefile | 38 +++++++++++++++++++++++++++++++
emulators/libretro-mupen64plus/PLIST | 2 +
emulators/libretro-mupen64plus/distinfo | 5 ++++
emulators/libretro-mupen64plus/options.mk | 22 +++++++++++++++++
5 files changed, 74 insertions(+), 0 deletions(-)
diffs (94 lines):
diff -r 30c120bf4626 -r c39a1301b7b6 emulators/libretro-mupen64plus/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-mupen64plus/DESCR Wed Feb 04 23:02:12 2015 +0000
@@ -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.
+
+Mupen64Plus is a Nintendo 64 video game system emulator.
diff -r 30c120bf4626 -r c39a1301b7b6 emulators/libretro-mupen64plus/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-mupen64plus/Makefile Wed Feb 04 23:02:12 2015 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2015/02/04 23:02:12 jmcneill Exp $
+
+DISTNAME= mupen64plus-libretro-20150204
+PKGNAME= libretro-mupen64plus-20150204
+CATEGORIES= emulators
+MASTER_SITES= http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/retroarch/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/libretro/mupen64plus-libretro
+COMMENT= Libretro core based on the Mupen64 Plus emulator
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/mupen64plus-libretro-master
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+
+SUBST_CLASSES+= vc
+SUBST_STAGE.vc= pre-configure
+SUBST_MESSAGE.vc= Fixing path to VideoCore libraries.
+SUBST_FILES.vc= Makefile
+SUBST_SED.vc+= -e 's;/opt/vc;${PREFIX};g'
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CFLAGS+= -DHAVE_POSIX_MEMALIGN=1
+.endif
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/mupen64plus_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/mupen64plus_libretro.so
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 30c120bf4626 -r c39a1301b7b6 emulators/libretro-mupen64plus/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-mupen64plus/PLIST Wed Feb 04 23:02:12 2015 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/04 23:02:12 jmcneill Exp $
+lib/libretro/mupen64plus_libretro.so
diff -r 30c120bf4626 -r c39a1301b7b6 emulators/libretro-mupen64plus/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-mupen64plus/distinfo Wed Feb 04 23:02:12 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/04 23:02:12 jmcneill Exp $
+
+SHA1 (mupen64plus-libretro-20150204.zip) = 85599e878094348163d68fdd704c5bc7edf78e44
+RMD160 (mupen64plus-libretro-20150204.zip) = 6c08b86834a8f6d548c85eaa34ca38e779b6a0d2
+Size (mupen64plus-libretro-20150204.zip) = 3286777 bytes
diff -r 30c120bf4626 -r c39a1301b7b6 emulators/libretro-mupen64plus/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-mupen64plus/options.mk Wed Feb 04 23:02:12 2015 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2015/02/04 23:02:12 jmcneill Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libretro-mupen64plus
+
+.if !empty(MACHINE_ARCH:M*arm*)
+PKG_SUPPORTED_OPTIONS+= rpi dynarec
+PKG_SUGGESTED_OPTIONS+= rpi dynarec
+MUPEN64_DYNAREC_ARCH= arm
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mrpi)
+MAKE_ENV+= platform=rpi
+.include "../../misc/raspberrypi-userland/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mdynarec)
+MAKE_ENV+= WITH_DYNAREC=${MUPEN64_DYNAREC_ARCH}
+.endif
Home |
Main Index |
Thread Index |
Old Index