summaryrefslogtreecommitdiff
path: root/audio/audacious-plugins/options.mk
blob: 2386d2c4742d665d6d308959ee17324f907c2c9c (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# $NetBSD: options.mk,v 1.12 2021/03/15 13:15:56 nia Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.audacious-plugins
PKG_SUPPORTED_OPTIONS+=		alsa jack pulseaudio lirc
PKG_SUPPORTED_OPTIONS+=		adplug sidplay fluidsynth libgme modplug wavpack
PKG_SUGGESTED_OPTIONS+=		wavpack
PKG_SUGGESTED_OPTIONS.Linux+=	alsa lirc
PKG_OPTIONS_LEGACY_OPTS+=	sid:sidplay

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

PLIST_VARS+=	alsa
.if !empty(PKG_OPTIONS:Malsa)
.  include "../../audio/alsa-lib/buildlink3.mk"
PLIST.alsa=	yes
.else
CONFIGURE_ARGS+=	--disable-alsa
.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+=	pulse
.if !empty(PKG_OPTIONS:Mpulseaudio)
.  include "../../audio/pulseaudio/buildlink3.mk"
PLIST.pulse=	yes
.else
CONFIGURE_ARGS+=	--disable-pulse
.endif

PLIST_VARS+=	lirc
.if !empty(PKG_OPTIONS:Mlirc)
.  include "../../comms/lirc/buildlink3.mk"
PLIST.lirc=	yes
.else
CONFIGURE_ARGS+=	--disable-lirc
.endif

PLIST_VARS+=	adplug
.if !empty(PKG_OPTIONS:Madplug)
.  include "../../audio/adplug/buildlink3.mk"
PLIST.adplug=	yes
.else
CONFIGURE_ARGS+=	--disable-adplug
.endif

PLIST_VARS+=	sid
.if !empty(PKG_OPTIONS:Msidplay)
.  include "../../audio/libsidplay/buildlink3.mk"
PLIST.sid=	yes
.else
CONFIGURE_ARGS+=	--disable-sid
.endif

PLIST_VARS+=	fluidsynth
.if !empty(PKG_OPTIONS:Mfluidsynth)
.  include "../../audio/fluidsynth/buildlink3.mk"
PLIST.fluidsynth=	yes
.else
CONFIGURE_ARGS+=	--disable-amidiplug
.endif

PLIST_VARS+=	libgme
.if !empty(PKG_OPTIONS:Mlibgme)
.  include "../../audio/game-music-emu/buildlink3.mk"
PLIST.libgme=	yes
.else
CONFIGURE_ARGS+=	--disable-console
.endif

PLIST_VARS+=	modplug
.if !empty(PKG_OPTIONS:Mmodplug)
.  include "../../audio/libmodplug/buildlink3.mk"
PLIST.modplug=	yes
.else
CONFIGURE_ARGS+=	--disable-modplug
.endif

PLIST_VARS+=	wavpack
.if !empty(PKG_OPTIONS:Mwavpack)
.  include "../../audio/wavpack/buildlink3.mk"
PLIST.wavpack=	yes
.else
CONFIGURE_ARGS+=	--disable-wavpack
.endif