pkgsrc - initial commit
[pkgsrc.git] / audio / audacious-plugins / options.mk
1 # $NetBSD: options.mk,v 1.4 2008/12/18 22:42:36 jmcneill Exp $
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.audacious-plugins
4 PKG_SUPPORTED_OPTIONS=  arts esound inet6 jack midi pulseaudio # sid
5 PKG_SUGGESTED_OPTIONS+= pulseaudio
6
7 .include "../../mk/bsd.options.mk"
8
9 PLIST_VARS+=    sid
10 #.if !empty(PKG_OPTIONS:Msid)
11 #.  include "../../wip/resid-builder/buildlink3.mk"
12 #PLIST.sid=     yes
13 #.else
14 #CONFIGURE_ARGS+=       --disable-sid
15 #.endif
16
17 PLIST_VARS+=    arts
18 .if !empty(PKG_OPTIONS:Marts)
19 .  include "../../audio/arts/buildlink3.mk"
20 PLIST.arts=     yes
21 .else
22 CONFIGURE_ARGS+=        --disable-arts
23 .endif
24
25 PLIST_VARS+=    esd
26 .if !empty(PKG_OPTIONS:Mesound)
27 .  include "../../audio/esound/buildlink3.mk"
28 PLIST.esd=      yes
29 .else
30 CONFIGURE_ARGS+=        --disable-esd
31 .endif
32
33 .if !empty(PKG_OPTIONS:Minet6)
34 CONFIGURE_ARGS+=        --enable-ipv6
35 .endif
36
37 PLIST_VARS+=    jack
38 .if !empty(PKG_OPTIONS:Mjack)
39 .  include "../../audio/jack/buildlink3.mk"
40 PLIST.jack=     yes
41 .else
42 CONFIGURE_ARGS+=        --disable-jack
43 .endif
44
45 PLIST_VARS+=    midi
46 .if !empty(PKG_OPTIONS:Mmidi)
47 BUILD_DEPENDS+=         timidity>=0:../../audio/timidity
48 PLIST.midi=     yes
49 .else
50 CONFIGURE_ARGS+=        --disable-timidity
51 .endif
52
53 PLIST_VARS+=    pulse
54 .if !empty(PKG_OPTIONS:Mpulseaudio)
55 .  include "../../audio/pulseaudio/buildlink3.mk"
56 PLIST.pulse=    yes
57 .else
58 CONFIGURE_ARGS+=        --disable-pulse
59 .endif