From: Gustavo Zacarias Date: Wed, 9 Jul 2014 18:12:08 +0000 (-0300) Subject: mpd: add twolame support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=325dce5f9776799a9e0dcd1f9f981f6468531202;p=buildroot.git mpd: add twolame support Now that there's a twolame package we can add support for it in mpd. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/mpd/Config.in b/package/mpd/Config.in index 489b49df29..b491126362 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -184,6 +184,16 @@ config BR2_PACKAGE_MPD_TREMOR Enable vorbis input support. Select this if you want to play back OGG files on softfloat targets. +config BR2_PACKAGE_MPD_TWOLAME + bool "twolame" + depends on BR2_LARGEFILE # twolame -> libsndfile + select BR2_PACKAGE_TWOLAME + help + Enable TwoLAME mp2 encoding. + +comment "twolame support needs a toolchain w/ largefile" + depends on !BR2_LARGEFILE + config BR2_PACKAGE_MPD_VORBIS bool "vorbis" select BR2_PACKAGE_LIBOGG diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 2f0b37ed2f..21eb08e123 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -132,6 +132,11 @@ MPD_DEPENDENCIES += tremor MPD_CONF_OPT += --with-tremor endif +ifeq ($(BR2_PACKAGE_MPD_TWOLAME),y) +MPD_DEPENDENCIES += twolame +MPD_CONF_OPT += --enable-twolame-encoder +endif + ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y) MPD_DEPENDENCIES += wavpack else