|
|
@ -7,17 +7,18 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=mpd |
|
|
|
PKG_VERSION:=0.21.25 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
|
PKG_SOURCE_URL:=https://www.musicpd.org/download/mpd/0.21/ |
|
|
|
PKG_HASH:=20a0ad01bf327b2dbeb6ae8e1af952cb0de83d2d63fab0fa4b7183a74765c201 |
|
|
|
|
|
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net> |
|
|
|
PKG_MAINTAINER:= |
|
|
|
PKG_LICENSE:=GPL-2.0-or-later |
|
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
|
|
CONFIG_BUILD_PATENTED \
|
|
|
|
CONFIG_IPV6 \
|
|
|
|
|
|
|
|
PKG_INSTALL:=1 |
|
|
@ -32,8 +33,8 @@ define Package/mpd/Default |
|
|
|
CATEGORY:=Sound |
|
|
|
TITLE:=Music Player Daemon |
|
|
|
URL:=https://www.musicpd.org/ |
|
|
|
DEPENDS:= +zlib +libcurl +libpthread +libmpdclient +libstdcpp $(ICONV_DEPENDS) \
|
|
|
|
+AUDIO_SUPPORT:alsa-lib +boost +libexpat +libflac +libid3tag +libfaad2 |
|
|
|
DEPENDS:= +zlib +libcurl +libpthread +libmpdclient +boost $(ICONV_DEPENDS) \
|
|
|
|
+AUDIO_SUPPORT:alsa-lib +libexpat +libflac +libid3tag +libfaad2 +libopus |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/mpd/Default/description |
|
|
@ -46,7 +47,7 @@ endef |
|
|
|
define Package/mpd-full |
|
|
|
$(call Package/mpd/Default) |
|
|
|
TITLE+= (full) |
|
|
|
DEPENDS+= +libffmpeg +libvorbis +libmms +libupnp +libshout +AUDIO_SUPPORT:pulseaudio-daemon +yajl |
|
|
|
DEPENDS+= +BUILD_PATENTED:libffmpeg +libvorbis +libmms +libupnp +libshout +AUDIO_SUPPORT:pulseaudio-daemon +yajl |
|
|
|
PROVIDES:=mpd |
|
|
|
VARIANT:=full |
|
|
|
endef |
|
|
@ -139,7 +140,7 @@ MESON_ARGS += \ |
|
|
|
-Dmikmod=disabled \
|
|
|
|
-Dmodplug=disabled \
|
|
|
|
-Dmpcdec=disabled \
|
|
|
|
-Dopus=disabled \
|
|
|
|
-Dopus=enabled \
|
|
|
|
-Dsidplay=disabled \
|
|
|
|
-Dsndfile=disabled \
|
|
|
|
-Dwavpack=disabled \
|
|
|
@ -175,7 +176,7 @@ ifeq ($(BUILD_VARIANT),full) |
|
|
|
-Dupnp=enabled \
|
|
|
|
-Dmms=enabled \
|
|
|
|
-Dsoundcloud=enabled \
|
|
|
|
-Dffmpeg=enabled \
|
|
|
|
-Dffmpeg=$(if $(CONFIG_BUILD_PATENTED),en,dis)abled \
|
|
|
|
-Dmad=disabled \
|
|
|
|
-Dtremor=disabled \
|
|
|
|
-Dvorbis=enabled \
|
|
|
|