@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := mpd
PKG_NAME := mpd
PKG_VERSION := 0.21.25
PKG_VERSION := 0.21.25
PKG_RELEASE := 3
PKG_RELEASE := 4
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://www.musicpd.org/download/mpd/0.21/
PKG_SOURCE_URL := https://www.musicpd.org/download/mpd/0.21/
@ -34,7 +34,7 @@ define Package/mpd/Default
TITLE:= Music Player Daemon
TITLE:= Music Player Daemon
URL:= https://www.musicpd.org/
URL:= https://www.musicpd.org/
DEPENDS:= +zlib +libcurl +libpthread +libmpdclient +boost $( ICONV_DEPENDS) \
DEPENDS:= +zlib +libcurl +libpthread +libmpdclient +boost $( ICONV_DEPENDS) \
+AUDIO_SUPPORT:alsa-lib +libexpat +libflac +libid3tag +libfaad2 +libopus
+AUDIO_SUPPORT:alsa-lib +libexpat +libflac +libid3tag +libfaad2 +libopus
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
@ -47,7 +47,8 @@ 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 += +BUILD_PATENTED:libffmpeg +libvorbis +libmms +libupnp +libshout +AUDIO_SUPPORT:pulseaudio-daemon +yajl
DEPENDS += +AUDIO_SUPPORT:pulseaudio-daemon +libvorbis +libmms +libupnp +libshout +yajl \
+BUILD_PATENTED:libffmpeg +!BUILD_PATENTED:libmad
PROVIDES:= mpd
PROVIDES:= mpd
VARIANT:= full
VARIANT:= full
e n d e f
e n d e f
@ -98,10 +99,6 @@ 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
i f e q ( $( CONFIG_AUDIO_SUPPORT ) , y )
TARGET_LDFLAGS += -Wl,-rpath-link= $( STAGING_DIR) /usr/lib/pulseaudio
e n d i f
MESON_ARGS += \
MESON_ARGS += \
-Ddocumentation= false \
-Ddocumentation= false \
-Dtest= false \
-Dtest= false \
@ -110,7 +107,7 @@ MESON_ARGS += \
-Ddaemon= false \
-Ddaemon= false \
-Dsystemd= disabled \
-Dsystemd= disabled \
-Dtcp= true \
-Dtcp= true \
-Dipv6= $( if $( CONFIG_IPV6) ,enabled ,disabled ) \
-Dipv6= $( if $( CONFIG_IPV6) ,en,dis) abled \
-Dlocal_socket= true \
-Dlocal_socket= true \
-Ddsd= false \
-Ddsd= false \
-Ddatabase= true \
-Ddatabase= true \
@ -169,7 +166,6 @@ MESON_ARGS += \
-Dzlib= enabled \
-Dzlib= enabled \
-Dzeroconf= disabled
-Dzeroconf= disabled
i f e q ( $( BUILD_VARIANT ) , f u l l )
i f e q ( $( BUILD_VARIANT ) , f u l l )
MESON_ARGS += \
MESON_ARGS += \
@ -177,7 +173,7 @@ ifeq ($(BUILD_VARIANT),full)
-Dmms= enabled \
-Dmms= enabled \
-Dsoundcloud= enabled \
-Dsoundcloud= enabled \
-Dffmpeg= $( if $( CONFIG_BUILD_PATENTED) ,en,dis) abled \
-Dffmpeg= $( if $( CONFIG_BUILD_PATENTED) ,en,dis) abled \
-Dmad= disabled \
-Dmad= $( if $( CONFIG_BUILD_PATENTED) , dis,en) abled \
-Dtremor= disabled \
-Dtremor= disabled \
-Dvorbis= enabled \
-Dvorbis= enabled \
-Dfifo= true \
-Dfifo= true \
@ -186,6 +182,10 @@ ifeq ($(BUILD_VARIANT),full)
-Drecorder= true \
-Drecorder= true \
-Dshout= enabled \
-Dshout= enabled \
-Dyajl= enabled
-Dyajl= enabled
i f e q ( $( CONFIG_AUDIO_SUPPORT ) , y )
TARGET_LDFLAGS += -Wl,-rpath-link= $( STAGING_DIR) /usr/lib/pulseaudio
e n d i f
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 )