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 # 0.19.x could be built with GCC 4.6, but for simplicity we require
9 # the same toolchain dependencies for all versions.
10 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
11 select BR2_PACKAGE_BOOST
12 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
13 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)
15 MPD is a flexible, powerful, server-side application
16 for playing music. Through plugins and libraries
17 it can play a variety of sound files while being
18 controlled by its network protocol.
20 http://www.musicpd.org
24 # Hidden config symbols to select the branch 0.20 by default and fallback
25 # to branch 0.19 for toolchains affected by GCC bug PR 64735. This way we
26 # keep support for mpd on some architectures, like ARMv5, until GCC 7 is
27 # released, which will fix this issue.
28 config BR2_PACKAGE_MPD_VERSION_STRING
30 default "0.20" if !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
33 config BR2_PACKAGE_MPD_VERSION_0_20
35 default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.20"
37 config BR2_PACKAGE_MPD_VERSION_0_19
39 default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.19"
40 select BR2_PACKAGE_LIBGLIB2
42 comment "Archive plugins"
44 config BR2_PACKAGE_MPD_BZIP2
46 select BR2_PACKAGE_BZIP2
48 Enable bzip2 archive support.
50 config BR2_PACKAGE_MPD_SQLITE
52 select BR2_PACKAGE_SQLITE
54 Enable sqlite database support.
55 If you don't use sqlite it will use an ASCII database.
57 comment "Converter plugins"
59 config BR2_PACKAGE_MPD_LIBSAMPLERATE
61 select BR2_PACKAGE_LIBSAMPLERATE
63 Enable libsamplerate input support.
64 Select this for software sample rate conversion.
66 config BR2_PACKAGE_MPD_LIBSOXR
68 select BR2_PACKAGE_LIBSOXR
70 Enable libsoxr resampler support.
71 The SoX Resampler library performs software sample-rate
74 comment "Decoder plugins"
76 config BR2_PACKAGE_MPD_AUDIOFILE
78 select BR2_PACKAGE_AUDIOFILE
80 Enable audiofile input/streaming support.
81 Select this if you want to play back WAV files.
83 config BR2_PACKAGE_MPD_DSD
86 Enable Digital Speech Decoder (DSD) support to play audio
87 files encoded in a digital speech format.
89 config BR2_PACKAGE_MPD_FAAD2
91 select BR2_PACKAGE_FAAD2
93 Enable faad2 input support.
94 Select this if you want to play back MP4/AAC files.
96 config BR2_PACKAGE_MPD_FFMPEG
98 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
99 select BR2_PACKAGE_FFMPEG
101 Enable ffmpeg input support.
102 Select this if you want to play back files supported by
105 config BR2_PACKAGE_MPD_FLAC
107 select BR2_PACKAGE_FLAC
109 Enable flac input/streaming support.
110 Select this if you want to play back FLAC files.
112 config BR2_PACKAGE_MPD_LIBSNDFILE
114 select BR2_PACKAGE_LIBSNDFILE
116 Enable libsndfile input/streaming support.
117 Select this if you want to play back WAV files.
119 config BR2_PACKAGE_MPD_MAD
122 select BR2_PACKAGE_LIBID3TAG
123 select BR2_PACKAGE_LIBMAD
125 Enable mad input support.
126 Select this if you want to play back MP3 files.
128 config BR2_PACKAGE_MPD_MPG123
130 select BR2_PACKAGE_LIBID3TAG
131 select BR2_PACKAGE_MPG123
133 Enable mpg123 input support.
134 Select this if you want to play back MP3 files.
136 config BR2_PACKAGE_MPD_MUSEPACK
138 select BR2_PACKAGE_LIBCUEFILE
139 select BR2_PACKAGE_LIBREPLAYGAIN
140 select BR2_PACKAGE_MUSEPACK
142 Enable musepack input support.
143 Select this if you want to play back MPC files.
145 config BR2_PACKAGE_MPD_OPUS
147 select BR2_PACKAGE_OPUS
148 select BR2_PACKAGE_LIBOGG
150 Enable opus input support.
151 Select this if you want to play back OPUS encoded files.
153 config BR2_PACKAGE_MPD_TREMOR
155 select BR2_PACKAGE_LIBOGG
156 select BR2_PACKAGE_TREMOR
158 Enable vorbis input support.
159 Select this if you want to play back OGG files on softfloat
162 config BR2_PACKAGE_MPD_VORBIS
164 select BR2_PACKAGE_LIBOGG
165 select BR2_PACKAGE_LIBVORBIS
167 Enable vorbis input/streaming support.
168 Select this if you want to play back OGG files on hardfloat
171 config BR2_PACKAGE_MPD_WAVPACK
173 select BR2_PACKAGE_WAVPACK
175 Enable wavpack input support.
176 Select this if you want to play back WV files.
178 comment "Encoder plugins"
180 config BR2_PACKAGE_MPD_LAME
182 select BR2_PACKAGE_LAME
184 Enable lame (mp3) encoding support.
186 config BR2_PACKAGE_MPD_TWOLAME
188 select BR2_PACKAGE_TWOLAME
190 Enable TwoLAME mp2 encoding.
192 comment "Input plugins"
194 config BR2_PACKAGE_MPD_CURL
196 select BR2_PACKAGE_LIBCURL
198 Enable curl streaming (http) support.
200 config BR2_PACKAGE_MPD_LIBNFS
203 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
204 select BR2_PACKAGE_LIBNFS
206 Enable Network File System (NFS) support.
208 comment "nfs support needs a toolchain w/ threads support"
209 depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
211 comment "samba support needs a glibc toolchain w/ dynamic library, RPC"
212 depends on !BR2_nios2
213 depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
214 !BR2_TOOLCHAIN_HAS_NATIVE_RPC
216 config BR2_PACKAGE_MPD_LIBSMBCLIENT
218 depends on !BR2_nios2 # samba
219 depends on BR2_TOOLCHAIN_USES_GLIBC
220 depends on !BR2_STATIC_LIBS
221 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
222 depends on BR2_TOOLCHAIN_HAS_SYNC_4
223 select BR2_PACKAGE_SAMBA4
225 Enable Samba support.
227 config BR2_PACKAGE_MPD_SOUNDCLOUD
229 select BR2_PACKAGE_YAJL
231 Enable soundcloud.com playlist support.
233 comment "Output plugins"
235 config BR2_PACKAGE_MPD_ALSA
238 select BR2_PACKAGE_ALSA_LIB
239 select BR2_PACKAGE_ALSA_LIB_PCM
240 select BR2_PACKAGE_ALSA_LIB_MIXER
242 Enable alsa output support.
244 config BR2_PACKAGE_MPD_AO
246 select BR2_PACKAGE_LIBAO
248 Enable libao output support.
250 config BR2_PACKAGE_MPD_HTTPD_OUTPUT
253 Enable httpd output support.
255 config BR2_PACKAGE_MPD_JACK2
257 depends on !BR2_STATIC_LIBS # jack2
258 depends on BR2_TOOLCHAIN_HAS_SYNC_4
259 select BR2_PACKAGE_JACK2
261 Enable jack output support.
263 comment "jack support needs a toolchain w/ dynamic library"
264 depends on BR2_TOOLCHAIN_HAS_SYNC_4
265 depends on BR2_STATIC_LIBS
267 config BR2_PACKAGE_MPD_OSS
270 Enable OSS (Open Sound System) output support.
272 config BR2_PACKAGE_MPD_PULSEAUDIO
274 depends on !BR2_STATIC_LIBS # pulseaudio
275 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
276 select BR2_PACKAGE_PULSEAUDIO
278 Enable pulseaudio output support.
280 comment "pulseaudio support needs a toolchain w/ dynamic library"
281 depends on BR2_TOOLCHAIN_HAS_SYNC_4
282 depends on BR2_STATIC_LIBS
284 config BR2_PACKAGE_MPD_SHOUTCAST
286 select BR2_PACKAGE_LIBSHOUT
288 Enable shoutcast streaming output support.
290 comment "Miscellaneous plugins"
292 config BR2_PACKAGE_MPD_AVAHI_SUPPORT
293 bool "avahi (zeroconf) support"
294 depends on !BR2_STATIC_LIBS # avahi
295 select BR2_PACKAGE_AVAHI
296 select BR2_PACKAGE_AVAHI_DAEMON
297 select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
299 Enable Avahi (zeroconf) support.
300 Select this for multicast DNS/DNS-SD service discovery
301 support. This allows MPD to publish service information on a
304 comment "avahi support needs a toolchain w/ dynamic library"
305 depends on BR2_STATIC_LIBS
307 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
308 bool "neighbor discovery support"
309 depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
311 Enable support for neighbor discovery.
312 This option can be used in conjunction with the smbclient
313 plugin to provide a list of SMB/CIFS servers or with the
314 UPnP plugin to provide a list of UPnP servers on the local
315 network. The neighbor plugin needs configuration in
316 mpd.conf. For further information take a look at the MPD
319 config BR2_PACKAGE_MPD_TCP
323 Enable MPD to listen on tcp sockets.
325 You want this on if MPD and the client(s) work
326 on different machines (the usual scenario).
328 config BR2_PACKAGE_MPD_UPNP
330 select BR2_PACKAGE_EXPAT
331 select BR2_PACKAGE_LIBUPNP
333 Enable MPD UPnP client support.
337 comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
338 depends on BR2_USE_MMU
339 depends on BR2_TOOLCHAIN_HAS_ATOMIC
340 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
341 !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9