pkgsrc/emulators/libretro-parallel-n64/options.mk
nia 119741e1a9 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.
2020-05-31 16:03:04 +00:00

25 lines
641 B
Makefile

# $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