1 menuconfig BR2_PACKAGE_MPD
3 depends on BR2_INSTALL_LIBSTDCPP
4 depends on BR2_USE_WCHAR # flac
5 depends on BR2_TOOLCHAIN_HAS_THREADS
6 depends on BR2_USE_MMU # fork
7 depends on BR2_TOOLCHAIN_HAS_ATOMIC
8 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
9 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
11 depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
12 select BR2_PACKAGE_BOOST
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)
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.
21 http://www.musicpd.org
25 comment "Archive plugins"
27 config BR2_PACKAGE_MPD_BZIP2
29 select BR2_PACKAGE_BZIP2
31 Enable bzip2 archive support.
33 config BR2_PACKAGE_MPD_SQLITE
35 select BR2_PACKAGE_SQLITE
37 Enable sqlite database support.
38 If you don't use sqlite it will use an ASCII database.
40 comment "Converter plugins"
42 config BR2_PACKAGE_MPD_LIBSAMPLERATE
44 select BR2_PACKAGE_LIBSAMPLERATE
46 Enable libsamplerate input support.
47 Select this for software sample rate conversion.
49 config BR2_PACKAGE_MPD_LIBSOXR
51 select BR2_PACKAGE_LIBSOXR
53 Enable libsoxr resampler support.
54 The SoX Resampler library performs software sample-rate
57 comment "Decoder plugins"
59 config BR2_PACKAGE_MPD_AUDIOFILE
61 select BR2_PACKAGE_AUDIOFILE
63 Enable audiofile input/streaming support.
64 Select this if you want to play back WAV files.
66 config BR2_PACKAGE_MPD_DSD
69 Enable Digital Speech Decoder (DSD) support to play audio
70 files encoded in a digital speech format.
72 config BR2_PACKAGE_MPD_FAAD2
74 select BR2_PACKAGE_FAAD2
76 Enable faad2 input support.
77 Select this if you want to play back MP4/AAC files.
79 config BR2_PACKAGE_MPD_FFMPEG
81 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
82 select BR2_PACKAGE_FFMPEG
84 Enable ffmpeg input support.
85 Select this if you want to play back files supported by
88 config BR2_PACKAGE_MPD_FLAC
90 select BR2_PACKAGE_FLAC
92 Enable flac input/streaming support.
93 Select this if you want to play back FLAC files.
95 config BR2_PACKAGE_MPD_LIBSNDFILE
97 select BR2_PACKAGE_LIBSNDFILE
99 Enable libsndfile input/streaming support.
100 Select this if you want to play back WAV files.
102 config BR2_PACKAGE_MPD_MAD
105 select BR2_PACKAGE_LIBID3TAG
106 select BR2_PACKAGE_LIBMAD
108 Enable mad input support.
109 Select this if you want to play back MP3 files.
111 config BR2_PACKAGE_MPD_MPG123
113 select BR2_PACKAGE_LIBID3TAG
114 select BR2_PACKAGE_MPG123
116 Enable mpg123 input support.
117 Select this if you want to play back MP3 files.
119 config BR2_PACKAGE_MPD_MUSEPACK
121 select BR2_PACKAGE_LIBCUEFILE
122 select BR2_PACKAGE_LIBREPLAYGAIN
123 select BR2_PACKAGE_MUSEPACK
125 Enable musepack input support.
126 Select this if you want to play back MPC files.
128 config BR2_PACKAGE_MPD_OPUS
130 select BR2_PACKAGE_OPUS
131 select BR2_PACKAGE_LIBOGG
133 Enable opus input support.
134 Select this if you want to play back OPUS encoded files.
136 config BR2_PACKAGE_MPD_TREMOR
138 select BR2_PACKAGE_LIBOGG
139 select BR2_PACKAGE_TREMOR
141 Enable vorbis input support.
142 Select this if you want to play back OGG files on softfloat
145 config BR2_PACKAGE_MPD_VORBIS
147 select BR2_PACKAGE_LIBOGG
148 select BR2_PACKAGE_LIBVORBIS
150 Enable vorbis input/streaming support.
151 Select this if you want to play back OGG files on hardfloat
154 config BR2_PACKAGE_MPD_WAVPACK
156 select BR2_PACKAGE_WAVPACK
158 Enable wavpack input support.
159 Select this if you want to play back WV files.
161 comment "Encoder plugins"
163 config BR2_PACKAGE_MPD_LAME
165 select BR2_PACKAGE_LAME
167 Enable lame (mp3) encoding support.
169 config BR2_PACKAGE_MPD_TWOLAME
171 select BR2_PACKAGE_TWOLAME
173 Enable TwoLAME mp2 encoding.
175 comment "Input plugins"
177 config BR2_PACKAGE_MPD_CDIO_PARANOIA
179 select BR2_PACKAGE_LIBCDIO_PARANOIA
181 Enable cdio-paranoia support.
183 config BR2_PACKAGE_MPD_CURL
185 select BR2_PACKAGE_LIBCURL
187 Enable curl streaming (http) support.
189 config BR2_PACKAGE_MPD_LIBMMS
191 select BR2_PACKAGE_LIBMMS
195 config BR2_PACKAGE_MPD_LIBNFS
198 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
199 select BR2_PACKAGE_LIBNFS
201 Enable Network File System (NFS) support.
203 comment "nfs support needs a toolchain w/ threads support"
204 depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
206 comment "samba support needs a glibc toolchain w/ dynamic library, RPC"
207 depends on !BR2_nios2
208 depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
209 !BR2_TOOLCHAIN_HAS_NATIVE_RPC
211 config BR2_PACKAGE_MPD_LIBSMBCLIENT
213 depends on !BR2_nios2 # samba
214 depends on BR2_TOOLCHAIN_USES_GLIBC
215 depends on !BR2_STATIC_LIBS
216 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
217 depends on BR2_TOOLCHAIN_HAS_SYNC_4
218 select BR2_PACKAGE_SAMBA4
220 Enable Samba support.
222 config BR2_PACKAGE_MPD_SOUNDCLOUD
224 select BR2_PACKAGE_YAJL
226 Enable soundcloud.com playlist support.
228 comment "Output plugins"
230 config BR2_PACKAGE_MPD_ALSA
233 select BR2_PACKAGE_ALSA_LIB
234 select BR2_PACKAGE_ALSA_LIB_PCM
235 select BR2_PACKAGE_ALSA_LIB_MIXER
237 Enable alsa output support.
239 config BR2_PACKAGE_MPD_AO
241 select BR2_PACKAGE_LIBAO
243 Enable libao output support.
245 config BR2_PACKAGE_MPD_HTTPD_OUTPUT
248 Enable httpd output support.
250 config BR2_PACKAGE_MPD_JACK2
252 depends on !BR2_STATIC_LIBS # jack2
253 depends on BR2_TOOLCHAIN_HAS_SYNC_4
254 select BR2_PACKAGE_JACK2
256 Enable jack output support.
258 comment "jack support needs a toolchain w/ dynamic library"
259 depends on BR2_TOOLCHAIN_HAS_SYNC_4
260 depends on BR2_STATIC_LIBS
262 config BR2_PACKAGE_MPD_OSS
265 Enable OSS (Open Sound System) output support.
267 config BR2_PACKAGE_MPD_PULSEAUDIO
269 depends on !BR2_STATIC_LIBS # pulseaudio
270 select BR2_PACKAGE_PULSEAUDIO
272 Enable pulseaudio output support.
274 comment "pulseaudio support needs a toolchain w/ dynamic library"
275 depends on BR2_STATIC_LIBS
277 config BR2_PACKAGE_MPD_SHOUTCAST
279 select BR2_PACKAGE_LIBSHOUT
281 Enable shoutcast streaming output support.
283 comment "Miscellaneous plugins"
285 config BR2_PACKAGE_MPD_AVAHI_SUPPORT
286 bool "avahi (zeroconf) support"
287 depends on !BR2_STATIC_LIBS # avahi
288 select BR2_PACKAGE_AVAHI
289 select BR2_PACKAGE_AVAHI_DAEMON
290 select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
292 Enable Avahi (zeroconf) support.
293 Select this for multicast DNS/DNS-SD service discovery
294 support. This allows MPD to publish service information on a
297 comment "avahi support needs a toolchain w/ dynamic library"
298 depends on BR2_STATIC_LIBS
300 config BR2_PACKAGE_MPD_LIBMPDCLIENT
302 select BR2_PACKAGE_LIBMPDCLIENT
304 Enable libmpdclient support.
306 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
307 bool "neighbor discovery support"
308 depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
310 Enable support for neighbor discovery.
311 This option can be used in conjunction with the smbclient
312 plugin to provide a list of SMB/CIFS servers or with the
313 UPnP plugin to provide a list of UPnP servers on the local
314 network. The neighbor plugin needs configuration in
315 mpd.conf. For further information take a look at the MPD
318 config BR2_PACKAGE_MPD_TCP
322 Enable MPD to listen on tcp sockets.
324 You want this on if MPD and the client(s) work
325 on different machines (the usual scenario).
327 config BR2_PACKAGE_MPD_UPNP
329 select BR2_PACKAGE_EXPAT
330 select BR2_PACKAGE_LIBUPNP18 if !BR2_PACKAGE_LIBUPNP
332 Enable MPD UPnP client support.
336 comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
337 depends on BR2_USE_MMU
338 depends on BR2_TOOLCHAIN_HAS_ATOMIC
339 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
340 !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
341 depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
343 comment "mpd needs a toolchain not affected by GCC bug 64735"
344 depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735