]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/mpd/Config.in
ffmpeg: mark as not available on nios2
[coffee/buildroot.git] / package / mpd / Config.in
1 menuconfig BR2_PACKAGE_MPD
2         bool "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)
13         help
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.
18
19           http://www.musicpd.org
20
21 if BR2_PACKAGE_MPD
22
23 comment "Archive plugins"
24
25 config BR2_PACKAGE_MPD_BZIP2
26         bool "bzip2"
27         select BR2_PACKAGE_BZIP2
28         help
29           Enable bzip2 archive support.
30
31 config BR2_PACKAGE_MPD_SQLITE
32         bool "sqlite"
33         select BR2_PACKAGE_SQLITE
34         help
35           Enable sqlite database support.
36           If you don't use sqlite it will use an ASCII database.
37
38 comment "Converter plugins"
39
40 config BR2_PACKAGE_MPD_LIBSAMPLERATE
41         bool "libsamplerate"
42         select BR2_PACKAGE_LIBSAMPLERATE
43         help
44           Enable libsamplerate input support.
45           Select this for software sample rate conversion.
46
47 config BR2_PACKAGE_MPD_LIBSOXR
48         bool "libsoxr"
49         select BR2_PACKAGE_LIBSOXR
50         help
51           Enable libsoxr resampler support.
52           The SoX Resampler library performs software sample-rate
53           conversion.
54
55 comment "Decoder plugins"
56
57 config BR2_PACKAGE_MPD_AUDIOFILE
58         bool "audiofile"
59         select BR2_PACKAGE_AUDIOFILE
60         help
61           Enable audiofile input/streaming support.
62           Select this if you want to play back WAV files.
63
64 config BR2_PACKAGE_MPD_DSD
65         bool "dsd"
66         help
67           Enable Digital Speech Decoder (DSD) support to play audio
68           files encoded in a digital speech format.
69
70 config BR2_PACKAGE_MPD_FAAD2
71         bool "faad2"
72         select BR2_PACKAGE_FAAD2
73         help
74           Enable faad2 input support.
75           Select this if you want to play back MP4/AAC files.
76
77 config BR2_PACKAGE_MPD_FFMPEG
78         bool "ffmpeg"
79         select BR2_PACKAGE_FFMPEG
80         depends on !BR2_nios2 # ffmpeg
81         help
82           Enable ffmpeg input support.
83           Select this if you want to play back files supported by
84           ffmpeg.
85
86 config BR2_PACKAGE_MPD_FLAC
87         bool "flac"
88         select BR2_PACKAGE_FLAC
89         help
90           Enable flac input/streaming support.
91           Select this if you want to play back FLAC files.
92
93 config BR2_PACKAGE_MPD_LIBSNDFILE
94         bool "libsndfile"
95         select BR2_PACKAGE_LIBSNDFILE
96         help
97           Enable libsndfile input/streaming support.
98           Select this if you want to play back WAV files.
99
100 config BR2_PACKAGE_MPD_MAD
101         bool "mad"
102         default y
103         select BR2_PACKAGE_LIBID3TAG
104         select BR2_PACKAGE_LIBMAD
105         help
106           Enable mad input support.
107           Select this if you want to play back MP3 files.
108
109 config BR2_PACKAGE_MPD_MPG123
110         bool "mpg123"
111         select BR2_PACKAGE_LIBID3TAG
112         select BR2_PACKAGE_MPG123
113         help
114           Enable mpg123 input support.
115           Select this if you want to play back MP3 files.
116
117 config BR2_PACKAGE_MPD_MUSEPACK
118         bool "musepack"
119         select BR2_PACKAGE_LIBCUEFILE
120         select BR2_PACKAGE_LIBREPLAYGAIN
121         select BR2_PACKAGE_MUSEPACK
122         help
123           Enable musepack input support.
124           Select this if you want to play back MPC files.
125
126 config BR2_PACKAGE_MPD_OPUS
127         bool "opus"
128         select BR2_PACKAGE_OPUS
129         select BR2_PACKAGE_LIBOGG
130         help
131           Enable opus input support.
132           Select this if you want to play back OPUS encoded files.
133
134 config BR2_PACKAGE_MPD_TREMOR
135         bool "tremor"
136         select BR2_PACKAGE_LIBOGG
137         select BR2_PACKAGE_TREMOR
138         help
139           Enable vorbis input support.
140           Select this if you want to play back OGG files on softfloat
141           targets.
142
143 config BR2_PACKAGE_MPD_VORBIS
144         bool "vorbis"
145         select BR2_PACKAGE_LIBOGG
146         select BR2_PACKAGE_LIBVORBIS
147         help
148           Enable vorbis input/streaming support.
149           Select this if you want to play back OGG files on hardfloat
150           targets.
151
152 config BR2_PACKAGE_MPD_WAVPACK
153         bool "wavpack"
154         select BR2_PACKAGE_WAVPACK
155         help
156           Enable wavpack input support.
157           Select this if you want to play back WV files.
158
159 comment "Encoder plugins"
160
161 config BR2_PACKAGE_MPD_LAME
162         bool "lame"
163         select BR2_PACKAGE_LAME
164         help
165           Enable lame (mp3) encoding support.
166
167 config BR2_PACKAGE_MPD_TWOLAME
168         bool "twolame"
169         select BR2_PACKAGE_TWOLAME
170         help
171           Enable TwoLAME mp2 encoding.
172
173 comment "Input plugins"
174
175 config BR2_PACKAGE_MPD_CURL
176         bool "curl"
177         select BR2_PACKAGE_LIBCURL
178         help
179           Enable curl streaming (http) support.
180
181 config BR2_PACKAGE_MPD_LIBNFS
182         bool "nfs"
183         # libnfs -> libtirpc
184         depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
185         select BR2_PACKAGE_LIBNFS
186         help
187           Enable Network File System (NFS) support.
188
189 comment "nfs support needs a toolchain w/ threads support"
190         depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
191
192 comment "samba support needs an (e)glibc toolchain"
193         depends on !BR2_TOOLCHAIN_USES_GLIBC
194
195 config BR2_PACKAGE_MPD_LIBSMBCLIENT
196         bool "samba"
197         depends on !BR2_nios2 # samba
198         depends on BR2_TOOLCHAIN_USES_GLIBC
199         select BR2_PACKAGE_SAMBA4
200         help
201           Enable Samba support.
202
203 config BR2_PACKAGE_MPD_SOUNDCLOUD
204         bool "soundcloud"
205         select BR2_PACKAGE_YAJL
206         help
207           Enable soundcloud.com playlist support.
208
209 comment "Output plugins"
210
211 config BR2_PACKAGE_MPD_ALSA
212         bool "alsa"
213         default y
214         select BR2_PACKAGE_ALSA_LIB
215         select BR2_PACKAGE_ALSA_LIB_PCM
216         select BR2_PACKAGE_ALSA_LIB_MIXER
217         help
218           Enable alsa output support.
219
220 config BR2_PACKAGE_MPD_AO
221         bool "ao"
222         select BR2_PACKAGE_LIBAO
223         help
224           Enable libao output support.
225
226 config BR2_PACKAGE_MPD_JACK2
227         bool "jack2"
228         depends on BR2_ARCH_HAS_ATOMICS
229         depends on !BR2_STATIC_LIBS # jack2
230         select BR2_PACKAGE_JACK2
231         help
232           Enable jack output support.
233
234 comment "jack support needs a toolchain w/ dynamic library"
235         depends on BR2_STATIC_LIBS
236
237 config BR2_PACKAGE_MPD_OSS
238         bool "oss"
239         help
240           Enable OSS (Open Sound System) output support.
241
242 config BR2_PACKAGE_MPD_PULSEAUDIO
243         bool "pulseaudio"
244         depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
245         depends on !BR2_STATIC_LIBS # pulseaudio
246         select BR2_PACKAGE_PULSEAUDIO
247         help
248           Enable pulseaudio output support.
249
250 comment "pulseaudio support needs a toolchain w/ dynamic library"
251         depends on BR2_STATIC_LIBS
252
253 comment "Miscellaneous plugins"
254
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
261         help
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
265           local network.
266
267 comment "avahi support needs a toolchain w/ dynamic library"
268         depends on BR2_STATIC_LIBS
269
270 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
271         bool "neighbor discovery support"
272         depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
273         help
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
280           documentation.
281
282 config BR2_PACKAGE_MPD_TCP
283         bool "tcp sockets"
284         default y
285         help
286           Enable MPD to listen on tcp sockets.
287
288           You want this on if MPD and the client(s) work
289           on different machines (the usual scenario).
290
291 config BR2_PACKAGE_MPD_UPNP
292         bool "UPnP"
293         select BR2_PACKAGE_EXPAT
294         select BR2_PACKAGE_LIBUPNP
295         help
296           Enable MPD UPnP client support.
297
298 endif
299
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