pkgsrc/emulators/emulationstation/options.mk
2015-02-13 19:47:51 +00:00

24 lines
578 B
Makefile

# $NetBSD: options.mk,v 1.1 2015/02/13 19:47:51 jmcneill Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.emulationstation
PKG_OPTIONS_REQUIRED_GROUPS= graphics
PKG_OPTIONS_GROUP.graphics= opengl
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(MACHINE_ARCH:M*arm*)
PKG_OPTIONS_GROUP.graphics+= rpi
PKG_SUGGESTED_OPTIONS+= rpi
.else
PKG_SUGGESTED_OPTIONS+= opengl
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mrpi)
.include "../../misc/raspberrypi-userland/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mopengl)
.include "../../graphics/MesaLib/buildlink3.mk"
.endif