aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Pieter De Gendt <pieter.degendt@gmail.com>2014-08-08 15:11:32 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-30 23:10:06 +0100
commit9f8180d42506d04124320f2af31e8ed71d8a6d36 (patch)
treecc282e50ce399f85257126574d2e8aa78e56bf89 /package
parent502a08b681c9cc96603e5de6e22bfa892f078c03 (diff)
downloadbuildroot-9f8180d42506d04124320f2af31e8ed71d8a6d36.tar.gz
buildroot-9f8180d42506d04124320f2af31e8ed71d8a6d36.tar.bz2
mpd: add jack output support option
[Thomas: reworked patch on top of the latest master.] Signed-off-by: Pieter De Gendt <pieter.degendt@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/mpd/Config.in12
-rw-r--r--package/mpd/mpd.mk7
2 files changed, 19 insertions, 0 deletions
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index ac9ca95235..1d38b1a3de 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -229,6 +229,18 @@ config BR2_PACKAGE_MPD_AO
help
Enable libao output support.
+config BR2_PACKAGE_MPD_JACK2
+ bool "jack2"
+ depends on BR2_LARGEFILE # jack2 -> libsndfile
+ depends on BR2_ARCH_HAS_ATOMICS
+ select BR2_PACKAGE_JACK2
+ help
+ Enable jack output support.
+
+comment "jack support needs a toolchain w/ largefile"
+ depends on BR2_ARCH_HAS_ATOMICS
+ depends on !BR2_LARGEFILE
+
config BR2_PACKAGE_MPD_PULSEAUDIO
bool "pulseaudio"
depends on BR2_LARGEFILE # pulseaudio -> libsndfile
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index d7b912bd28..6d2918d63d 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -92,6 +92,13 @@ else
MPD_CONF_OPTS += --disable-flac
endif
+ifeq ($(BR2_PACKAGE_MPD_JACK2),y)
+MPD_DEPENDENCIES += jack2
+MPD_CONF_OPTS += --enable-jack
+else
+MPD_CONF_OPTS += --disable-jack
+endif
+
ifeq ($(BR2_PACKAGE_MPD_LAME),y)
MPD_DEPENDENCIES += lame
MPD_CONF_OPTS += --enable-lame-encoder