Config.in 8.0 KB

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