pkgsrc/audio/hydrogen/options.mk
nia 4d07760341 hydrogen: Update to 1.0.0-beta1
Switch to qt5.

"please ship it if it works" - kamil
2019-10-26 21:24:34 +00:00

43 lines
1,015 B
Makefile

# $NetBSD: options.mk,v 1.1 2019/10/26 21:24:34 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hydrogen
PKG_SUPPORTED_OPTIONS+= alsa jack portaudio pulseaudio
PKG_SUGGESTED_OPTIONS.Linux+= alsa
.include "../../mk/bsd.fast.prefs.mk"
.include "../../mk/oss.buildlink3.mk"
.if ${OPSYS} != "Linux" && ${OSS_TYPE} == "none"
PKG_SUGGESTED_OPTIONS+= portaudio
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CMAKE_ARGS+= -DWANT_ALSA=ON
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+= -DWANT_ALSA=OFF
.endif
.if !empty(PKG_OPTIONS:Mjack)
CMAKE_ARGS+= -DWANT_JACK=ON
.include "../../audio/jack/buildlink3.mk"
.else
CMAKE_ARGS+= -DWANT_JACK=OFF
.endif
.if !empty(PKG_OPTIONS:Mportaudio)
CMAKE_ARGS+= -DWANT_PORTAUDIO=ON
.include "../../audio/portaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DWANT_PORTAUDIO=OFF
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
CMAKE_ARGS+= -DWANT_PULSEAUDIO=ON
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DWANT_PULSEAUDIO=OFF
.endif