mpd: Upgrade to 0.19.10, refresh patches
authorTed Hess <redacted>
Fri, 26 Jun 2015 20:46:05 +0000 (16:46 -0400)
committerTed Hess <redacted>
Fri, 26 Jun 2015 20:46:05 +0000 (16:46 -0400)
Signed-off-by: Ted Hess <redacted>
sound/mpd/Makefile
sound/mpd/patches/210-support_raw_pcm_streams.patch
sound/mpd/patches/220-handle_slow_server_stream_startup.patch

index 56e63eb4afed85720015ca3f7c757aff1740c85b..845360301fe452c8e788f95c354cd327666344ec 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpd
-PKG_VERSION:=0.18.23
+PKG_VERSION:=0.19.10
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://www.musicpd.org/download/mpd/0.18/
-PKG_MD5SUM:=fcdfe8b3a7a21a87b6776204e6eb7814
+PKG_SOURCE_URL:=http://www.musicpd.org/download/mpd/0.19/
+PKG_MD5SUM:=da4bc3e47afd0faf9e7a67168e012102
 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
 
 PKG_LICENSE:=GPL-2.0
@@ -28,15 +28,15 @@ PKG_CONFIG_DEPENDS:= \
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
 
 define Package/mpd/Default
   SECTION:=sound
   CATEGORY:=Sound
   TITLE:=Music Player Daemon
   URL:=http://www.musicpd.org/
-  DEPENDS:= +glib2 +libcurl +libpthread +libmpdclient $(ICONV_DEPENDS) +libstdcpp \
-           +libflac +BUILD_PATENTED:libmad +libvorbisidec +AUDIO_SUPPORT:alsa-lib
+  DEPENDS:= +glib2 +libcurl +libpthread +libmpdclient +libstdcpp \
+           +libflac +BUILD_PATENTED:libmad +libvorbisidec +AUDIO_SUPPORT:alsa-lib \
+            +boost +boost-container +libexpat
 endef
 
 define Package/mpd/Default/description
@@ -51,7 +51,7 @@ $(call Package/mpd/Default)
   TITLE+= (full)
   DEPENDS+= \
        +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg +libid3tag \
-       +libmms +libogg +libsndfile +libvorbis
+       +libmms +libogg +libsndfile +libvorbis +libupnp
   PROVIDES:=mpd
   VARIANT:=full
 endef
@@ -105,17 +105,15 @@ CONFIGURE_ARGS += \
        $(call autoconf_bool,CONFIG_IPV6,ipv6) \
        --disable-debug \
        --disable-documentation \
-       --disable-gprof \
        --disable-test \
        --disable-werror \
        \
        --disable-ao \
        --disable-bzip2 \
-       --enable-cue \
-       --disable-ffado \
        --disable-fluidsynth \
        --disable-gme \
        --enable-inotify \
+       --disable-icu \
        --disable-eventfd \
        --disable-iso9660 \
        --disable-jack \
@@ -126,13 +124,11 @@ CONFIGURE_ARGS += \
        --disable-modplug \
        --disable-mpc \
        --disable-mpg123 \
-       --disable-mvp \
        --disable-openal \
        --disable-opus \
        --disable-pulse \
        --disable-sidplay \
        --disable-solaris-output \
-       --disable-soup \
        --disable-sqlite \
        --disable-twolame-encoder \
        --enable-wave-encoder \
@@ -155,11 +151,12 @@ CONFIGURE_VARS += \
        $(if $(CONFIG_BUILD_PATENTED),MAD_CFLAGS="$(TARGET_CFLAGS)") \
        $(if $(CONFIG_BUILD_PATENTED),MAD_LIBS="$(TARGET_LDFLAGS) -lmad") \
 
-TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(if $(ICONV_FULL),-liconv)
+TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
 ifeq ($(BUILD_VARIANT),full)
 
   CONFIGURE_ARGS += \
+       --enable-upnp \
        $(call autoconf_bool,CONFIG_BUILD_PATENTED,aac) \
        --enable-audiofile \
        --enable-fifo \
@@ -183,14 +180,13 @@ ifeq ($(BUILD_VARIANT),mini)
 
   # oggflac is not compatible with tremor
   CONFIGURE_ARGS += \
+       --disable-upnp \
        --disable-aac \
        --disable-audiofile \
        --disable-fifo \
        --disable-ffmpeg \
        --disable-id3 \
-       --disable-lastfm \
        --disable-mms \
-       --disable-oggflac \
        --disable-pipe-output \
        --disable-recorder-output \
        --disable-shout \
index f6624af18f9481d866bec5be7ba7270cf4def041..2c94c262c86ac6da486a68549a1082328f230e2f 100644 (file)
@@ -1,6 +1,6 @@
---- a/src/decoder/FfmpegDecoderPlugin.cxx
-+++ b/src/decoder/FfmpegDecoderPlugin.cxx
-@@ -666,6 +666,7 @@ static const char *const ffmpeg_mime_typ
+--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
++++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+@@ -765,6 +765,7 @@ static const char *const ffmpeg_mime_typ
        "audio/qcelp",
        "audio/vorbis",
        "audio/vorbis+ogg",
index af2773d06ebe6aa1d2f693a2f119b10747218347..15c51f898d3442c674f6e21dfdf1c39213b06ed0 100644 (file)
@@ -1,6 +1,6 @@
---- a/src/decoder/FfmpegDecoderPlugin.cxx
-+++ b/src/decoder/FfmpegDecoderPlugin.cxx
-@@ -376,6 +376,13 @@ ffmpeg_probe(Decoder *decoder, InputStre
+--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
++++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+@@ -458,6 +458,13 @@ ffmpeg_probe(Decoder *decoder, InputStre
  
        unsigned char buffer[BUFFER_SIZE];
        size_t nbytes = decoder_read(decoder, is, buffer, BUFFER_SIZE);
git clone https://git.99rst.org/PROJECT