xref: /OK3568_Linux_fs/buildroot/package/mpd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenuconfig BR2_PACKAGE_MPD
2*4882a593Smuzhiyun	bool "mpd"
3*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
4*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # flac
5*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
6*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_ATOMIC
8*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
9*4882a593Smuzhiyun	depends on BR2_HOST_GCC_AT_LEAST_8 # C++17
10*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST
11*4882a593Smuzhiyun	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  MPD is a flexible, powerful, server-side application
14*4882a593Smuzhiyun	  for playing music. Through plugins and libraries
15*4882a593Smuzhiyun	  it can play a variety of sound files while being
16*4882a593Smuzhiyun	  controlled by its network protocol.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	  http://www.musicpd.org
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunif BR2_PACKAGE_MPD
21*4882a593Smuzhiyun
22*4882a593Smuzhiyuncomment "Archive plugins"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_BZIP2
25*4882a593Smuzhiyun	bool "bzip2"
26*4882a593Smuzhiyun	select BR2_PACKAGE_BZIP2
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  Enable bzip2 archive support.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_SQLITE
31*4882a593Smuzhiyun	bool "sqlite"
32*4882a593Smuzhiyun	select BR2_PACKAGE_SQLITE
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  Enable sqlite database support.
35*4882a593Smuzhiyun	  If you don't use sqlite it will use an ASCII database.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_ZZIP
38*4882a593Smuzhiyun	bool "zzip"
39*4882a593Smuzhiyun	select BR2_PACKAGE_ZZIPLIB
40*4882a593Smuzhiyun	help
41*4882a593Smuzhiyun	  Enable ZIP archive support.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyuncomment "Commercial services"
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_QOBUZ
46*4882a593Smuzhiyun	bool "qobuz"
47*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
48*4882a593Smuzhiyun	select BR2_PACKAGE_MPD_CURL
49*4882a593Smuzhiyun	select BR2_PACKAGE_LIBGCRYPT
50*4882a593Smuzhiyun	select BR2_PACKAGE_YAJL
51*4882a593Smuzhiyun	help
52*4882a593Smuzhiyun	  Play songs from the commercial streaming service Qobuz.
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_SOUNDCLOUD
55*4882a593Smuzhiyun	bool "soundcloud"
56*4882a593Smuzhiyun	select BR2_PACKAGE_MPD_CURL
57*4882a593Smuzhiyun	select BR2_PACKAGE_YAJL
58*4882a593Smuzhiyun	help
59*4882a593Smuzhiyun	  Enable soundcloud.com playlist support.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyuncomment "Converter plugins"
62*4882a593Smuzhiyun
63*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBSAMPLERATE
64*4882a593Smuzhiyun	bool "libsamplerate"
65*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSAMPLERATE
66*4882a593Smuzhiyun	help
67*4882a593Smuzhiyun	  Enable libsamplerate input support.
68*4882a593Smuzhiyun	  Select this for software sample rate conversion.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBSOXR
71*4882a593Smuzhiyun	bool "libsoxr"
72*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSOXR
73*4882a593Smuzhiyun	help
74*4882a593Smuzhiyun	  Enable libsoxr resampler support.
75*4882a593Smuzhiyun	  The SoX Resampler library performs software sample-rate
76*4882a593Smuzhiyun	  conversion.
77*4882a593Smuzhiyun
78*4882a593Smuzhiyuncomment "Decoder plugins"
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_DSD
81*4882a593Smuzhiyun	bool "dsd"
82*4882a593Smuzhiyun	help
83*4882a593Smuzhiyun	  Enable Digital Speech Decoder (DSD) support to play audio
84*4882a593Smuzhiyun	  files encoded in a digital speech format.
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_FAAD2
87*4882a593Smuzhiyun	bool "faad2"
88*4882a593Smuzhiyun	select BR2_PACKAGE_FAAD2
89*4882a593Smuzhiyun	help
90*4882a593Smuzhiyun	  Enable faad2 input support.
91*4882a593Smuzhiyun	  Select this if you want to play back MP4/AAC files.
92*4882a593Smuzhiyun
93*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_FFMPEG
94*4882a593Smuzhiyun	bool "ffmpeg"
95*4882a593Smuzhiyun	depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
96*4882a593Smuzhiyun	select BR2_PACKAGE_FFMPEG
97*4882a593Smuzhiyun	help
98*4882a593Smuzhiyun	  Enable ffmpeg input support.
99*4882a593Smuzhiyun	  Select this if you want to play back files supported by
100*4882a593Smuzhiyun	  ffmpeg.
101*4882a593Smuzhiyun
102*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_FLAC
103*4882a593Smuzhiyun	bool "flac"
104*4882a593Smuzhiyun	select BR2_PACKAGE_FLAC
105*4882a593Smuzhiyun	help
106*4882a593Smuzhiyun	  Enable flac input/streaming support.
107*4882a593Smuzhiyun	  Select this if you want to play back FLAC files.
108*4882a593Smuzhiyun
109*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_FLUIDSYNTH
110*4882a593Smuzhiyun	bool "fluidsynth"
111*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
112*4882a593Smuzhiyun	select BR2_PACKAGE_FLUIDSYNTH
113*4882a593Smuzhiyun	help
114*4882a593Smuzhiyun	  Enable fluidsynth MIDI decoder support.
115*4882a593Smuzhiyun
116*4882a593Smuzhiyuncomment "fluidsynth support needs a toolchain w/ dynamic library"
117*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
118*4882a593Smuzhiyun
119*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBSNDFILE
120*4882a593Smuzhiyun	bool "libsndfile"
121*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSNDFILE
122*4882a593Smuzhiyun	help
123*4882a593Smuzhiyun	  Enable libsndfile input/streaming support.
124*4882a593Smuzhiyun	  Select this if you want to play back WAV files.
125*4882a593Smuzhiyun
126*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_MAD
127*4882a593Smuzhiyun	bool "mad"
128*4882a593Smuzhiyun	default y
129*4882a593Smuzhiyun	select BR2_PACKAGE_LIBID3TAG
130*4882a593Smuzhiyun	select BR2_PACKAGE_LIBMAD
131*4882a593Smuzhiyun	help
132*4882a593Smuzhiyun	  Enable mad input support.
133*4882a593Smuzhiyun	  Select this if you want to play back MP3 files.
134*4882a593Smuzhiyun
135*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_MODPLUG
136*4882a593Smuzhiyun	bool "modplug"
137*4882a593Smuzhiyun	select BR2_PACKAGE_LIBMODPLUG
138*4882a593Smuzhiyun	help
139*4882a593Smuzhiyun	  Enable Modplug decoder support.
140*4882a593Smuzhiyun
141*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_MPG123
142*4882a593Smuzhiyun	bool "mpg123"
143*4882a593Smuzhiyun	select BR2_PACKAGE_LIBID3TAG
144*4882a593Smuzhiyun	select BR2_PACKAGE_MPG123
145*4882a593Smuzhiyun	help
146*4882a593Smuzhiyun	  Enable mpg123 input support.
147*4882a593Smuzhiyun	  Select this if you want to play back MP3 files.
148*4882a593Smuzhiyun
149*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_MUSEPACK
150*4882a593Smuzhiyun	bool "musepack"
151*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCUEFILE
152*4882a593Smuzhiyun	select BR2_PACKAGE_LIBREPLAYGAIN
153*4882a593Smuzhiyun	select BR2_PACKAGE_MUSEPACK
154*4882a593Smuzhiyun	help
155*4882a593Smuzhiyun	  Enable musepack input support.
156*4882a593Smuzhiyun	  Select this if you want to play back MPC files.
157*4882a593Smuzhiyun
158*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_OPUS
159*4882a593Smuzhiyun	bool "opus"
160*4882a593Smuzhiyun	select BR2_PACKAGE_OPUS
161*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOGG
162*4882a593Smuzhiyun	help
163*4882a593Smuzhiyun	  Enable opus input support.
164*4882a593Smuzhiyun	  Select this if you want to play back OPUS encoded files.
165*4882a593Smuzhiyun
166*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_SIDPLAY
167*4882a593Smuzhiyun	bool "sidplay"
168*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSIDPLAY2
169*4882a593Smuzhiyun	help
170*4882a593Smuzhiyun	  Enable C64 SID support.
171*4882a593Smuzhiyun
172*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_TREMOR
173*4882a593Smuzhiyun	bool "tremor"
174*4882a593Smuzhiyun	depends on !BR2_PACKAGE_MPD_VORBIS
175*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOGG
176*4882a593Smuzhiyun	select BR2_PACKAGE_TREMOR
177*4882a593Smuzhiyun	help
178*4882a593Smuzhiyun	  Enable vorbis input support.
179*4882a593Smuzhiyun	  Select this if you want to play back OGG files on softfloat
180*4882a593Smuzhiyun	  targets.
181*4882a593Smuzhiyun
182*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_VORBIS
183*4882a593Smuzhiyun	bool "vorbis"
184*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOGG
185*4882a593Smuzhiyun	select BR2_PACKAGE_LIBVORBIS
186*4882a593Smuzhiyun	help
187*4882a593Smuzhiyun	  Enable vorbis input/streaming support.
188*4882a593Smuzhiyun	  Select this if you want to play back OGG files on hardfloat
189*4882a593Smuzhiyun	  targets.
190*4882a593Smuzhiyun
191*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_WAVPACK
192*4882a593Smuzhiyun	bool "wavpack"
193*4882a593Smuzhiyun	select BR2_PACKAGE_WAVPACK
194*4882a593Smuzhiyun	help
195*4882a593Smuzhiyun	  Enable wavpack input support.
196*4882a593Smuzhiyun	  Select this if you want to play back WV files.
197*4882a593Smuzhiyun
198*4882a593Smuzhiyuncomment "Encoder plugins"
199*4882a593Smuzhiyun
200*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LAME
201*4882a593Smuzhiyun	bool "lame"
202*4882a593Smuzhiyun	select BR2_PACKAGE_LAME
203*4882a593Smuzhiyun	help
204*4882a593Smuzhiyun	  Enable lame (mp3) encoding support.
205*4882a593Smuzhiyun
206*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_TWOLAME
207*4882a593Smuzhiyun	bool "twolame"
208*4882a593Smuzhiyun	select BR2_PACKAGE_TWOLAME
209*4882a593Smuzhiyun	help
210*4882a593Smuzhiyun	  Enable TwoLAME mp2 encoding.
211*4882a593Smuzhiyun
212*4882a593Smuzhiyuncomment "Input plugins"
213*4882a593Smuzhiyun
214*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_CDIO_PARANOIA
215*4882a593Smuzhiyun	bool "cdio-paranoia"
216*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCDIO_PARANOIA
217*4882a593Smuzhiyun	help
218*4882a593Smuzhiyun	  Enable cdio-paranoia support.
219*4882a593Smuzhiyun
220*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_CURL
221*4882a593Smuzhiyun	bool "curl"
222*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCURL
223*4882a593Smuzhiyun	help
224*4882a593Smuzhiyun	  Enable curl streaming (http) support.
225*4882a593Smuzhiyun
226*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBMMS
227*4882a593Smuzhiyun	bool "mms"
228*4882a593Smuzhiyun	select BR2_PACKAGE_LIBMMS
229*4882a593Smuzhiyun	help
230*4882a593Smuzhiyun	  Enable MMS support.
231*4882a593Smuzhiyun
232*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBNFS
233*4882a593Smuzhiyun	bool "nfs"
234*4882a593Smuzhiyun	# libnfs -> libtirpc
235*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
236*4882a593Smuzhiyun	select BR2_PACKAGE_LIBNFS
237*4882a593Smuzhiyun	help
238*4882a593Smuzhiyun	  Enable Network File System (NFS) support.
239*4882a593Smuzhiyun
240*4882a593Smuzhiyuncomment "nfs support needs a toolchain w/ threads support"
241*4882a593Smuzhiyun	depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
242*4882a593Smuzhiyun
243*4882a593Smuzhiyuncomment "samba support needs a glibc toolchain w/ dynamic library, RPC"
244*4882a593Smuzhiyun	depends on !BR2_nios2
245*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
246*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_NATIVE_RPC
247*4882a593Smuzhiyun
248*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBSMBCLIENT
249*4882a593Smuzhiyun	bool "samba"
250*4882a593Smuzhiyun	depends on !BR2_nios2 # samba
251*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC
252*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
253*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
254*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
255*4882a593Smuzhiyun	select BR2_PACKAGE_SAMBA4
256*4882a593Smuzhiyun	help
257*4882a593Smuzhiyun	  Enable Samba support.
258*4882a593Smuzhiyun
259*4882a593Smuzhiyuncomment "Output plugins"
260*4882a593Smuzhiyun
261*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_ALSA
262*4882a593Smuzhiyun	bool "alsa"
263*4882a593Smuzhiyun	default y
264*4882a593Smuzhiyun	select BR2_PACKAGE_ALSA_LIB
265*4882a593Smuzhiyun	select BR2_PACKAGE_ALSA_LIB_PCM
266*4882a593Smuzhiyun	select BR2_PACKAGE_ALSA_LIB_MIXER
267*4882a593Smuzhiyun	help
268*4882a593Smuzhiyun	  Enable alsa output support.
269*4882a593Smuzhiyun
270*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_AO
271*4882a593Smuzhiyun	bool "ao"
272*4882a593Smuzhiyun	select BR2_PACKAGE_LIBAO
273*4882a593Smuzhiyun	help
274*4882a593Smuzhiyun	  Enable libao output support.
275*4882a593Smuzhiyun
276*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_HTTPD_OUTPUT
277*4882a593Smuzhiyun	bool "httpd output"
278*4882a593Smuzhiyun	help
279*4882a593Smuzhiyun	  Enable httpd output support.
280*4882a593Smuzhiyun
281*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_JACK2
282*4882a593Smuzhiyun	bool "jack2"
283*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # jack2
284*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
285*4882a593Smuzhiyun	select BR2_PACKAGE_JACK2
286*4882a593Smuzhiyun	help
287*4882a593Smuzhiyun	  Enable jack output support.
288*4882a593Smuzhiyun
289*4882a593Smuzhiyuncomment "jack support needs a toolchain w/ dynamic library"
290*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
291*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
292*4882a593Smuzhiyun
293*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_OPENAL
294*4882a593Smuzhiyun	bool "openal"
295*4882a593Smuzhiyun	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
296*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
297*4882a593Smuzhiyun	select BR2_PACKAGE_OPENAL
298*4882a593Smuzhiyun	help
299*4882a593Smuzhiyun	  Enable OpenAL output support.
300*4882a593Smuzhiyun
301*4882a593Smuzhiyuncomment "openal support needs a toolchain w/ NPTL"
302*4882a593Smuzhiyun	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
303*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
304*4882a593Smuzhiyun
305*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_OSS
306*4882a593Smuzhiyun	bool "oss"
307*4882a593Smuzhiyun	help
308*4882a593Smuzhiyun	  Enable OSS (Open Sound System) output support.
309*4882a593Smuzhiyun
310*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_PULSEAUDIO
311*4882a593Smuzhiyun	bool "pulseaudio"
312*4882a593Smuzhiyun	depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
313*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
314*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
315*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
316*4882a593Smuzhiyun	depends on BR2_USE_MMU
317*4882a593Smuzhiyun	select BR2_PACKAGE_PULSEAUDIO
318*4882a593Smuzhiyun	help
319*4882a593Smuzhiyun	  Enable pulseaudio output support.
320*4882a593Smuzhiyun
321*4882a593Smuzhiyuncomment "pulseaudio support needs a toolchain w/ threads, wchar, dynamic library"
322*4882a593Smuzhiyun	depends on BR2_USE_MMU
323*4882a593Smuzhiyun	depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
324*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || !BR2_USE_WCHAR
325*4882a593Smuzhiyun
326*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_SHOUTCAST
327*4882a593Smuzhiyun	bool "shoutcast"
328*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSHOUT
329*4882a593Smuzhiyun	help
330*4882a593Smuzhiyun	  Enable shoutcast streaming output support.
331*4882a593Smuzhiyun
332*4882a593Smuzhiyuncomment "Miscellaneous plugins"
333*4882a593Smuzhiyun
334*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_AVAHI_SUPPORT
335*4882a593Smuzhiyun	bool "avahi (zeroconf) support"
336*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # avahi
337*4882a593Smuzhiyun	select BR2_PACKAGE_AVAHI
338*4882a593Smuzhiyun	select BR2_PACKAGE_AVAHI_DAEMON
339*4882a593Smuzhiyun	select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
340*4882a593Smuzhiyun	help
341*4882a593Smuzhiyun	  Enable Avahi (zeroconf) support.
342*4882a593Smuzhiyun	  Select this for multicast DNS/DNS-SD service discovery
343*4882a593Smuzhiyun	  support. This allows MPD to publish service information on a
344*4882a593Smuzhiyun	  local network.
345*4882a593Smuzhiyun
346*4882a593Smuzhiyuncomment "avahi support needs a toolchain w/ dynamic library"
347*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
348*4882a593Smuzhiyun
349*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_LIBMPDCLIENT
350*4882a593Smuzhiyun	bool "libmpdclient"
351*4882a593Smuzhiyun	select BR2_PACKAGE_LIBMPDCLIENT
352*4882a593Smuzhiyun	help
353*4882a593Smuzhiyun	  Enable libmpdclient support.
354*4882a593Smuzhiyun
355*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
356*4882a593Smuzhiyun	bool "neighbor discovery support"
357*4882a593Smuzhiyun	depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
358*4882a593Smuzhiyun	help
359*4882a593Smuzhiyun	  Enable support for neighbor discovery.
360*4882a593Smuzhiyun	  This option can be used in conjunction with the smbclient
361*4882a593Smuzhiyun	  plugin to provide a list of SMB/CIFS servers or with the
362*4882a593Smuzhiyun	  UPnP plugin to provide a list of UPnP servers on the local
363*4882a593Smuzhiyun	  network. The neighbor plugin needs configuration in
364*4882a593Smuzhiyun	  mpd.conf. For further information take a look at the MPD
365*4882a593Smuzhiyun	  documentation.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_TCP
368*4882a593Smuzhiyun	bool "tcp sockets"
369*4882a593Smuzhiyun	default y
370*4882a593Smuzhiyun	help
371*4882a593Smuzhiyun	  Enable MPD to listen on tcp sockets.
372*4882a593Smuzhiyun
373*4882a593Smuzhiyun	  You want this on if MPD and the client(s) work
374*4882a593Smuzhiyun	  on different machines (the usual scenario).
375*4882a593Smuzhiyun
376*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_UPNP
377*4882a593Smuzhiyun	bool "UPnP"
378*4882a593Smuzhiyun	select BR2_PACKAGE_EXPAT
379*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUPNP
380*4882a593Smuzhiyun	select BR2_PACKAGE_MPD_CURL
381*4882a593Smuzhiyun	help
382*4882a593Smuzhiyun	  Enable MPD UPnP client support.
383*4882a593Smuzhiyun
384*4882a593Smuzhiyuncomment "Tag plugins"
385*4882a593Smuzhiyun
386*4882a593Smuzhiyunconfig BR2_PACKAGE_MPD_ID3TAG
387*4882a593Smuzhiyun	bool "id3tag"
388*4882a593Smuzhiyun	select BR2_PACKAGE_LIBID3TAG
389*4882a593Smuzhiyun	help
390*4882a593Smuzhiyun	  Enable ID3 support.
391*4882a593Smuzhiyun
392*4882a593Smuzhiyunendif
393*4882a593Smuzhiyun
394*4882a593Smuzhiyuncomment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 7, host gcc >= 7"
395*4882a593Smuzhiyun	depends on BR2_USE_MMU
396*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_ATOMIC
397*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
398*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_THREADS || \
399*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
400*4882a593Smuzhiyun		!BR2_HOST_GCC_AT_LEAST_8
401