blob: 3b81786050d1370ac5f1c146ea4f2d55692b7925 (
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
56
57
58
59
|
# $NetBSD: options.mk,v 1.6 2012/06/12 15:45:54 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins
PKG_SUPPORTED_OPTIONS= arts esound inet6 jack midi pulseaudio sid
PKG_SUGGESTED_OPTIONS+= inet6 pulseaudio
.include "../../mk/bsd.options.mk"
PLIST_VARS+= sid
.if !empty(PKG_OPTIONS:Msid)
. include "../../audio/libsidplay/buildlink3.mk"
PLIST.sid= yes
.else
CONFIGURE_ARGS+= --disable-sid
.endif
PLIST_VARS+= arts
.if !empty(PKG_OPTIONS:Marts)
. include "../../audio/arts/buildlink3.mk"
PLIST.arts= yes
.else
CONFIGURE_ARGS+= --disable-arts
.endif
PLIST_VARS+= esd
.if !empty(PKG_OPTIONS:Mesound)
. include "../../audio/esound/buildlink3.mk"
PLIST.esd= yes
.else
CONFIGURE_ARGS+= --disable-esd
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
PLIST_VARS+= jack
.if !empty(PKG_OPTIONS:Mjack)
. include "../../audio/jack/buildlink3.mk"
PLIST.jack= yes
.else
CONFIGURE_ARGS+= --disable-jack
.endif
PLIST_VARS+= midi
.if !empty(PKG_OPTIONS:Mmidi)
BUILD_DEPENDS+= timidity>=0:../../audio/timidity
PLIST.midi= yes
.else
CONFIGURE_ARGS+= --disable-timidity
.endif
PLIST_VARS+= pulse
.if !empty(PKG_OPTIONS:Mpulseaudio)
. include "../../audio/pulseaudio/buildlink3.mk"
PLIST.pulse= yes
.else
CONFIGURE_ARGS+= --disable-pulse
.endif
|