From 5e3ea448ce9dfe819bbcca4642bb33c099b374d3 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Mon, 7 Jan 2019 22:14:32 +0100 Subject: [PATCH] mpd: remove message on startup but don't disable dsd Also add missing dependency libogg --- packages/mpd/HybridDsdDecoderPlugin.cxx.patch | 11 +++++++++++ packages/mpd/build.sh | 5 ++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 packages/mpd/HybridDsdDecoderPlugin.cxx.patch diff --git a/packages/mpd/HybridDsdDecoderPlugin.cxx.patch b/packages/mpd/HybridDsdDecoderPlugin.cxx.patch new file mode 100644 index 000000000..b75f6dd81 --- /dev/null +++ b/packages/mpd/HybridDsdDecoderPlugin.cxx.patch @@ -0,0 +1,11 @@ +--- ../HybridDsdDecoderPlugin.cxx.orig 2019-01-07 20:58:59.223328152 +0100 ++++ ./src/decoder/plugins/HybridDsdDecoderPlugin.cxx 2019-01-07 21:00:02.953327686 +0100 +@@ -40,8 +40,6 @@ + without a DSD DAC, the PCM (=ALAC) part of the file is + better */ + if (block.GetBlockParam("enabled") == nullptr) { +- LogInfo(hybrid_dsd_domain, +- "The Hybrid DSD decoder is disabled because it was not explicitly enabled"); + return false; + } + diff --git a/packages/mpd/build.sh b/packages/mpd/build.sh index 5a110ba41..496c75cc4 100644 --- a/packages/mpd/build.sh +++ b/packages/mpd/build.sh @@ -1,10 +1,10 @@ TERMUX_PKG_HOMEPAGE=https://www.musicpd.org TERMUX_PKG_DESCRIPTION="Music player daemon" TERMUX_PKG_VERSION=0.21.3 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SHA256=f694b5d9b39c12c196e51fbcde82e99c62bb08bdec7a7302095251f3e4357a15 TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/MPD/archive/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_DEPENDS="libcurl, libid3tag, libopus, libpulseaudio, libmpdclient, openal-soft, libvorbis, libsqlite, ffmpeg, libmp3lame, libbz2" +TERMUX_PKG_DEPENDS="libcurl, libid3tag, libopus, libpulseaudio, libmpdclient, openal-soft, libvorbis, libsqlite, ffmpeg, libmp3lame, libbz2, libogg" TERMUX_PKG_BUILD_DEPENDS="boost" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -Dalsa=disabled @@ -16,7 +16,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -Dmad=disabled -Dpcre=disabled -Dsndio=disabled --Ddsd=false " TERMUX_PKG_CONFFILES="$TERMUX_PREFIX/etc/mpd.conf"