2011-01-20 21:49:42 +01:00
|
|
|
menuconfig BR2_PACKAGE_MPD
|
|
|
|
bool "mpd"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2017-01-15 21:34:35 +01:00
|
|
|
depends on BR2_USE_WCHAR # flac
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
depends on BR2_USE_MMU # fork
|
2016-02-07 21:54:33 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
2017-02-15 15:51:02 +01:00
|
|
|
# 0.19.x could be built with GCC 4.6, but for simplicity we require
|
|
|
|
# the same toolchain dependencies for all versions.
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
2017-03-01 12:03:34 +01:00
|
|
|
# ARC toolchain issue
|
|
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
|
2014-10-17 00:28:56 +02:00
|
|
|
select BR2_PACKAGE_BOOST
|
2011-01-20 21:49:42 +01:00
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
2011-02-25 21:10:05 +01:00
|
|
|
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)
|
2011-01-20 21:49:42 +01:00
|
|
|
help
|
|
|
|
MPD is a flexible, powerful, server-side application
|
|
|
|
for playing music. Through plugins and libraries
|
|
|
|
it can play a variety of sound files while being
|
|
|
|
controlled by its network protocol.
|
|
|
|
|
|
|
|
http://www.musicpd.org
|
|
|
|
|
|
|
|
if BR2_PACKAGE_MPD
|
|
|
|
|
2017-02-15 15:51:02 +01:00
|
|
|
# Hidden config symbols to select the branch 0.20 by default and fallback
|
|
|
|
# to branch 0.19 for toolchains affected by GCC bug PR 64735. This way we
|
|
|
|
# keep support for mpd on some architectures, like ARMv5, until GCC 7 is
|
|
|
|
# released, which will fix this issue.
|
|
|
|
config BR2_PACKAGE_MPD_VERSION_STRING
|
|
|
|
string
|
|
|
|
default "0.20" if !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
|
default "0.19"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_VERSION_0_20
|
|
|
|
bool
|
|
|
|
default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.20"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_VERSION_0_19
|
|
|
|
bool
|
|
|
|
default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.19"
|
|
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
comment "Archive plugins"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_BZIP2
|
|
|
|
bool "bzip2"
|
|
|
|
select BR2_PACKAGE_BZIP2
|
2011-01-20 21:49:42 +01:00
|
|
|
help
|
2014-10-17 00:28:57 +02:00
|
|
|
Enable bzip2 archive support.
|
2011-01-20 21:49:42 +01:00
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
config BR2_PACKAGE_MPD_SQLITE
|
|
|
|
bool "sqlite"
|
|
|
|
select BR2_PACKAGE_SQLITE
|
2011-01-20 21:49:42 +01:00
|
|
|
help
|
2014-10-17 00:28:57 +02:00
|
|
|
Enable sqlite database support.
|
|
|
|
If you don't use sqlite it will use an ASCII database.
|
|
|
|
|
|
|
|
comment "Converter plugins"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_LIBSAMPLERATE
|
|
|
|
bool "libsamplerate"
|
|
|
|
select BR2_PACKAGE_LIBSAMPLERATE
|
|
|
|
help
|
|
|
|
Enable libsamplerate input support.
|
|
|
|
Select this for software sample rate conversion.
|
|
|
|
|
2014-10-17 00:28:59 +02:00
|
|
|
config BR2_PACKAGE_MPD_LIBSOXR
|
|
|
|
bool "libsoxr"
|
|
|
|
select BR2_PACKAGE_LIBSOXR
|
|
|
|
help
|
|
|
|
Enable libsoxr resampler support.
|
2014-12-08 23:44:52 +01:00
|
|
|
The SoX Resampler library performs software sample-rate
|
|
|
|
conversion.
|
2014-10-17 00:28:59 +02:00
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
comment "Decoder plugins"
|
2011-01-20 21:49:42 +01:00
|
|
|
|
2012-04-23 05:31:37 +02:00
|
|
|
config BR2_PACKAGE_MPD_AUDIOFILE
|
|
|
|
bool "audiofile"
|
|
|
|
select BR2_PACKAGE_AUDIOFILE
|
|
|
|
help
|
|
|
|
Enable audiofile input/streaming support.
|
|
|
|
Select this if you want to play back WAV files.
|
|
|
|
|
2014-10-17 00:29:02 +02:00
|
|
|
config BR2_PACKAGE_MPD_DSD
|
|
|
|
bool "dsd"
|
|
|
|
help
|
2014-12-08 23:44:52 +01:00
|
|
|
Enable Digital Speech Decoder (DSD) support to play audio
|
|
|
|
files encoded in a digital speech format.
|
2014-10-17 00:29:02 +02:00
|
|
|
|
2011-01-20 21:49:42 +01:00
|
|
|
config BR2_PACKAGE_MPD_FAAD2
|
|
|
|
bool "faad2"
|
|
|
|
select BR2_PACKAGE_FAAD2
|
|
|
|
help
|
|
|
|
Enable faad2 input support.
|
|
|
|
Select this if you want to play back MP4/AAC files.
|
|
|
|
|
2011-02-25 21:10:07 +01:00
|
|
|
config BR2_PACKAGE_MPD_FFMPEG
|
|
|
|
bool "ffmpeg"
|
2016-05-26 17:54:19 +02:00
|
|
|
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
2011-02-25 21:10:07 +01:00
|
|
|
select BR2_PACKAGE_FFMPEG
|
|
|
|
help
|
|
|
|
Enable ffmpeg input support.
|
2014-12-08 23:44:52 +01:00
|
|
|
Select this if you want to play back files supported by
|
|
|
|
ffmpeg.
|
2011-02-25 21:10:07 +01:00
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
config BR2_PACKAGE_MPD_FLAC
|
|
|
|
bool "flac"
|
|
|
|
select BR2_PACKAGE_FLAC
|
2011-01-20 21:49:42 +01:00
|
|
|
help
|
2014-10-17 00:28:57 +02:00
|
|
|
Enable flac input/streaming support.
|
|
|
|
Select this if you want to play back FLAC files.
|
2011-01-20 21:49:42 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_LIBSNDFILE
|
|
|
|
bool "libsndfile"
|
|
|
|
select BR2_PACKAGE_LIBSNDFILE
|
|
|
|
help
|
|
|
|
Enable libsndfile input/streaming support.
|
|
|
|
Select this if you want to play back WAV files.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_MAD
|
|
|
|
bool "mad"
|
|
|
|
default y
|
|
|
|
select BR2_PACKAGE_LIBID3TAG
|
|
|
|
select BR2_PACKAGE_LIBMAD
|
|
|
|
help
|
|
|
|
Enable mad input support.
|
|
|
|
Select this if you want to play back MP3 files.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_MPG123
|
|
|
|
bool "mpg123"
|
|
|
|
select BR2_PACKAGE_LIBID3TAG
|
|
|
|
select BR2_PACKAGE_MPG123
|
|
|
|
help
|
|
|
|
Enable mpg123 input support.
|
|
|
|
Select this if you want to play back MP3 files.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_MUSEPACK
|
|
|
|
bool "musepack"
|
2011-02-10 18:58:14 +01:00
|
|
|
select BR2_PACKAGE_LIBCUEFILE
|
2011-01-20 21:49:42 +01:00
|
|
|
select BR2_PACKAGE_LIBREPLAYGAIN
|
|
|
|
select BR2_PACKAGE_MUSEPACK
|
|
|
|
help
|
|
|
|
Enable musepack input support.
|
|
|
|
Select this if you want to play back MPC files.
|
|
|
|
|
2014-01-13 23:17:18 +01:00
|
|
|
config BR2_PACKAGE_MPD_OPUS
|
|
|
|
bool "opus"
|
|
|
|
select BR2_PACKAGE_OPUS
|
2014-08-26 11:26:28 +02:00
|
|
|
select BR2_PACKAGE_LIBOGG
|
2014-01-13 23:17:18 +01:00
|
|
|
help
|
|
|
|
Enable opus input support.
|
|
|
|
Select this if you want to play back OPUS encoded files.
|
|
|
|
|
2011-01-20 21:49:42 +01:00
|
|
|
config BR2_PACKAGE_MPD_TREMOR
|
|
|
|
bool "tremor"
|
|
|
|
select BR2_PACKAGE_LIBOGG
|
|
|
|
select BR2_PACKAGE_TREMOR
|
|
|
|
help
|
|
|
|
Enable vorbis input support.
|
2014-12-08 23:44:52 +01:00
|
|
|
Select this if you want to play back OGG files on softfloat
|
|
|
|
targets.
|
2011-01-20 21:49:42 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_VORBIS
|
|
|
|
bool "vorbis"
|
|
|
|
select BR2_PACKAGE_LIBOGG
|
|
|
|
select BR2_PACKAGE_LIBVORBIS
|
|
|
|
help
|
|
|
|
Enable vorbis input/streaming support.
|
2014-12-08 23:44:52 +01:00
|
|
|
Select this if you want to play back OGG files on hardfloat
|
|
|
|
targets.
|
2011-01-20 21:49:42 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_WAVPACK
|
|
|
|
bool "wavpack"
|
|
|
|
select BR2_PACKAGE_WAVPACK
|
|
|
|
help
|
|
|
|
Enable wavpack input support.
|
|
|
|
Select this if you want to play back WV files.
|
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
comment "Encoder plugins"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_LAME
|
|
|
|
bool "lame"
|
|
|
|
select BR2_PACKAGE_LAME
|
|
|
|
help
|
|
|
|
Enable lame (mp3) encoding support.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_TWOLAME
|
|
|
|
bool "twolame"
|
|
|
|
select BR2_PACKAGE_TWOLAME
|
|
|
|
help
|
|
|
|
Enable TwoLAME mp2 encoding.
|
|
|
|
|
|
|
|
comment "Input plugins"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_CURL
|
|
|
|
bool "curl"
|
|
|
|
select BR2_PACKAGE_LIBCURL
|
|
|
|
help
|
|
|
|
Enable curl streaming (http) support.
|
|
|
|
|
2014-10-17 00:29:01 +02:00
|
|
|
config BR2_PACKAGE_MPD_LIBNFS
|
|
|
|
bool "nfs"
|
2015-10-04 17:21:53 +02:00
|
|
|
# libnfs -> libtirpc
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
|
2014-10-17 00:29:01 +02:00
|
|
|
select BR2_PACKAGE_LIBNFS
|
|
|
|
help
|
|
|
|
Enable Network File System (NFS) support.
|
|
|
|
|
2015-10-04 17:21:53 +02:00
|
|
|
comment "nfs support needs a toolchain w/ threads support"
|
|
|
|
depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
|
2014-10-17 00:29:01 +02:00
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "samba support needs a glibc toolchain w/ dynamic library, RPC"
|
2016-02-02 09:12:46 +01:00
|
|
|
depends on !BR2_nios2
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
2015-03-06 13:50:30 +01:00
|
|
|
|
2014-10-17 00:29:00 +02:00
|
|
|
config BR2_PACKAGE_MPD_LIBSMBCLIENT
|
|
|
|
bool "samba"
|
|
|
|
depends on !BR2_nios2 # samba
|
2015-03-06 13:50:30 +01:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2016-02-02 09:12:46 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
2016-02-06 23:53:05 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-03-06 13:50:30 +01:00
|
|
|
select BR2_PACKAGE_SAMBA4
|
2014-10-17 00:29:00 +02:00
|
|
|
help
|
|
|
|
Enable Samba support.
|
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
config BR2_PACKAGE_MPD_SOUNDCLOUD
|
|
|
|
bool "soundcloud"
|
|
|
|
select BR2_PACKAGE_YAJL
|
|
|
|
help
|
|
|
|
Enable soundcloud.com playlist support.
|
|
|
|
|
|
|
|
comment "Output plugins"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_ALSA
|
|
|
|
bool "alsa"
|
|
|
|
default y
|
|
|
|
select BR2_PACKAGE_ALSA_LIB
|
|
|
|
select BR2_PACKAGE_ALSA_LIB_PCM
|
|
|
|
select BR2_PACKAGE_ALSA_LIB_MIXER
|
|
|
|
help
|
|
|
|
Enable alsa output support.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_AO
|
|
|
|
bool "ao"
|
|
|
|
select BR2_PACKAGE_LIBAO
|
|
|
|
help
|
|
|
|
Enable libao output support.
|
|
|
|
|
2016-01-19 23:45:51 +01:00
|
|
|
config BR2_PACKAGE_MPD_HTTPD_OUTPUT
|
|
|
|
bool "httpd output"
|
|
|
|
help
|
|
|
|
Enable httpd output support.
|
|
|
|
|
2014-08-08 15:11:32 +02:00
|
|
|
config BR2_PACKAGE_MPD_JACK2
|
|
|
|
bool "jack2"
|
2015-05-21 23:41:13 +02:00
|
|
|
depends on !BR2_STATIC_LIBS # jack2
|
2016-02-02 16:31:25 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2014-08-08 15:11:32 +02:00
|
|
|
select BR2_PACKAGE_JACK2
|
|
|
|
help
|
|
|
|
Enable jack output support.
|
|
|
|
|
2015-05-21 23:41:13 +02:00
|
|
|
comment "jack support needs a toolchain w/ dynamic library"
|
2016-02-02 16:31:25 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-05-21 23:41:13 +02:00
|
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
|
2014-12-08 23:44:54 +01:00
|
|
|
config BR2_PACKAGE_MPD_OSS
|
|
|
|
bool "oss"
|
|
|
|
help
|
|
|
|
Enable OSS (Open Sound System) output support.
|
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
config BR2_PACKAGE_MPD_PULSEAUDIO
|
|
|
|
bool "pulseaudio"
|
2015-05-17 09:18:23 +02:00
|
|
|
depends on !BR2_STATIC_LIBS # pulseaudio
|
2016-02-02 16:31:22 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
|
2014-10-17 00:28:57 +02:00
|
|
|
select BR2_PACKAGE_PULSEAUDIO
|
|
|
|
help
|
|
|
|
Enable pulseaudio output support.
|
|
|
|
|
2015-05-17 09:18:23 +02:00
|
|
|
comment "pulseaudio support needs a toolchain w/ dynamic library"
|
2016-02-02 16:31:22 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-05-17 09:18:23 +02:00
|
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
|
2016-09-01 00:16:55 +02:00
|
|
|
config BR2_PACKAGE_MPD_SHOUTCAST
|
|
|
|
bool "shoutcast"
|
|
|
|
select BR2_PACKAGE_LIBSHOUT
|
|
|
|
help
|
|
|
|
Enable shoutcast streaming output support.
|
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
comment "Miscellaneous plugins"
|
|
|
|
|
2014-10-17 00:29:03 +02:00
|
|
|
config BR2_PACKAGE_MPD_AVAHI_SUPPORT
|
|
|
|
bool "avahi (zeroconf) support"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS # avahi
|
2014-10-17 00:29:03 +02:00
|
|
|
select BR2_PACKAGE_AVAHI
|
|
|
|
select BR2_PACKAGE_AVAHI_DAEMON
|
|
|
|
select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
|
|
|
|
help
|
|
|
|
Enable Avahi (zeroconf) support.
|
2014-12-08 23:44:52 +01:00
|
|
|
Select this for multicast DNS/DNS-SD service discovery
|
|
|
|
support. This allows MPD to publish service information on a
|
|
|
|
local network.
|
2014-10-17 00:29:03 +02:00
|
|
|
|
|
|
|
comment "avahi support needs a toolchain w/ dynamic library"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS
|
2014-10-17 00:29:03 +02:00
|
|
|
|
2014-12-08 23:44:53 +01:00
|
|
|
config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
|
|
|
|
bool "neighbor discovery support"
|
|
|
|
depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
|
|
|
|
help
|
|
|
|
Enable support for neighbor discovery.
|
|
|
|
This option can be used in conjunction with the smbclient
|
|
|
|
plugin to provide a list of SMB/CIFS servers or with the
|
|
|
|
UPnP plugin to provide a list of UPnP servers on the local
|
2015-04-23 00:14:34 +02:00
|
|
|
network. The neighbor plugin needs configuration in
|
2014-12-08 23:44:53 +01:00
|
|
|
mpd.conf. For further information take a look at the MPD
|
|
|
|
documentation.
|
|
|
|
|
2014-10-17 00:28:57 +02:00
|
|
|
config BR2_PACKAGE_MPD_TCP
|
|
|
|
bool "tcp sockets"
|
|
|
|
default y
|
|
|
|
help
|
2014-12-08 23:44:51 +01:00
|
|
|
Enable MPD to listen on tcp sockets.
|
2014-10-17 00:28:57 +02:00
|
|
|
|
2014-12-08 23:44:51 +01:00
|
|
|
You want this on if MPD and the client(s) work
|
2014-10-17 00:28:57 +02:00
|
|
|
on different machines (the usual scenario).
|
2014-10-28 13:48:08 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MPD_UPNP
|
2014-12-08 23:44:50 +01:00
|
|
|
bool "UPnP"
|
2014-10-28 13:48:08 +01:00
|
|
|
select BR2_PACKAGE_EXPAT
|
|
|
|
select BR2_PACKAGE_LIBUPNP
|
|
|
|
help
|
2014-12-08 23:44:51 +01:00
|
|
|
Enable MPD UPnP client support.
|
2014-10-28 13:48:08 +01:00
|
|
|
|
2011-01-20 21:49:42 +01:00
|
|
|
endif
|
|
|
|
|
2017-01-05 22:09:31 +01:00
|
|
|
comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
|
2013-11-20 18:29:45 +01:00
|
|
|
depends on BR2_USE_MMU
|
2016-02-07 21:54:33 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
2013-07-15 21:47:50 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
2017-01-05 22:09:31 +01:00
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
2017-03-01 12:03:34 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
|