4186b04e47
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. Flycast is a multi-platform Sega Dreamcast emulator.
23 lines
603 B
Makefile
23 lines
603 B
Makefile
# $NetBSD: options.mk,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libretro-flycast
|
|
PKG_OPTIONS_REQUIRED_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"
|
|
.endif
|