MPD: Add jack output support option
PATCH v2 1/1 MPD: Add jack output support option
Signed-off-by Pieter De Gendt <[email protected]>
---
Changes v1 -> v2:
- Removed duplicate depends entries
- Alpha sorting all entries
package/mpd/Config.in | 31 +++++++++++++++++++++---------- package/mpd/mpd.mk | 5 +++++ 2 files changed, 26 insertions(+), 10 deletions(-)
package/mpd/Config.in +21 -10
@@ -42,16 +42,6 @@ config BR2_PACKAGE_MPD_AUDIOFILE Enable audiofile input/streaming support. Select this if you want to play back WAV files. -config BR2_PACKAGE_MPD_PULSEAUDIO - bool "pulseaudio" - depends on BR2_LARGEFILE # pulseaudio -> libsndfile - select BR2_PACKAGE_PULSEAUDIO - help - Enable pulseaudio output support. - -comment "pulseaudio support needs a toolchain w/ largefile" - depends on !BR2_LARGEFILE - config BR2_PACKAGE_MPD_BZIP2 bool "bzip2" select BR2_PACKAGE_BZIP2
@@ -90,6 +80,17 @@ config BR2_PACKAGE_MPD_FFMPEG comment "ffmpeg support needs a toolchain w/ largefile, IPv6" depends on !(BR2_LARGEFILE && BR2_INET_IPV6) +config BR2_PACKAGE_MPD_JACK2 + bool "jack2" + depends on BR2_LARGEFILE # libsndfile + depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS + select BR2_PACKAGE_JACK2 + help + Enable jack output support. + +comment "jack support needs a toolchain w/ largefile, atomic intrinsics" + depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS) + config BR2_PACKAGE_MPD_LAME bool "lame" select BR2_PACKAGE_LAME
@@ -147,6 +148,16 @@ config BR2_PACKAGE_MPD_OPUS Enable opus input support. Select this if you want to play back OPUS encoded files. +config BR2_PACKAGE_MPD_PULSEAUDIO + bool "pulseaudio" + depends on BR2_LARGEFILE # pulseaudio -> libsndfile + select BR2_PACKAGE_PULSEAUDIO + help + Enable pulseaudio output support. + +comment "pulseaudio support needs a toolchain w/ largefile" + depends on !BR2_LARGEFILE + config BR2_PACKAGE_MPD_SOUNDCLOUD bool "soundcloud" select BR2_PACKAGE_YAJL
package/mpd/mpd.mk +5 -0
@@ -35,6 +35,11 @@ MPD_DEPENDENCIES += audiofile MPD_CONF_OPT += --enable-audiofile endif +ifeq ($(BR2_PACKAGE_MPD_JACK2),y) +MPD_DEPENDENCIES += jack2 +MPD_CONF_OPT += --enable-jack +endif + ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y) MPD_DEPENDENCIES += pulseaudio MPD_CONF_OPT += --enable-pulse
Signature · 1 line
1.7.9.5
PATCH v2 1/1 MPD: Add jack output support option
Dear Pieter De Gendt,
Quoted 10 lines · Pieter De Gendt
Signed-off-by Pieter De Gendt <[email protected]>---
Changes v1 -> v2:
- Removed duplicate depends entries
- Alpha sorting all entriespackage/mpd/Config.in | 31 +++++++++++++++++++++---------- package/mpd/mpd.mk | 5 +++++ 2 files changed, 26 insertions(+), 10 deletions(-)
Thanks, I've applied your patch after adapting it to the latest master, which has received quite a few changes in the mpd package.
Thanks for your contribution, and sorry for the slow answer.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com