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_GCC_AT_LEAST_4_9 # C++14
8 depends on BR2_TOOLCHAIN_HAS_ATOMIC
9 select BR2_PACKAGE_BOOST
10 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
11 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)
13 MPD is a flexible, powerful, server-side application
14 for playing music. Through plugins and libraries
15 it can play a variety of sound files while being
16 controlled by its network protocol.
18 http://www.musicpd.org
22 comment "Archive plugins"
24 config BR2_PACKAGE_MPD_BZIP2
26 select BR2_PACKAGE_BZIP2
28 Enable bzip2 archive support.
30 config BR2_PACKAGE_MPD_SQLITE
32 select BR2_PACKAGE_SQLITE
34 Enable sqlite database support.
35 If you don't use sqlite it will use an ASCII database.
37 comment "Converter plugins"
39 config BR2_PACKAGE_MPD_LIBSAMPLERATE
41 select BR2_PACKAGE_LIBSAMPLERATE
43 Enable libsamplerate input support.
44 Select this for software sample rate conversion.
46 config BR2_PACKAGE_MPD_LIBSOXR
48 select BR2_PACKAGE_LIBSOXR
50 Enable libsoxr resampler support.
51 The SoX Resampler library performs software sample-rate
54 comment "Decoder plugins"
56 config BR2_PACKAGE_MPD_AUDIOFILE
58 select BR2_PACKAGE_AUDIOFILE
60 Enable audiofile input/streaming support.
61 Select this if you want to play back WAV files.
63 config BR2_PACKAGE_MPD_DSD
66 Enable Digital Speech Decoder (DSD) support to play audio
67 files encoded in a digital speech format.
69 config BR2_PACKAGE_MPD_FAAD2
71 select BR2_PACKAGE_FAAD2
73 Enable faad2 input support.
74 Select this if you want to play back MP4/AAC files.
76 config BR2_PACKAGE_MPD_FFMPEG
78 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
79 select BR2_PACKAGE_FFMPEG
81 Enable ffmpeg input support.
82 Select this if you want to play back files supported by
85 config BR2_PACKAGE_MPD_FLAC
87 select BR2_PACKAGE_FLAC
89 Enable flac input/streaming support.
90 Select this if you want to play back FLAC files.
92 config BR2_PACKAGE_MPD_LIBSNDFILE
94 select BR2_PACKAGE_LIBSNDFILE
96 Enable libsndfile input/streaming support.
97 Select this if you want to play back WAV files.
99 config BR2_PACKAGE_MPD_MAD
102 select BR2_PACKAGE_LIBID3TAG
103 select BR2_PACKAGE_LIBMAD
105 Enable mad input support.
106 Select this if you want to play back MP3 files.
108 config BR2_PACKAGE_MPD_MPG123
110 select BR2_PACKAGE_LIBID3TAG
111 select BR2_PACKAGE_MPG123
113 Enable mpg123 input support.
114 Select this if you want to play back MP3 files.
116 config BR2_PACKAGE_MPD_MUSEPACK
118 select BR2_PACKAGE_LIBCUEFILE
119 select BR2_PACKAGE_LIBREPLAYGAIN
120 select BR2_PACKAGE_MUSEPACK
122 Enable musepack input support.
123 Select this if you want to play back MPC files.
125 config BR2_PACKAGE_MPD_OPUS
127 select BR2_PACKAGE_OPUS
128 select BR2_PACKAGE_LIBOGG
130 Enable opus input support.
131 Select this if you want to play back OPUS encoded files.
133 config BR2_PACKAGE_MPD_TREMOR
135 select BR2_PACKAGE_LIBOGG
136 select BR2_PACKAGE_TREMOR
138 Enable vorbis input support.
139 Select this if you want to play back OGG files on softfloat
142 config BR2_PACKAGE_MPD_VORBIS
144 select BR2_PACKAGE_LIBOGG
145 select BR2_PACKAGE_LIBVORBIS
147 Enable vorbis input/streaming support.
148 Select this if you want to play back OGG files on hardfloat
151 config BR2_PACKAGE_MPD_WAVPACK
153 select BR2_PACKAGE_WAVPACK
155 Enable wavpack input support.
156 Select this if you want to play back WV files.
158 comment "Encoder plugins"
160 config BR2_PACKAGE_MPD_LAME
162 select BR2_PACKAGE_LAME
164 Enable lame (mp3) encoding support.
166 config BR2_PACKAGE_MPD_TWOLAME
168 select BR2_PACKAGE_TWOLAME
170 Enable TwoLAME mp2 encoding.
172 comment "Input plugins"
174 config BR2_PACKAGE_MPD_CURL
176 select BR2_PACKAGE_LIBCURL
178 Enable curl streaming (http) support.
180 config BR2_PACKAGE_MPD_LIBNFS
183 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
184 select BR2_PACKAGE_LIBNFS
186 Enable Network File System (NFS) support.
188 comment "nfs support needs a toolchain w/ threads support"
189 depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
191 comment "samba support needs a glibc toolchain w/ dynamic library, RPC"
192 depends on !BR2_nios2
193 depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
194 !BR2_TOOLCHAIN_HAS_NATIVE_RPC
196 config BR2_PACKAGE_MPD_LIBSMBCLIENT
198 depends on !BR2_nios2 # samba
199 depends on BR2_TOOLCHAIN_USES_GLIBC
200 depends on !BR2_STATIC_LIBS
201 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
202 depends on BR2_TOOLCHAIN_HAS_SYNC_4
203 select BR2_PACKAGE_SAMBA4
205 Enable Samba support.
207 config BR2_PACKAGE_MPD_SOUNDCLOUD
209 select BR2_PACKAGE_YAJL
211 Enable soundcloud.com playlist support.
213 comment "Output plugins"
215 config BR2_PACKAGE_MPD_ALSA
218 select BR2_PACKAGE_ALSA_LIB
219 select BR2_PACKAGE_ALSA_LIB_PCM
220 select BR2_PACKAGE_ALSA_LIB_MIXER
222 Enable alsa output support.
224 config BR2_PACKAGE_MPD_AO
226 select BR2_PACKAGE_LIBAO
228 Enable libao output support.
230 config BR2_PACKAGE_MPD_HTTPD_OUTPUT
233 Enable httpd output support.
235 config BR2_PACKAGE_MPD_JACK2
237 depends on !BR2_STATIC_LIBS # jack2
238 depends on BR2_TOOLCHAIN_HAS_SYNC_4
239 select BR2_PACKAGE_JACK2
241 Enable jack output support.
243 comment "jack support needs a toolchain w/ dynamic library"
244 depends on BR2_TOOLCHAIN_HAS_SYNC_4
245 depends on BR2_STATIC_LIBS
247 config BR2_PACKAGE_MPD_OSS
250 Enable OSS (Open Sound System) output support.
252 config BR2_PACKAGE_MPD_PULSEAUDIO
254 depends on !BR2_STATIC_LIBS # pulseaudio
255 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
256 select BR2_PACKAGE_PULSEAUDIO
258 Enable pulseaudio output support.
260 comment "pulseaudio support needs a toolchain w/ dynamic library"
261 depends on BR2_TOOLCHAIN_HAS_SYNC_4
262 depends on BR2_STATIC_LIBS
264 config BR2_PACKAGE_MPD_SHOUTCAST
266 select BR2_PACKAGE_LIBSHOUT
268 Enable shoutcast streaming output support.
270 comment "Miscellaneous plugins"
272 config BR2_PACKAGE_MPD_AVAHI_SUPPORT
273 bool "avahi (zeroconf) support"
274 depends on !BR2_STATIC_LIBS # avahi
275 select BR2_PACKAGE_AVAHI
276 select BR2_PACKAGE_AVAHI_DAEMON
277 select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
279 Enable Avahi (zeroconf) support.
280 Select this for multicast DNS/DNS-SD service discovery
281 support. This allows MPD to publish service information on a
284 comment "avahi support needs a toolchain w/ dynamic library"
285 depends on BR2_STATIC_LIBS
287 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
288 bool "neighbor discovery support"
289 depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
291 Enable support for neighbor discovery.
292 This option can be used in conjunction with the smbclient
293 plugin to provide a list of SMB/CIFS servers or with the
294 UPnP plugin to provide a list of UPnP servers on the local
295 network. The neighbor plugin needs configuration in
296 mpd.conf. For further information take a look at the MPD
299 config BR2_PACKAGE_MPD_TCP
303 Enable MPD to listen on tcp sockets.
305 You want this on if MPD and the client(s) work
306 on different machines (the usual scenario).
308 config BR2_PACKAGE_MPD_UPNP
310 select BR2_PACKAGE_EXPAT
311 select BR2_PACKAGE_LIBUPNP
313 Enable MPD UPnP client support.
317 comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
318 depends on BR2_USE_MMU
319 depends on BR2_TOOLCHAIN_HAS_ATOMIC
320 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
321 !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9