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 # sparc & CS powerpc gcc are too old
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)
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 select BR2_PACKAGE_FFMPEG
83 Enable ffmpeg input support.
84 Select this if you want to play back files supported by
87 config BR2_PACKAGE_MPD_FLAC
89 select BR2_PACKAGE_FLAC
91 Enable flac input/streaming support.
92 Select this if you want to play back FLAC files.
94 config BR2_PACKAGE_MPD_LIBSNDFILE
96 select BR2_PACKAGE_LIBSNDFILE
98 Enable libsndfile input/streaming support.
99 Select this if you want to play back WAV files.
101 config BR2_PACKAGE_MPD_MAD
104 select BR2_PACKAGE_LIBID3TAG
105 select BR2_PACKAGE_LIBMAD
107 Enable mad input support.
108 Select this if you want to play back MP3 files.
110 config BR2_PACKAGE_MPD_MPG123
112 select BR2_PACKAGE_LIBID3TAG
113 select BR2_PACKAGE_MPG123
115 Enable mpg123 input support.
116 Select this if you want to play back MP3 files.
118 config BR2_PACKAGE_MPD_MUSEPACK
120 select BR2_PACKAGE_LIBCUEFILE
121 select BR2_PACKAGE_LIBREPLAYGAIN
122 select BR2_PACKAGE_MUSEPACK
124 Enable musepack input support.
125 Select this if you want to play back MPC files.
127 config BR2_PACKAGE_MPD_OPUS
129 select BR2_PACKAGE_OPUS
130 select BR2_PACKAGE_LIBOGG
132 Enable opus input support.
133 Select this if you want to play back OPUS encoded files.
135 config BR2_PACKAGE_MPD_TREMOR
137 select BR2_PACKAGE_LIBOGG
138 select BR2_PACKAGE_TREMOR
140 Enable vorbis input support.
141 Select this if you want to play back OGG files on softfloat
144 config BR2_PACKAGE_MPD_VORBIS
146 select BR2_PACKAGE_LIBOGG
147 select BR2_PACKAGE_LIBVORBIS
149 Enable vorbis input/streaming support.
150 Select this if you want to play back OGG files on hardfloat
153 config BR2_PACKAGE_MPD_WAVPACK
155 select BR2_PACKAGE_WAVPACK
157 Enable wavpack input support.
158 Select this if you want to play back WV files.
160 comment "Encoder plugins"
162 config BR2_PACKAGE_MPD_LAME
164 select BR2_PACKAGE_LAME
166 Enable lame (mp3) encoding support.
168 config BR2_PACKAGE_MPD_TWOLAME
170 select BR2_PACKAGE_TWOLAME
172 Enable TwoLAME mp2 encoding.
174 comment "Input plugins"
176 config BR2_PACKAGE_MPD_CURL
178 select BR2_PACKAGE_LIBCURL
180 Enable curl streaming (http) support.
182 config BR2_PACKAGE_MPD_LIBNFS
184 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
185 select BR2_PACKAGE_LIBNFS
187 Enable Network File System (NFS) support.
189 comment "nfs support needs a toolchain w/ RPC"
190 depends on !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"
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