pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 31 16:03:04 UTC 2020

Modified Files:
        pkgsrc/emulators: Makefile
Added Files:
        pkgsrc/emulators/libretro-parallel-n64: DESCR Makefile PLIST distinfo
            options.mk

Log Message:
emulators: Add libretro-parallel-n64

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.

Parallel N64 is an optimized/rewritten Nintendo 64 emulator made specifically
for Libretro. It was originally based on Mupen64 Plus.


To generate a diff of this commit:
cvs rdiff -u -r1.320 -r1.321 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/libretro-parallel-n64/DESCR \
    pkgsrc/emulators/libretro-parallel-n64/Makefile \
    pkgsrc/emulators/libretro-parallel-n64/PLIST \
    pkgsrc/emulators/libretro-parallel-n64/distinfo \
    pkgsrc/emulators/libretro-parallel-n64/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.320 pkgsrc/emulators/Makefile:1.321
--- pkgsrc/emulators/Makefile:1.320     Sun May 31 15:22:17 2020
+++ pkgsrc/emulators/Makefile   Sun May 31 16:03:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.320 2020/05/31 15:22:17 nia Exp $
+# $NetBSD: Makefile,v 1.321 2020/05/31 16:03:04 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -119,6 +119,7 @@ SUBDIR+=    libretro-mupen64plus
 SUBDIR+=       libretro-nestopia
 SUBDIR+=       libretro-np2kai
 SUBDIR+=       libretro-o2em
+SUBDIR+=       libretro-parallel-n64
 SUBDIR+=       libretro-pcsx-rearmed
 SUBDIR+=       libretro-picodrive
 SUBDIR+=       libretro-ppsspp

Added files:

Index: pkgsrc/emulators/libretro-parallel-n64/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-parallel-n64/DESCR:1.1
--- /dev/null   Sun May 31 16:03:04 2020
+++ pkgsrc/emulators/libretro-parallel-n64/DESCR        Sun May 31 16:03:04 2020
@@ -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.
+
+Parallel N64 is an optimized/rewritten Nintendo 64 emulator made specifically
+for Libretro. It was originally based on Mupen64 Plus.
Index: pkgsrc/emulators/libretro-parallel-n64/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-parallel-n64/Makefile:1.1
--- /dev/null   Sun May 31 16:03:04 2020
+++ pkgsrc/emulators/libretro-parallel-n64/Makefile     Sun May 31 16:03:04 2020
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2020/05/31 16:03:04 nia Exp $
+
+DISTNAME=      libretro-parallel-n64-20200528
+CATEGORIES=    emulators
+GITHUB_PROJECT=        parallel-n64
+GITHUB_TAG=    9dd669e2f63b320c5942f2fe0b2df275dba99393
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/libretro/parallel-n64
+COMMENT=       Libretro core based on the Parallel N64 emulator
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+LIBRETRO_CORE= parallel_n64
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+MAKE_FLAGS+=   WITH_DYNAREC=x86
+.elif ${MACHINE_ARCH} == "x86_64"
+MAKE_FLAGS+=   WITH_DYNAREC=x86_64
+.elif ${MACHINE_ARCH} == "aarch64"
+MAKE_FLAGS+=   WITH_DYNAREC=aarch64
+MAKE_FLAGS+=   HAVE_NEON=0
+CFLAGS+=       -DNO_ASM -DARM_FIX
+.elif ${MACHINE_ARCH} == "earmv7hf"
+MAKE_FLAGS+=   WITH_DYNAREC=arm
+MAKE_FLAGS+=   HAVE_NEON=1
+CFLAGS+=       -DNO_ASM -DARM_FIX
+.elif !empty(MACHINE_ARCH:M*arm*)
+MAKE_FLAGS+=   WITH_DYNAREC=arm
+MAKE_FLAGS+=   HAVE_NEON=0
+CFLAGS+=       -DNO_ASM -DARM_FIX
+.else
+MAKE_FLAGS+=   WITH_DYNAREC=
+CFLAGS+=       -DNO_ASM
+.endif
+
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=./libretro/link.T
+
+.include "options.mk"
+.include "../../emulators/retroarch/core.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/libretro-parallel-n64/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-parallel-n64/PLIST:1.1
--- /dev/null   Sun May 31 16:03:04 2020
+++ pkgsrc/emulators/libretro-parallel-n64/PLIST        Sun May 31 16:03:04 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/31 16:03:04 nia Exp $
+lib/libretro/parallel_n64_libretro.${SOEXT}
Index: pkgsrc/emulators/libretro-parallel-n64/distinfo
diff -u /dev/null pkgsrc/emulators/libretro-parallel-n64/distinfo:1.1
--- /dev/null   Sun May 31 16:03:04 2020
+++ pkgsrc/emulators/libretro-parallel-n64/distinfo     Sun May 31 16:03:04 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/31 16:03:04 nia Exp $
+
+SHA1 (libretro-parallel-n64-20200528-9dd669e2f63b320c5942f2fe0b2df275dba99393.tar.gz) = 4de30bb786cc61c5785eb3337abe8943b55ae474
+RMD160 (libretro-parallel-n64-20200528-9dd669e2f63b320c5942f2fe0b2df275dba99393.tar.gz) = 03ea1e768e32be5284863d748dc417d39c5cb0fd
+SHA512 (libretro-parallel-n64-20200528-9dd669e2f63b320c5942f2fe0b2df275dba99393.tar.gz) = 
bc7acd7d9401883ceb834e1ec3ab3fe958ffea6bba4101e25cb983b20b48fdf3f22b20a753c82eaf411240aab5bd459c9880bf52672f38d582a8f072cf76f7e9
+Size (libretro-parallel-n64-20200528-9dd669e2f63b320c5942f2fe0b2df275dba99393.tar.gz) = 5509190 bytes
Index: pkgsrc/emulators/libretro-parallel-n64/options.mk
diff -u /dev/null pkgsrc/emulators/libretro-parallel-n64/options.mk:1.1
--- /dev/null   Sun May 31 16:03:04 2020
+++ pkgsrc/emulators/libretro-parallel-n64/options.mk   Sun May 31 16:03:04 2020
@@ -0,0 +1,25 @@
+# $NetBSD: options.mk,v 1.1 2020/05/31 16:03:04 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.libretro-parallel-n64
+PKG_OPTIONS_OPTIONAL_GROUPS=   gl
+PKG_OPTIONS_GROUP.gl=          opengl
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:M*arm*)
+PKG_OPTIONS_GROUP.gl+=         rpi
+.endif
+
+PKG_SUGGESTED_OPTIONS+=                opengl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mopengl)
+.  include "../../graphics/MesaLib/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mrpi)
+MAKE_FLAGS+=   GLES=1
+MAKE_FLAGS+=   GL_LIB="-lbrcmGLESv2"
+.  include "../../misc/raspberrypi-userland/buildlink3.mk"
+.else
+MAKE_FLAGS+=   HAVE_OPENGL=0
+.endif



Home | Main Index | Thread Index | Old Index