1 menuconfig BR2_PACKAGE_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 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
8 depends on BR2_TOOLCHAIN_HAS_ATOMIC
9 select BR2_PACKAGE_BOOST
10 select BR2_PACKAGE_LIBGLIB2
11 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
12 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)
14 MPD is a flexible, powerful, server-side application
15 for playing music. Through plugins and libraries
16 it can play a variety of sound files while being
17 controlled by its network protocol.
19 http://www.musicpd.org
23 comment "Archive plugins"
25 config BR2_PACKAGE_MPD_BZIP2
27 select BR2_PACKAGE_BZIP2
29 Enable bzip2 archive support.
31 config BR2_PACKAGE_MPD_SQLITE
33 select BR2_PACKAGE_SQLITE
35 Enable sqlite database support.
36 If you don't use sqlite it will use an ASCII database.
38 comment "Converter plugins"
40 config BR2_PACKAGE_MPD_LIBSAMPLERATE
42 select BR2_PACKAGE_LIBSAMPLERATE
44 Enable libsamplerate input support.
45 Select this for software sample rate conversion.
47 config BR2_PACKAGE_MPD_LIBSOXR
49 select BR2_PACKAGE_LIBSOXR
51 Enable libsoxr resampler support.
52 The SoX Resampler library performs software sample-rate
55 comment "Decoder plugins"
57 config BR2_PACKAGE_MPD_AUDIOFILE
59 select BR2_PACKAGE_AUDIOFILE
61 Enable audiofile input/streaming support.
62 Select this if you want to play back WAV files.
64 config BR2_PACKAGE_MPD_DSD
67 Enable Digital Speech Decoder (DSD) support to play audio
68 files encoded in a digital speech format.
70 config BR2_PACKAGE_MPD_FAAD2
72 select BR2_PACKAGE_FAAD2
74 Enable faad2 input support.
75 Select this if you want to play back MP4/AAC files.
77 config BR2_PACKAGE_MPD_FFMPEG
79 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
80 select BR2_PACKAGE_FFMPEG
82 Enable ffmpeg input support.
83 Select this if you want to play back files supported by
86 config BR2_PACKAGE_MPD_FLAC
88 select BR2_PACKAGE_FLAC
90 Enable flac input/streaming support.
91 Select this if you want to play back FLAC files.
93 config BR2_PACKAGE_MPD_LIBSNDFILE
95 select BR2_PACKAGE_LIBSNDFILE
97 Enable libsndfile input/streaming support.
98 Select this if you want to play back WAV files.
100 config BR2_PACKAGE_MPD_MAD
103 select BR2_PACKAGE_LIBID3TAG
104 select BR2_PACKAGE_LIBMAD
106 Enable mad input support.
107 Select this if you want to play back MP3 files.
109 config BR2_PACKAGE_MPD_MPG123
111 select BR2_PACKAGE_LIBID3TAG
112 select BR2_PACKAGE_MPG123
114 Enable mpg123 input support.
115 Select this if you want to play back MP3 files.
117 config BR2_PACKAGE_MPD_MUSEPACK
119 select BR2_PACKAGE_LIBCUEFILE
120 select BR2_PACKAGE_LIBREPLAYGAIN
121 select BR2_PACKAGE_MUSEPACK
123 Enable musepack input support.
124 Select this if you want to play back MPC files.
126 config BR2_PACKAGE_MPD_OPUS
128 select BR2_PACKAGE_OPUS
129 select BR2_PACKAGE_LIBOGG
131 Enable opus input support.
132 Select this if you want to play back OPUS encoded files.
134 config BR2_PACKAGE_MPD_TREMOR
136 select BR2_PACKAGE_LIBOGG
137 select BR2_PACKAGE_TREMOR
139 Enable vorbis input support.
140 Select this if you want to play back OGG files on softfloat
143 config BR2_PACKAGE_MPD_VORBIS
145 select BR2_PACKAGE_LIBOGG
146 select BR2_PACKAGE_LIBVORBIS
148 Enable vorbis input/streaming support.
149 Select this if you want to play back OGG files on hardfloat
152 config BR2_PACKAGE_MPD_WAVPACK
154 select BR2_PACKAGE_WAVPACK
156 Enable wavpack input support.
157 Select this if you want to play back WV files.
159 comment "Encoder plugins"
161 config BR2_PACKAGE_MPD_LAME
163 select BR2_PACKAGE_LAME
165 Enable lame (mp3) encoding support.
167 config BR2_PACKAGE_MPD_TWOLAME
169 select BR2_PACKAGE_TWOLAME
171 Enable TwoLAME mp2 encoding.
173 comment "Input plugins"
175 config BR2_PACKAGE_MPD_CURL
177 select BR2_PACKAGE_LIBCURL
179 Enable curl streaming (http) support.
181 config BR2_PACKAGE_MPD_LIBNFS
184 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
185 select BR2_PACKAGE_LIBNFS
187 Enable Network File System (NFS) support.
189 comment "nfs support needs a toolchain w/ threads support"
190 depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
192 comment "samba support needs an (e)glibc toolchain w/ dynamic library, RPC"
193 depends on !BR2_nios2
194 depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
195 !BR2_TOOLCHAIN_HAS_NATIVE_RPC
197 config BR2_PACKAGE_MPD_LIBSMBCLIENT
199 depends on !BR2_nios2 # samba
200 depends on BR2_TOOLCHAIN_USES_GLIBC
201 depends on !BR2_STATIC_LIBS
202 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
203 depends on BR2_TOOLCHAIN_HAS_SYNC_4
204 select BR2_PACKAGE_SAMBA4
206 Enable Samba support.
208 config BR2_PACKAGE_MPD_SOUNDCLOUD
210 select BR2_PACKAGE_YAJL
212 Enable soundcloud.com playlist support.
214 comment "Output plugins"
216 config BR2_PACKAGE_MPD_ALSA
219 select BR2_PACKAGE_ALSA_LIB
220 select BR2_PACKAGE_ALSA_LIB_PCM
221 select BR2_PACKAGE_ALSA_LIB_MIXER
223 Enable alsa output support.
225 config BR2_PACKAGE_MPD_AO
227 select BR2_PACKAGE_LIBAO
229 Enable libao output support.
231 config BR2_PACKAGE_MPD_HTTPD_OUTPUT
234 Enable httpd output support.
236 config BR2_PACKAGE_MPD_JACK2
238 depends on !BR2_STATIC_LIBS # jack2
239 depends on BR2_TOOLCHAIN_HAS_SYNC_4
240 select BR2_PACKAGE_JACK2
242 Enable jack output support.
244 comment "jack support needs a toolchain w/ dynamic library"
245 depends on BR2_TOOLCHAIN_HAS_SYNC_4
246 depends on BR2_STATIC_LIBS
248 config BR2_PACKAGE_MPD_OSS
251 Enable OSS (Open Sound System) output support.
253 config BR2_PACKAGE_MPD_PULSEAUDIO
255 depends on !BR2_STATIC_LIBS # pulseaudio
256 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
257 select BR2_PACKAGE_PULSEAUDIO
259 Enable pulseaudio output support.
261 comment "pulseaudio support needs a toolchain w/ dynamic library"
262 depends on BR2_TOOLCHAIN_HAS_SYNC_4
263 depends on BR2_STATIC_LIBS
265 comment "Miscellaneous plugins"
267 config BR2_PACKAGE_MPD_AVAHI_SUPPORT
268 bool "avahi (zeroconf) support"
269 depends on !BR2_STATIC_LIBS # avahi
270 select BR2_PACKAGE_AVAHI
271 select BR2_PACKAGE_AVAHI_DAEMON
272 select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
274 Enable Avahi (zeroconf) support.
275 Select this for multicast DNS/DNS-SD service discovery
276 support. This allows MPD to publish service information on a
279 comment "avahi support needs a toolchain w/ dynamic library"
280 depends on BR2_STATIC_LIBS
282 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
283 bool "neighbor discovery support"
284 depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
286 Enable support for neighbor discovery.
287 This option can be used in conjunction with the smbclient
288 plugin to provide a list of SMB/CIFS servers or with the
289 UPnP plugin to provide a list of UPnP servers on the local
290 network. The neighbor plugin needs configuration in
291 mpd.conf. For further information take a look at the MPD
294 config BR2_PACKAGE_MPD_TCP
298 Enable MPD to listen on tcp sockets.
300 You want this on if MPD and the client(s) work
301 on different machines (the usual scenario).
303 config BR2_PACKAGE_MPD_UPNP
305 select BR2_PACKAGE_EXPAT
306 select BR2_PACKAGE_LIBUPNP
308 Enable MPD UPnP client support.
312 comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.6"
313 depends on BR2_USE_MMU
314 depends on BR2_TOOLCHAIN_HAS_ATOMIC
315 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
316 !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6