Config.in 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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_TOOLCHAIN_HAS_ATOMIC
  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. depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
  67. select BR2_PACKAGE_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 a 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. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  173. select BR2_PACKAGE_SAMBA4
  174. help
  175. Enable Samba support.
  176. config BR2_PACKAGE_MPD_SOUNDCLOUD
  177. bool "soundcloud"
  178. select BR2_PACKAGE_YAJL
  179. help
  180. Enable soundcloud.com playlist support.
  181. comment "Output plugins"
  182. config BR2_PACKAGE_MPD_ALSA
  183. bool "alsa"
  184. default y
  185. select BR2_PACKAGE_ALSA_LIB
  186. select BR2_PACKAGE_ALSA_LIB_PCM
  187. select BR2_PACKAGE_ALSA_LIB_MIXER
  188. help
  189. Enable alsa output support.
  190. config BR2_PACKAGE_MPD_AO
  191. bool "ao"
  192. select BR2_PACKAGE_LIBAO
  193. help
  194. Enable libao output support.
  195. config BR2_PACKAGE_MPD_HTTPD_OUTPUT
  196. bool "httpd output"
  197. help
  198. Enable httpd output support.
  199. config BR2_PACKAGE_MPD_JACK2
  200. bool "jack2"
  201. depends on !BR2_STATIC_LIBS # jack2
  202. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  203. select BR2_PACKAGE_JACK2
  204. help
  205. Enable jack output support.
  206. comment "jack support needs a toolchain w/ dynamic library"
  207. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  208. depends on BR2_STATIC_LIBS
  209. config BR2_PACKAGE_MPD_OSS
  210. bool "oss"
  211. help
  212. Enable OSS (Open Sound System) output support.
  213. config BR2_PACKAGE_MPD_PULSEAUDIO
  214. bool "pulseaudio"
  215. depends on !BR2_STATIC_LIBS # pulseaudio
  216. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
  217. select BR2_PACKAGE_PULSEAUDIO
  218. help
  219. Enable pulseaudio output support.
  220. comment "pulseaudio support needs a toolchain w/ dynamic library"
  221. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  222. depends on BR2_STATIC_LIBS
  223. config BR2_PACKAGE_MPD_SHOUTCAST
  224. bool "shoutcast"
  225. select BR2_PACKAGE_LIBSHOUT
  226. help
  227. Enable shoutcast streaming output support.
  228. comment "Miscellaneous plugins"
  229. config BR2_PACKAGE_MPD_AVAHI_SUPPORT
  230. bool "avahi (zeroconf) support"
  231. depends on !BR2_STATIC_LIBS # avahi
  232. select BR2_PACKAGE_AVAHI
  233. select BR2_PACKAGE_AVAHI_DAEMON
  234. select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
  235. help
  236. Enable Avahi (zeroconf) support.
  237. Select this for multicast DNS/DNS-SD service discovery
  238. support. This allows MPD to publish service information on a
  239. local network.
  240. comment "avahi support needs a toolchain w/ dynamic library"
  241. depends on BR2_STATIC_LIBS
  242. config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
  243. bool "neighbor discovery support"
  244. depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
  245. help
  246. Enable support for neighbor discovery.
  247. This option can be used in conjunction with the smbclient
  248. plugin to provide a list of SMB/CIFS servers or with the
  249. UPnP plugin to provide a list of UPnP servers on the local
  250. network. The neighbor plugin needs configuration in
  251. mpd.conf. For further information take a look at the MPD
  252. documentation.
  253. config BR2_PACKAGE_MPD_TCP
  254. bool "tcp sockets"
  255. default y
  256. help
  257. Enable MPD to listen on tcp sockets.
  258. You want this on if MPD and the client(s) work
  259. on different machines (the usual scenario).
  260. config BR2_PACKAGE_MPD_UPNP
  261. bool "UPnP"
  262. select BR2_PACKAGE_EXPAT
  263. select BR2_PACKAGE_LIBUPNP
  264. help
  265. Enable MPD UPnP client support.
  266. endif
  267. comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.6"
  268. depends on BR2_USE_MMU
  269. depends on BR2_TOOLCHAIN_HAS_ATOMIC
  270. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  271. !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6