blob: 69d492af057abc20d10b980b131340e960990524 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: options.mk,v 1.2 2011/04/05 05:22:52 rxg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xmp
PKG_SUPPORTED_OPTIONS= alsa arts esound nas oss pulseaudio
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS= alsa
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
# No native support for these OS's, so use esound for audio output
PKG_SUGGESTED_OPTIONS= esound
.endif
PKG_SUGGESTED_OPTIONS+= pulseaudio
.include "../../mk/bsd.options.mk"
# Alsa support
.if !empty(PKG_OPTIONS:Malsa)
. include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+=--disable-alsa
.endif
# Arts support
.if !empty(PKG_OPTIONS:Marts)
CONFIGURE_ARGS+=--enable-arts
. include "../../audio/arts/buildlink3.mk"
.endif
# Esd support
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+=--enable-esd
. include "../../audio/esound/buildlink3.mk"
.endif
# Nas support
.if !empty(PKG_OPTIONS:Mnas)
CONFIGURE_ARGS+=--enable-nas
. include "../../audio/nas/buildlink3.mk"
.endif
# Oss support
.if !empty(PKG_OPTIONS:Moss)
# empty
.else
CONFIGURE_ARGS+=--disable-oss
CONFIGURE_ARGS+=--disable-oss-sequencer
.endif
# Pulseaudio support
.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+=--enable-pulseaudio
. include "../../audio/pulseaudio/buildlink3.mk"
.endif
|