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_PACKAGE_BOOST_ARCH_SUPPORTS
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 select BR2_PACKAGE_FFMPEG
80 depends on !BR2_nios2 # 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"
193 depends on !BR2_TOOLCHAIN_USES_GLIBC
195 config BR2_PACKAGE_MPD_LIBSMBCLIENT
197 depends on !BR2_nios2 # samba
198 depends on BR2_TOOLCHAIN_USES_GLIBC
199 select BR2_PACKAGE_SAMBA4
201 Enable Samba support.
203 config BR2_PACKAGE_MPD_SOUNDCLOUD
205 select BR2_PACKAGE_YAJL
207 Enable soundcloud.com playlist support.
209 comment "Output plugins"
211 config BR2_PACKAGE_MPD_ALSA
214 select BR2_PACKAGE_ALSA_LIB
215 select BR2_PACKAGE_ALSA_LIB_PCM
216 select BR2_PACKAGE_ALSA_LIB_MIXER
218 Enable alsa output support.
220 config BR2_PACKAGE_MPD_AO
222 select BR2_PACKAGE_LIBAO
224 Enable libao output support.
226 config BR2_PACKAGE_MPD_JACK2
228 depends on BR2_ARCH_HAS_ATOMICS
229 depends on !BR2_STATIC_LIBS # jack2
230 select BR2_PACKAGE_JACK2
232 Enable jack output support.
234 comment "jack support needs a toolchain w/ dynamic library"
235 depends on BR2_STATIC_LIBS
237 config BR2_PACKAGE_MPD_OSS
240 Enable OSS (Open Sound System) output support.
242 config BR2_PACKAGE_MPD_PULSEAUDIO
244 depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
245 depends on !BR2_STATIC_LIBS # pulseaudio
246 select BR2_PACKAGE_PULSEAUDIO
248 Enable pulseaudio output support.
250 comment "pulseaudio support needs a toolchain w/ dynamic library"
251 depends on BR2_STATIC_LIBS
253 comment "Miscellaneous plugins"
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
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
267 comment "avahi support needs a toolchain w/ dynamic library"
268 depends on BR2_STATIC_LIBS
270 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
271 bool "neighbor discovery support"
272 depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
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
282 config BR2_PACKAGE_MPD_TCP
286 Enable MPD to listen on tcp sockets.
288 You want this on if MPD and the client(s) work
289 on different machines (the usual scenario).
291 config BR2_PACKAGE_MPD_UPNP
293 select BR2_PACKAGE_EXPAT
294 select BR2_PACKAGE_LIBUPNP
296 Enable MPD UPnP client support.
300 comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.6"
301 depends on BR2_USE_MMU
302 depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
303 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
304 !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6