summaryrefslogtreecommitdiff
path: root/audio/ardour/options.mk
blob: e2d7c952afa4331c101a92a21dac95164aa25564 (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
# $NetBSD: options.mk,v 1.5 2019/12/03 12:31:22 nia Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ardour
PKG_SUPPORTED_OPTIONS=	alsa jack

.include "../../mk/bsd.fast.prefs.mk"

.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS=	alsa jack
.else
PKG_SUGGESTED_OPTIONS=	jack
.endif

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	alsa
.if !empty(PKG_OPTIONS:Malsa)
PLIST.alsa=	yes
ARD_BACKENDS+=	alsa
.  include "../../audio/alsa-lib/buildlink3.mk"
.endif

PLIST_VARS+=	jack
.if !empty(PKG_OPTIONS:Mjack)
PLIST.jack=	yes
ARD_BACKENDS+=	jack
BUILDLINK_API_DEPENDS.jack+=	jack>=0.125.0nb2
.  include "../../audio/jack/buildlink3.mk"
.endif

#
# currently windows-only, would be nice to have
#
#.if !empty(PKG_OPTIONS:Mportaudio)
#ARD_BACKENDS+=	portaudio
#.include "../../audio/portaudio/buildlink3.mk"
#.endif