gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / mpd / Config.in
blob8eabbbc7969767b1ec7fafff0dd3796c74d4e543
1 menuconfig BR2_PACKAGE_MPD
2         bool "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)
14         help
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
22 if BR2_PACKAGE_MPD
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
29         string
30         default "0.20" if !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
31         default "0.19"
33 config BR2_PACKAGE_MPD_VERSION_0_20
34         bool
35         default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.20"
37 config BR2_PACKAGE_MPD_VERSION_0_19
38         bool
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
45         bool "bzip2"
46         select BR2_PACKAGE_BZIP2
47         help
48           Enable bzip2 archive support.
50 config BR2_PACKAGE_MPD_SQLITE
51         bool "sqlite"
52         select BR2_PACKAGE_SQLITE
53         help
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
60         bool "libsamplerate"
61         select BR2_PACKAGE_LIBSAMPLERATE
62         help
63           Enable libsamplerate input support.
64           Select this for software sample rate conversion.
66 config BR2_PACKAGE_MPD_LIBSOXR
67         bool "libsoxr"
68         select BR2_PACKAGE_LIBSOXR
69         help
70           Enable libsoxr resampler support.
71           The SoX Resampler library performs software sample-rate
72           conversion.
74 comment "Decoder plugins"
76 config BR2_PACKAGE_MPD_AUDIOFILE
77         bool "audiofile"
78         select BR2_PACKAGE_AUDIOFILE
79         help
80           Enable audiofile input/streaming support.
81           Select this if you want to play back WAV files.
83 config BR2_PACKAGE_MPD_DSD
84         bool "dsd"
85         help
86           Enable Digital Speech Decoder (DSD) support to play audio
87           files encoded in a digital speech format.
89 config BR2_PACKAGE_MPD_FAAD2
90         bool "faad2"
91         select BR2_PACKAGE_FAAD2
92         help
93           Enable faad2 input support.
94           Select this if you want to play back MP4/AAC files.
96 config BR2_PACKAGE_MPD_FFMPEG
97         bool "ffmpeg"
98         depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
99         select BR2_PACKAGE_FFMPEG
100         help
101           Enable ffmpeg input support.
102           Select this if you want to play back files supported by
103           ffmpeg.
105 config BR2_PACKAGE_MPD_FLAC
106         bool "flac"
107         select BR2_PACKAGE_FLAC
108         help
109           Enable flac input/streaming support.
110           Select this if you want to play back FLAC files.
112 config BR2_PACKAGE_MPD_LIBSNDFILE
113         bool "libsndfile"
114         select BR2_PACKAGE_LIBSNDFILE
115         help
116           Enable libsndfile input/streaming support.
117           Select this if you want to play back WAV files.
119 config BR2_PACKAGE_MPD_MAD
120         bool "mad"
121         default y
122         select BR2_PACKAGE_LIBID3TAG
123         select BR2_PACKAGE_LIBMAD
124         help
125           Enable mad input support.
126           Select this if you want to play back MP3 files.
128 config BR2_PACKAGE_MPD_MPG123
129         bool "mpg123"
130         select BR2_PACKAGE_LIBID3TAG
131         select BR2_PACKAGE_MPG123
132         help
133           Enable mpg123 input support.
134           Select this if you want to play back MP3 files.
136 config BR2_PACKAGE_MPD_MUSEPACK
137         bool "musepack"
138         select BR2_PACKAGE_LIBCUEFILE
139         select BR2_PACKAGE_LIBREPLAYGAIN
140         select BR2_PACKAGE_MUSEPACK
141         help
142           Enable musepack input support.
143           Select this if you want to play back MPC files.
145 config BR2_PACKAGE_MPD_OPUS
146         bool "opus"
147         select BR2_PACKAGE_OPUS
148         select BR2_PACKAGE_LIBOGG
149         help
150           Enable opus input support.
151           Select this if you want to play back OPUS encoded files.
153 config BR2_PACKAGE_MPD_TREMOR
154         bool "tremor"
155         select BR2_PACKAGE_LIBOGG
156         select BR2_PACKAGE_TREMOR
157         help
158           Enable vorbis input support.
159           Select this if you want to play back OGG files on softfloat
160           targets.
162 config BR2_PACKAGE_MPD_VORBIS
163         bool "vorbis"
164         select BR2_PACKAGE_LIBOGG
165         select BR2_PACKAGE_LIBVORBIS
166         help
167           Enable vorbis input/streaming support.
168           Select this if you want to play back OGG files on hardfloat
169           targets.
171 config BR2_PACKAGE_MPD_WAVPACK
172         bool "wavpack"
173         select BR2_PACKAGE_WAVPACK
174         help
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
181         bool "lame"
182         select BR2_PACKAGE_LAME
183         help
184           Enable lame (mp3) encoding support.
186 config BR2_PACKAGE_MPD_TWOLAME
187         bool "twolame"
188         select BR2_PACKAGE_TWOLAME
189         help
190           Enable TwoLAME mp2 encoding.
192 comment "Input plugins"
194 config BR2_PACKAGE_MPD_CURL
195         bool "curl"
196         select BR2_PACKAGE_LIBCURL
197         help
198           Enable curl streaming (http) support.
200 config BR2_PACKAGE_MPD_LIBNFS
201         bool "nfs"
202         # libnfs -> libtirpc
203         depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
204         select BR2_PACKAGE_LIBNFS
205         help
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
217         bool "samba"
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
224         help
225           Enable Samba support.
227 config BR2_PACKAGE_MPD_SOUNDCLOUD
228         bool "soundcloud"
229         select BR2_PACKAGE_YAJL
230         help
231           Enable soundcloud.com playlist support.
233 comment "Output plugins"
235 config BR2_PACKAGE_MPD_ALSA
236         bool "alsa"
237         default y
238         select BR2_PACKAGE_ALSA_LIB
239         select BR2_PACKAGE_ALSA_LIB_PCM
240         select BR2_PACKAGE_ALSA_LIB_MIXER
241         help
242           Enable alsa output support.
244 config BR2_PACKAGE_MPD_AO
245         bool "ao"
246         select BR2_PACKAGE_LIBAO
247         help
248           Enable libao output support.
250 config BR2_PACKAGE_MPD_HTTPD_OUTPUT
251         bool "httpd output"
252         help
253           Enable httpd output support.
255 config BR2_PACKAGE_MPD_JACK2
256         bool "jack2"
257         depends on !BR2_STATIC_LIBS # jack2
258         depends on BR2_TOOLCHAIN_HAS_SYNC_4
259         select BR2_PACKAGE_JACK2
260         help
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
268         bool "oss"
269         help
270           Enable OSS (Open Sound System) output support.
272 config BR2_PACKAGE_MPD_PULSEAUDIO
273         bool "pulseaudio"
274         depends on !BR2_STATIC_LIBS # pulseaudio
275         depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
276         select BR2_PACKAGE_PULSEAUDIO
277         help
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
285         bool "shoutcast"
286         select BR2_PACKAGE_LIBSHOUT
287         help
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
298         help
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
302           local network.
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
310         help
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
317           documentation.
319 config BR2_PACKAGE_MPD_TCP
320         bool "tcp sockets"
321         default y
322         help
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
329         bool "UPnP"
330         select BR2_PACKAGE_EXPAT
331         select BR2_PACKAGE_LIBUPNP
332         help
333           Enable MPD UPnP client support.
335 endif
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