65b46df3e398e7639ef5d5d3d2bf6db65a857c71
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mpd / Config.in
1 menuconfig BR2_PACKAGE_MPD
2         bool "mpd"
3         depends on BR2_INSTALL_LIBSTDCPP
4         depends on BR2_USE_WCHAR # libglib2, flac
5         depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
6         depends on BR2_USE_MMU # libglib2
7         # sparc & CS powerpc gcc are too old
8         depends on !BR2_sparc
9         depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
10         depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
11         select BR2_PACKAGE_BOOST
12         select BR2_PACKAGE_LIBGLIB2
13         select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
14         select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG)
15         help
16           MPD is a flexible, powerful, server-side application
17           for playing music. Through plugins and libraries
18           it can play a variety of sound files while being
19           controlled by its network protocol.
20
21           http://www.musicpd.org
22
23 if BR2_PACKAGE_MPD
24
25 comment "Archive plugins"
26
27 config BR2_PACKAGE_MPD_BZIP2
28         bool "bzip2"
29         select BR2_PACKAGE_BZIP2
30         help
31           Enable bzip2 archive support.
32
33 config BR2_PACKAGE_MPD_SQLITE
34         bool "sqlite"
35         select BR2_PACKAGE_SQLITE
36         help
37           Enable sqlite database support.
38           If you don't use sqlite it will use an ASCII database.
39
40 comment "Converter plugins"
41
42 config BR2_PACKAGE_MPD_LIBSAMPLERATE
43         bool "libsamplerate"
44         select BR2_PACKAGE_LIBSAMPLERATE
45         help
46           Enable libsamplerate input support.
47           Select this for software sample rate conversion.
48
49 config BR2_PACKAGE_MPD_LIBSOXR
50         bool "libsoxr"
51         select BR2_PACKAGE_LIBSOXR
52         help
53           Enable libsoxr resampler support.
54           The SoX Resampler library performs software sample-rate
55           conversion.
56
57 comment "Decoder plugins"
58
59 config BR2_PACKAGE_MPD_AUDIOFILE
60         bool "audiofile"
61         select BR2_PACKAGE_AUDIOFILE
62         help
63           Enable audiofile input/streaming support.
64           Select this if you want to play back WAV files.
65
66 config BR2_PACKAGE_MPD_DSD
67         bool "dsd"
68         help
69           Enable Digital Speech Decoder (DSD) support to play audio
70           files encoded in a digital speech format.
71
72 config BR2_PACKAGE_MPD_FAAD2
73         bool "faad2"
74         select BR2_PACKAGE_FAAD2
75         help
76           Enable faad2 input support.
77           Select this if you want to play back MP4/AAC files.
78
79 config BR2_PACKAGE_MPD_FFMPEG
80         bool "ffmpeg"
81         select BR2_PACKAGE_FFMPEG
82         help
83           Enable ffmpeg input support.
84           Select this if you want to play back files supported by
85           ffmpeg.
86
87 config BR2_PACKAGE_MPD_FLAC
88         bool "flac"
89         select BR2_PACKAGE_FLAC
90         help
91           Enable flac input/streaming support.
92           Select this if you want to play back FLAC files.
93
94 config BR2_PACKAGE_MPD_LIBSNDFILE
95         bool "libsndfile"
96         select BR2_PACKAGE_LIBSNDFILE
97         help
98           Enable libsndfile input/streaming support.
99           Select this if you want to play back WAV files.
100
101 config BR2_PACKAGE_MPD_MAD
102         bool "mad"
103         default y
104         select BR2_PACKAGE_LIBID3TAG
105         select BR2_PACKAGE_LIBMAD
106         help
107           Enable mad input support.
108           Select this if you want to play back MP3 files.
109
110 config BR2_PACKAGE_MPD_MPG123
111         bool "mpg123"
112         select BR2_PACKAGE_LIBID3TAG
113         select BR2_PACKAGE_MPG123
114         help
115           Enable mpg123 input support.
116           Select this if you want to play back MP3 files.
117
118 config BR2_PACKAGE_MPD_MUSEPACK
119         bool "musepack"
120         select BR2_PACKAGE_LIBCUEFILE
121         select BR2_PACKAGE_LIBREPLAYGAIN
122         select BR2_PACKAGE_MUSEPACK
123         help
124           Enable musepack input support.
125           Select this if you want to play back MPC files.
126
127 config BR2_PACKAGE_MPD_OPUS
128         bool "opus"
129         select BR2_PACKAGE_OPUS
130         select BR2_PACKAGE_LIBOGG
131         help
132           Enable opus input support.
133           Select this if you want to play back OPUS encoded files.
134
135 config BR2_PACKAGE_MPD_TREMOR
136         bool "tremor"
137         select BR2_PACKAGE_LIBOGG
138         select BR2_PACKAGE_TREMOR
139         help
140           Enable vorbis input support.
141           Select this if you want to play back OGG files on softfloat
142           targets.
143
144 config BR2_PACKAGE_MPD_VORBIS
145         bool "vorbis"
146         select BR2_PACKAGE_LIBOGG
147         select BR2_PACKAGE_LIBVORBIS
148         help
149           Enable vorbis input/streaming support.
150           Select this if you want to play back OGG files on hardfloat
151           targets.
152
153 config BR2_PACKAGE_MPD_WAVPACK
154         bool "wavpack"
155         select BR2_PACKAGE_WAVPACK
156         help
157           Enable wavpack input support.
158           Select this if you want to play back WV files.
159
160 comment "Encoder plugins"
161
162 config BR2_PACKAGE_MPD_LAME
163         bool "lame"
164         select BR2_PACKAGE_LAME
165         help
166           Enable lame (mp3) encoding support.
167
168 config BR2_PACKAGE_MPD_TWOLAME
169         bool "twolame"
170         select BR2_PACKAGE_TWOLAME
171         help
172           Enable TwoLAME mp2 encoding.
173
174 comment "Input plugins"
175
176 config BR2_PACKAGE_MPD_CURL
177         bool "curl"
178         select BR2_PACKAGE_LIBCURL
179         help
180           Enable curl streaming (http) support.
181
182 config BR2_PACKAGE_MPD_LIBNFS
183         bool "nfs"
184         depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
185         select BR2_PACKAGE_LIBNFS
186         help
187           Enable Network File System (NFS) support.
188
189 comment "nfs support needs a toolchain w/ RPC"
190         depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
191
192 comment "samba support needs an (e)glibc toolchain"
193         depends on !BR2_TOOLCHAIN_USES_GLIBC
194
195 config BR2_PACKAGE_MPD_LIBSMBCLIENT
196         bool "samba"
197         depends on !BR2_nios2 # samba
198         depends on BR2_TOOLCHAIN_USES_GLIBC
199         select BR2_PACKAGE_SAMBA4
200         help
201           Enable Samba support.
202
203 config BR2_PACKAGE_MPD_SOUNDCLOUD
204         bool "soundcloud"
205         select BR2_PACKAGE_YAJL
206         help
207           Enable soundcloud.com playlist support.
208
209 comment "Output plugins"
210
211 config BR2_PACKAGE_MPD_ALSA
212         bool "alsa"
213         default y
214         select BR2_PACKAGE_ALSA_LIB
215         select BR2_PACKAGE_ALSA_LIB_PCM
216         select BR2_PACKAGE_ALSA_LIB_MIXER
217         help
218           Enable alsa output support.
219
220 config BR2_PACKAGE_MPD_AO
221         bool "ao"
222         select BR2_PACKAGE_LIBAO
223         help
224           Enable libao output support.
225
226 config BR2_PACKAGE_MPD_JACK2
227         bool "jack2"
228         depends on BR2_ARCH_HAS_ATOMICS
229         depends on !BR2_STATIC_LIBS # jack2
230         select BR2_PACKAGE_JACK2
231         help
232           Enable jack output support.
233
234 comment "jack support needs a toolchain w/ dynamic library"
235         depends on BR2_STATIC_LIBS
236
237 config BR2_PACKAGE_MPD_OSS
238         bool "oss"
239         help
240           Enable OSS (Open Sound System) output support.
241
242 config BR2_PACKAGE_MPD_PULSEAUDIO
243         bool "pulseaudio"
244         depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
245         depends on !BR2_STATIC_LIBS # pulseaudio
246         select BR2_PACKAGE_PULSEAUDIO
247         help
248           Enable pulseaudio output support.
249
250 comment "pulseaudio support needs a toolchain w/ dynamic library"
251         depends on BR2_STATIC_LIBS
252
253 comment "Miscellaneous plugins"
254
255 config BR2_PACKAGE_MPD_AVAHI_SUPPORT
256         bool "avahi (zeroconf) support"
257         depends on !BR2_STATIC_LIBS # avahi
258         select BR2_PACKAGE_AVAHI
259         select BR2_PACKAGE_AVAHI_DAEMON
260         select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
261         help
262           Enable Avahi (zeroconf) support.
263           Select this for multicast DNS/DNS-SD service discovery
264           support. This allows MPD to publish service information on a
265           local network.
266
267 comment "avahi support needs a toolchain w/ dynamic library"
268         depends on BR2_STATIC_LIBS
269
270 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
271         bool "neighbor discovery support"
272         depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
273         help
274           Enable support for neighbor discovery.
275           This option can be used in conjunction with the smbclient
276           plugin to provide a list of SMB/CIFS servers or with the
277           UPnP plugin to provide a list of UPnP servers on the local
278           network. The neighbor plugin needs configuration in
279           mpd.conf. For further information take a look at the MPD
280           documentation.
281
282 config BR2_PACKAGE_MPD_TCP
283         bool "tcp sockets"
284         default y
285         help
286           Enable MPD to listen on tcp sockets.
287
288           You want this on if MPD and the client(s) work
289           on different machines (the usual scenario).
290
291 config BR2_PACKAGE_MPD_UPNP
292         bool "UPnP"
293         select BR2_PACKAGE_EXPAT
294         select BR2_PACKAGE_LIBUPNP
295         help
296           Enable MPD UPnP client support.
297
298 endif
299
300 comment "mpd needs a toolchain w/ C++, threads, wchar"
301         depends on BR2_USE_MMU
302         depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
303         depends on !BR2_sparc
304         depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
305                 !BR2_TOOLCHAIN_HAS_THREADS