Dolphin is an emulator for two recent Nintendo video game consoles: the GameCube and the Wii. It allows PC gamers to enjoy games for these two consoles in full HD (1080p) with several enhancements: compatibility with all PC controllers, turbo speed, networked multiplayer, and even more!
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# $NetBSD: options.mk,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.dolphin-emu
|
|
PKG_SUPPORTED_OPTIONS= alsa libao llvm openal portaudio pulseaudio
|
|
PKG_SUGGESTED_OPTIONS+= alsa libao openal
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
CMAKE_ARGS+= -DENABLE_ALSA=ON
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibao)
|
|
CMAKE_ARGS+= -DENABLE_AO=ON
|
|
.include "../../audio/libao/buildlink3.mk"
|
|
.endif
|
|
|
|
#
|
|
# LLVM - Used for disassembly
|
|
#
|
|
.if !empty(PKG_OPTIONS:Mllvm)
|
|
CMAKE_ARGS+= -DENABLE_LLVM=ON
|
|
.include "../../lang/libLLVM/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mopenal)
|
|
CMAKE_ARGS+= -DENABLE_OPENAL=ON
|
|
.include "../../audio/openal-soft/buildlink3.mk"
|
|
.include "../../audio/soundtouch/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mportaudio)
|
|
CMAKE_ARGS+= -DENABLE_PORTAUDIO=ON
|
|
.include "../../audio/portaudio/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
CMAKE_ARGS+= -DENABLE_PULSEAUDIO=ON
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
.endif
|