pkgsrc/emulators/mednafen/options.mk
nia 8924b94489 emulators/mednafen: Update to 1.21.3.
Package's changelog does not go that far back.
2018-12-18 17:08:20 +00:00

22 lines
507 B
Makefile

# $NetBSD: options.mk,v 1.1 2018/12/18 17:08:20 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mednafen
PKG_SUPPORTED_OPTIONS+= alsa jack
PKG_SUGGESTED_OPTIONS.Linux+= alsa
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CONFIGURE_ARGS+= --enable-alsa
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
.if !empty(PKG_OPTIONS:Mjack)
CONFIGURE_ARGS+= --enable-jack
.include "../../audio/jack/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-jack
.endif