@ -6,12 +6,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := mpd
PKG_NAME := mpd
PKG_VERSION := 0.20.8
PKG_VERSION := 0.20.9
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := http://www.musicpd.org/download/mpd/0.20/
PKG_SOURCE_URL := http://www.musicpd.org/download/mpd/0.20/
PKG_HASH := 7d177f29663c4a0997413401e52bbf11d2bb472773bbcf9294f839c4b8751e35
PKG_HASH := cd77a2869e32354b004cc6b34fcb0bee56114caa2d9ed862aaa8071441e34eb7
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>
PKG_LICENSE := GPL-2.0
PKG_LICENSE := GPL-2.0
@ -35,8 +35,7 @@ define Package/mpd/Default
TITLE:= Music Player Daemon
TITLE:= Music Player Daemon
URL:= http://www.musicpd.org/
URL:= http://www.musicpd.org/
DEPENDS:= +glib2 +libcurl +libpthread +libmpdclient +libstdcpp $( ICONV_DEPENDS) \
DEPENDS:= +glib2 +libcurl +libpthread +libmpdclient +libstdcpp $( ICONV_DEPENDS) \
+libflac +BUILD_PATENTED:libmad +libvorbisidec +AUDIO_SUPPORT:alsa-lib \
+boost +boost-container +libexpat
+AUDIO_SUPPORT:alsa-lib +boost +boost-container +libexpat
e n d e f
e n d e f
d e f i n e P a c k a g e / m p d / D e f a u l t / d e s c r i p t i o n
d e f i n e P a c k a g e / m p d / D e f a u l t / d e s c r i p t i o n
@ -49,9 +48,7 @@ endef
d e f i n e P a c k a g e / m p d - f u l l
d e f i n e P a c k a g e / m p d - f u l l
$( call Package /mpd /Default )
$( call Package /mpd /Default )
TITLE += ( full)
TITLE += ( full)
DEPENDS += \
+libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg +libid3tag \
+libmms +libogg +libsndfile +libvorbis +libupnp
DEPENDS += +libffmpeg +libid3tag +libmms +libupnp +libshout
PROVIDES:= mpd
PROVIDES:= mpd
VARIANT:= full
VARIANT:= full
e n d e f
e n d e f
@ -69,6 +66,7 @@ endef
d e f i n e P a c k a g e / m p d - m i n i
d e f i n e P a c k a g e / m p d - m i n i
$( call Package /mpd /Default )
$( call Package /mpd /Default )
TITLE += ( mini)
TITLE += ( mini)
DEPENDS += +libflac +libmpg123 +libvorbisidec
PROVIDES:= mpd
PROVIDES:= mpd
VARIANT:= mini
VARIANT:= mini
e n d e f
e n d e f
@ -101,8 +99,7 @@ define Package/mpd-avahi-service/conffiles
/ e t c / a v a h i / s e r v i c e s / m p d . s e r v i c e
/ e t c / a v a h i / s e r v i c e s / m p d . s e r v i c e
e n d e f
e n d e f
TARGET_CFLAGS += -ggdb3
TARGET_LDFLAGS += -Wl,-rpath-link= $( STAGING_DIR) /usr/lib $( if $( ICONV_FULL) ,-liconv)
EXTRA_LDFLAGS += $( if $( ICONV_FULL) ,-liconv,-Wl,--whole-archive -liconv -Wl,--no-whole-archive)
EXTRA_CXXFLAGS += $( if $( CONFIG_GCC_VERSION_4_8) ,-std= gnu++11,-std= gnu++14)
EXTRA_CXXFLAGS += $( if $( CONFIG_GCC_VERSION_4_8) ,-std= gnu++11,-std= gnu++14)
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
@ -110,74 +107,69 @@ CONFIGURE_ARGS += \
--disable-debug \
--disable-debug \
--disable-documentation \
--disable-documentation \
--disable-test \
--disable-test \
--disable-werror \
\
--disable-aac \
--disable-adplug \
--disable-ao \
--disable-ao \
--disable-audiofile \
--disable-bzip2 \
--disable-bzip2 \
--disable-cdio-paranoia \
--disable-fluidsynth \
--disable-fluidsynth \
--disable-wildmidi \
--disable-wildmidi \
--disable-gme \
--disable-gme \
--enable-inotify \
--enable-inotify \
--disable-icu \
--disable-icu \
--disable-eventfd \
--enable-iconv \
--disable-iso9660 \
--disable-iso9660 \
--disable-jack \
--disable-jack \
--disable-roar \
--disable-roar \
--disable-libwrap \
--disable-libwrap \
--disable-lsr \
--disable-lsr \
--disable-mad \
--disable-mikmod \
--disable-mikmod \
--disable-modplug \
--disable-modplug \
--disable-mpc \
--disable-mpc \
--disable-mpg123 \
--disable-nfs \
--disable-openal \
--disable-openal \
--disable-opus \
--disable-opus \
--disable-pulse \
--disable-pulse \
--disable-sidplay \
--disable-sidplay \
--disable-smbclient \
--disable-sndfile \
--disable-solaris-output \
--disable-solaris-output \
--disable-sqlite \
--disable-sqlite \
--disable-systemd-daemon \
--disable-lame-encoder \
--disable-lame-encoder \
--disable-twolame-encoder \
--disable-twolame-encoder \
--disable-shine-encoder \
--disable-shine-encoder \
--disable-vorbis-encoder \
--enable-wave-encoder \
--enable-wave-encoder \
--disable-wavpack \
--disable-wavpack \
--disable-webdav \
--disable-wildmidi \
--disable-wildmidi \
--disable-zzip \
--disable-zzip \
--with-zeroconf= no \
--with-zeroconf= no \
--disable-soxr \
--disable-soxr \
\
--enable-curl \
--enable-curl \
--enable-flac \
--enable-httpd-output \
--enable-httpd-output \
$( call autoconf_bool,CONFIG_BUILD_PATENTED,mad) \
$( call autoconf_bool,CONFIG_AUDIO_SUPPORT,alsa) \
$( call autoconf_bool,CONFIG_AUDIO_SUPPORT,alsa) \
--enable-tcp \
--enable-tcp \
--enable-un \
--disable-sndio \
--disable-haiku
CONFIGURE_VARS += \
FLAC_CFLAGS = " $( TARGET_CFLAGS) -I $( STAGING_DIR) /usr/include/FLAC " \
FLAC_LIBS = " $( TARGET_LDFLAGS) -lFLAC " \
$( if $( CONFIG_BUILD_PATENTED) ,MAD_CFLAGS= " $( TARGET_CFLAGS) " ) \
$( if $( CONFIG_BUILD_PATENTED) ,MAD_LIBS= " $( TARGET_LDFLAGS) -lmad " ) \
i f e q ( $( BUILD_VARIANT ) , f u l l )
i f e q ( $( BUILD_VARIANT ) , f u l l )
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--enable-upnp \
--enable-upnp \
$( call autoconf_bool,CONFIG_BUILD_PATENTED,aac) \
--enable-audiofile \
--enable-fifo \
--enable-ffmpeg \
--enable-ffmpeg \
--disable-flac \
--enable-id3 \
--enable-id3 \
--enable-mms \
--enable-mms \
--enable-flac \
--disable-mpg123 \
--enable-pipe-output \
--enable-pipe-output \
--enable-recorder-output \
--enable-recorder-output \
--disable-shout \
--enable-sndfile \
--enable-vorbis \
--disable-vorbis-encoder \
--with-tremor= yes \
--enable-shout \
--disable-vorbis
e n d i f
e n d i f
i f e q ( $( BUILD_VARIANT ) , m i n i )
i f e q ( $( BUILD_VARIANT ) , m i n i )
@ -185,20 +177,14 @@ ifeq ($(BUILD_VARIANT),mini)
# oggflac is not compatible with tremor
# oggflac is not compatible with tremor
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--disable-upnp \
--disable-upnp \
--disable-aac \
--disable-audiofile \
--disable-fifo \
--disable-fifo \
--disable-ffmpeg \
--disable-ffmpeg \
--disable-id3 \
--disable-id3 \
--disable-mms \
--disable-mms \
--disable-pipe-output \
--disable-recorder-output \
--disable-shout \
--disable-shout \
--disable-sndfile \
--disable-vorbis \
--disable-vorbis-encoder \
--enable-vorbis \
--with-tremor= yes \
--with-tremor= yes \
--disable-recorder-output
e n d i f
e n d i f
d e f i n e P a c k a g e / m p d / i n s t a l l
d e f i n e P a c k a g e / m p d / i n s t a l l