summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-10-17 00:29:00 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-27 22:51:24 +0100
commit17ae9a4f0a900d44a050ab15dd0e412dcdbfa567 (patch)
tree0ffcb951c4e7beb21ed8e6137b265203887571fe
parentfc26b41ac35a52ac34dfd65257210f117f20f6e5 (diff)
downloadbuildroot-17ae9a4f0a900d44a050ab15dd0e412dcdbfa567.tar.gz
buildroot-17ae9a4f0a900d44a050ab15dd0e412dcdbfa567.zip
package/mpd: enable support for libsmbclient
Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mpd/Config.in8
-rw-r--r--package/mpd/mpd.mk7
2 files changed, 15 insertions, 0 deletions
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index e62a37d273..09df556e44 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -182,6 +182,14 @@ config BR2_PACKAGE_MPD_CURL
help
Enable curl streaming (http) support.
+config BR2_PACKAGE_MPD_LIBSMBCLIENT
+ bool "samba"
+ depends on !BR2_nios2 # samba
+ select BR2_PACKAGE_SAMBA
+ select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
+ help
+ Enable Samba support.
+
config BR2_PACKAGE_MPD_SOUNDCLOUD
bool "soundcloud"
select BR2_PACKAGE_YAJL
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 92d7292824..ecd2a77fb5 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -90,6 +90,13 @@ else
MPD_CONF_OPTS += --disable-lame-encoder
endif
+ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y)
+MPD_DEPENDENCIES += samba
+MPD_CONF_OPTS += --enable-smbclient
+else
+MPD_CONF_OPTS += --disable-smbclient
+endif
+
ifeq ($(BR2_PACKAGE_MPD_LIBSAMPLERATE),y)
MPD_DEPENDENCIES += libsamplerate
MPD_CONF_OPTS += --enable-lsr
OpenPOWER on IntegriCloud