blob: 38e19e67a508e03c7ba1a3485b1c3740c5063362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: options.mk,v 1.2 2019/10/20 11:10:47 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.musescore
PKG_SUPPORTED_OPTIONS= alsa jack portaudio pulseaudio
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS= alsa
.else
PKG_SUGGESTED_OPTIONS= portaudio
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CMAKE_ARGS+= -DBUILD_ALSA=ON
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+= -DBUILD_ALSA=OFF
.endif
.if !empty(PKG_OPTIONS:Mjack)
CMAKE_ARGS+= -DBUILD_JACK=ON
.include "../../audio/jack/buildlink3.mk"
.else
CMAKE_ARGS+= -DBUILD_JACK=OFF
.endif
.if !empty(PKG_OPTIONS:Mportaudio)
CMAKE_ARGS+= -DBUILD_PORTAUDIO=ON
.include "../../audio/portaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DBUILD_PORTAUDIO=OFF
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
CMAKE_ARGS+= -DBUILD_PULSEAUDIO=ON
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DBUILD_PULSEAUDIO=OFF
.endif
|