Config.in 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. menuconfig BR2_PACKAGE_MPD
  2. bool "mpd"
  3. depends on BR2_INSTALL_LIBSTDCPP
  4. depends on BR2_USE_WCHAR # boost
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on BR2_USE_MMU # fork
  7. depends on BR2_TOOLCHAIN_HAS_ATOMIC
  8. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
  9. depends on BR2_HOST_GCC_AT_LEAST_8 # C++17
  10. select BR2_PACKAGE_BOOST
  11. select BR2_PACKAGE_FMT
  12. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  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. https://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. config BR2_PACKAGE_MPD_ZZIP
  33. bool "zzip"
  34. select BR2_PACKAGE_ZZIPLIB
  35. help
  36. Enable ZIP archive support.
  37. comment "Commercial services"
  38. config BR2_PACKAGE_MPD_QOBUZ
  39. bool "qobuz"
  40. depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
  41. select BR2_PACKAGE_MPD_CURL
  42. select BR2_PACKAGE_LIBGCRYPT
  43. select BR2_PACKAGE_YAJL
  44. help
  45. Play songs from the commercial streaming service Qobuz.
  46. config BR2_PACKAGE_MPD_SOUNDCLOUD
  47. bool "soundcloud"
  48. select BR2_PACKAGE_MPD_CURL
  49. select BR2_PACKAGE_YAJL
  50. help
  51. Enable soundcloud.com playlist support.
  52. comment "Converter plugins"
  53. config BR2_PACKAGE_MPD_LIBSAMPLERATE
  54. bool "libsamplerate"
  55. select BR2_PACKAGE_LIBSAMPLERATE
  56. help
  57. Enable libsamplerate input support.
  58. Select this for software sample rate conversion.
  59. config BR2_PACKAGE_MPD_LIBSOXR
  60. bool "libsoxr"
  61. select BR2_PACKAGE_LIBSOXR
  62. help
  63. Enable libsoxr resampler support.
  64. The SoX Resampler library performs software sample-rate
  65. conversion.
  66. comment "Decoder plugins"
  67. config BR2_PACKAGE_MPD_DSD
  68. bool "dsd"
  69. help
  70. Enable Digital Speech Decoder (DSD) support to play audio
  71. files encoded in a digital speech format.
  72. config BR2_PACKAGE_MPD_FAAD2
  73. bool "faad2"
  74. select BR2_PACKAGE_FAAD2
  75. help
  76. Enable faad2 input support.
  77. Select this if you want to play back MP4/AAC files.
  78. config BR2_PACKAGE_MPD_FFMPEG
  79. bool "ffmpeg"
  80. depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
  81. select BR2_PACKAGE_FFMPEG
  82. help
  83. Enable ffmpeg input support.
  84. Select this if you want to play back files supported by
  85. ffmpeg.
  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. config BR2_PACKAGE_MPD_FLUIDSYNTH
  93. bool "fluidsynth"
  94. depends on !BR2_STATIC_LIBS
  95. select BR2_PACKAGE_FLUIDSYNTH
  96. help
  97. Enable fluidsynth MIDI decoder support.
  98. comment "fluidsynth support needs a toolchain w/ dynamic library"
  99. depends on BR2_STATIC_LIBS
  100. config BR2_PACKAGE_MPD_LIBSNDFILE
  101. bool "libsndfile"
  102. select BR2_PACKAGE_LIBSNDFILE
  103. help
  104. Enable libsndfile input/streaming support.
  105. Select this if you want to play back WAV files.
  106. config BR2_PACKAGE_MPD_MAD
  107. bool "mad"
  108. default y
  109. select BR2_PACKAGE_MPD_ID3TAG
  110. select BR2_PACKAGE_LIBMAD
  111. help
  112. Enable mad input support.
  113. Select this if you want to play back MP3 files.
  114. config BR2_PACKAGE_MPD_MODPLUG
  115. bool "modplug"
  116. select BR2_PACKAGE_LIBMODPLUG
  117. help
  118. Enable Modplug decoder support.
  119. config BR2_PACKAGE_MPD_MPG123
  120. bool "mpg123"
  121. select BR2_PACKAGE_MPD_ID3TAG
  122. select BR2_PACKAGE_MPG123
  123. help
  124. Enable mpg123 input support.
  125. Select this if you want to play back MP3 files.
  126. config BR2_PACKAGE_MPD_MUSEPACK
  127. bool "musepack"
  128. select BR2_PACKAGE_LIBCUEFILE
  129. select BR2_PACKAGE_LIBREPLAYGAIN
  130. select BR2_PACKAGE_MUSEPACK
  131. help
  132. Enable musepack input support.
  133. Select this if you want to play back MPC files.
  134. config BR2_PACKAGE_MPD_OPUS
  135. bool "opus"
  136. select BR2_PACKAGE_OPUS
  137. select BR2_PACKAGE_LIBOGG
  138. help
  139. Enable opus input support.
  140. Select this if you want to play back OPUS encoded files.
  141. config BR2_PACKAGE_MPD_SIDPLAY
  142. bool "sidplay"
  143. select BR2_PACKAGE_LIBSIDPLAY2
  144. help
  145. Enable C64 SID support.
  146. config BR2_PACKAGE_MPD_TREMOR
  147. bool "tremor"
  148. depends on !BR2_PACKAGE_MPD_VORBIS
  149. select BR2_PACKAGE_LIBOGG
  150. select BR2_PACKAGE_TREMOR
  151. help
  152. Enable vorbis input support.
  153. Select this if you want to play back OGG files on softfloat
  154. targets.
  155. config BR2_PACKAGE_MPD_VORBIS
  156. bool "vorbis"
  157. select BR2_PACKAGE_LIBOGG
  158. select BR2_PACKAGE_LIBVORBIS
  159. help
  160. Enable vorbis input/streaming support.
  161. Select this if you want to play back OGG files on hardfloat
  162. targets.
  163. config BR2_PACKAGE_MPD_WAVPACK
  164. bool "wavpack"
  165. select BR2_PACKAGE_WAVPACK
  166. help
  167. Enable wavpack input support.
  168. Select this if you want to play back WV files.
  169. comment "Encoder plugins"
  170. config BR2_PACKAGE_MPD_LAME
  171. bool "lame"
  172. select BR2_PACKAGE_LAME
  173. help
  174. Enable lame (mp3) encoding support.
  175. config BR2_PACKAGE_MPD_TWOLAME
  176. bool "twolame"
  177. select BR2_PACKAGE_TWOLAME
  178. help
  179. Enable TwoLAME mp2 encoding.
  180. comment "Input plugins"
  181. config BR2_PACKAGE_MPD_CDIO_PARANOIA
  182. bool "cdio-paranoia"
  183. select BR2_PACKAGE_LIBCDIO_PARANOIA
  184. help
  185. Enable cdio-paranoia support.
  186. config BR2_PACKAGE_MPD_CURL
  187. bool "curl"
  188. select BR2_PACKAGE_LIBCURL
  189. help
  190. Enable curl streaming (http) support.
  191. config BR2_PACKAGE_MPD_LIBMMS
  192. bool "mms"
  193. select BR2_PACKAGE_LIBMMS
  194. help
  195. Enable MMS support.
  196. config BR2_PACKAGE_MPD_LIBNFS
  197. bool "nfs"
  198. # libnfs -> libtirpc
  199. depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
  200. select BR2_PACKAGE_LIBNFS
  201. help
  202. Enable Network File System (NFS) support.
  203. comment "nfs support needs a toolchain w/ threads support"
  204. depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
  205. comment "samba support needs a glibc toolchain w/ dynamic library, RPC"
  206. depends on !BR2_nios2
  207. depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
  208. !BR2_TOOLCHAIN_HAS_NATIVE_RPC
  209. config BR2_PACKAGE_MPD_LIBSMBCLIENT
  210. bool "samba"
  211. depends on !BR2_nios2 # samba
  212. depends on BR2_TOOLCHAIN_USES_GLIBC
  213. depends on !BR2_STATIC_LIBS
  214. depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
  215. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  216. select BR2_PACKAGE_SAMBA4
  217. help
  218. Enable Samba support.
  219. comment "Output plugins"
  220. config BR2_PACKAGE_MPD_ALSA
  221. bool "alsa"
  222. default y
  223. select BR2_PACKAGE_ALSA_LIB
  224. select BR2_PACKAGE_ALSA_LIB_PCM
  225. select BR2_PACKAGE_ALSA_LIB_MIXER
  226. help
  227. Enable alsa output support.
  228. config BR2_PACKAGE_MPD_AO
  229. bool "ao"
  230. select BR2_PACKAGE_LIBAO
  231. help
  232. Enable libao output support.
  233. config BR2_PACKAGE_MPD_HTTPD_OUTPUT
  234. bool "httpd output"
  235. help
  236. Enable httpd output support.
  237. config BR2_PACKAGE_MPD_JACK2
  238. bool "jack2"
  239. depends on !BR2_STATIC_LIBS # jack2
  240. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  241. select BR2_PACKAGE_JACK2
  242. help
  243. Enable jack output support.
  244. comment "jack support needs a toolchain w/ dynamic library"
  245. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  246. depends on BR2_STATIC_LIBS
  247. config BR2_PACKAGE_MPD_OPENAL
  248. bool "openal"
  249. depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
  250. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  251. select BR2_PACKAGE_OPENAL
  252. help
  253. Enable OpenAL output support.
  254. comment "openal support needs a toolchain w/ NPTL"
  255. depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
  256. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  257. config BR2_PACKAGE_MPD_OSS
  258. bool "oss"
  259. help
  260. Enable OSS (Open Sound System) output support.
  261. config BR2_PACKAGE_MPD_PULSEAUDIO
  262. bool "pulseaudio"
  263. depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
  264. depends on BR2_USE_WCHAR
  265. depends on BR2_TOOLCHAIN_HAS_THREADS
  266. depends on !BR2_STATIC_LIBS
  267. depends on BR2_USE_MMU
  268. select BR2_PACKAGE_PULSEAUDIO
  269. help
  270. Enable pulseaudio output support.
  271. comment "pulseaudio support needs a toolchain w/ threads, wchar, dynamic library"
  272. depends on BR2_USE_MMU
  273. depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
  274. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || !BR2_USE_WCHAR
  275. config BR2_PACKAGE_MPD_SHOUTCAST
  276. bool "shoutcast"
  277. select BR2_PACKAGE_LIBSHOUT
  278. help
  279. Enable shoutcast streaming output support.
  280. comment "Miscellaneous plugins"
  281. config BR2_PACKAGE_MPD_AVAHI_SUPPORT
  282. bool "avahi (zeroconf) support"
  283. depends on !BR2_STATIC_LIBS # avahi
  284. select BR2_PACKAGE_AVAHI
  285. select BR2_PACKAGE_AVAHI_DAEMON
  286. select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
  287. help
  288. Enable Avahi (zeroconf) support.
  289. Select this for multicast DNS/DNS-SD service discovery
  290. support. This allows MPD to publish service information on a
  291. local network.
  292. comment "avahi support needs a toolchain w/ dynamic library"
  293. depends on BR2_STATIC_LIBS
  294. config BR2_PACKAGE_MPD_IO_URING
  295. bool "io_uring"
  296. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  297. select BR2_PACKAGE_LIBURING
  298. help
  299. Asynchronous I/O using kernel io_uring subsystem
  300. comment "io_uring support needs a toolchain w/ headers >= 5.1"
  301. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  302. config BR2_PACKAGE_MPD_LIBMPDCLIENT
  303. bool "libmpdclient"
  304. select BR2_PACKAGE_LIBMPDCLIENT
  305. help
  306. Enable libmpdclient support.
  307. config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
  308. bool "neighbor discovery support"
  309. depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || !BR2_PACKAGE_MPD_UPNP_DISABLED
  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.
  318. config BR2_PACKAGE_MPD_TCP
  319. bool "tcp sockets"
  320. default y
  321. help
  322. Enable MPD to listen on tcp sockets.
  323. You want this on if MPD and the client(s) work
  324. on different machines (the usual scenario).
  325. choice
  326. prompt "UPnP"
  327. default BR2_PACKAGE_MPD_UPNP_PUPNP if BR2_PACKAGE_MPD_UPNP # legacy
  328. default BR2_PACKAGE_MPD_UPNP_DISABLED
  329. help
  330. Enable MPD to access a UPnP based media server.
  331. For further information, see
  332. https://www.lesbonscomptes.com/upmpdcli/pages/upmpdcli-or-mpdupnp.html
  333. config BR2_PACKAGE_MPD_UPNP_PUPNP
  334. bool "pupnp"
  335. select BR2_PACKAGE_EXPAT
  336. select BR2_PACKAGE_LIBUPNP
  337. select BR2_PACKAGE_MPD_CURL
  338. help
  339. Provides UPnP database access through libupnp
  340. (the legacy Portable SDK for UPnP devices).
  341. Introduces least additional dependencies.
  342. config BR2_PACKAGE_MPD_UPNP_NPUPNP
  343. bool "npupnp"
  344. select BR2_PACKAGE_EXPAT
  345. select BR2_PACKAGE_LIBNPUPNP
  346. select BR2_PACKAGE_MPD_CURL
  347. help
  348. Provides UPnP database access through libnpupnp
  349. (a C++ reimplementation of the Portable UPnP library).
  350. This implementation is more modern, but also brings
  351. additional features not needed in this context, thus
  352. consuming more space.
  353. config BR2_PACKAGE_MPD_UPNP_DISABLED
  354. bool "disabled"
  355. help
  356. No UPnP client functionality.
  357. endchoice
  358. comment "Tag plugins"
  359. config BR2_PACKAGE_MPD_ID3TAG
  360. bool "id3tag"
  361. select BR2_PACKAGE_LIBID3TAG
  362. help
  363. Enable ID3 support.
  364. endif
  365. comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 8, host gcc >= 8"
  366. depends on BR2_USE_MMU
  367. depends on BR2_TOOLCHAIN_HAS_ATOMIC
  368. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  369. !BR2_TOOLCHAIN_HAS_THREADS || \
  370. !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
  371. !BR2_HOST_GCC_AT_LEAST_8