From c7d98c3626a4282e1b1c0f2b5daa79840613dccd Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 21 Mar 2020 21:15:15 -0700 Subject: [PATCH] mpd: allow AAC decoding with mini variant This is possible as libfaad no longer has patented functionality based on BUILD_PATENTED. AAC is a very popular format, so it makes sense to have some kind of version included. The ffmpeg package does not provide and cannot provide AAC decoding without BUILD_PATENTED, therefore enabled FAAD for all variants. Signed-off-by: Rosen Penev --- sound/mpd/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/mpd/Makefile b/sound/mpd/Makefile index 819a2052d..4977d9227 100644 --- a/sound/mpd/Makefile +++ b/sound/mpd/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpd PKG_VERSION:=0.21.20 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.musicpd.org/download/mpd/0.21/ @@ -33,7 +33,7 @@ define Package/mpd/Default TITLE:=Music Player Daemon URL:=https://www.musicpd.org/ DEPENDS:= +zlib +libcurl +libpthread +libmpdclient +libstdcpp $(ICONV_DEPENDS) \ - +AUDIO_SUPPORT:alsa-lib +boost +libexpat +libflac +USE_UCLIBC:icu + +AUDIO_SUPPORT:alsa-lib +boost +libexpat +libflac +libfaad2 +USE_UCLIBC:icu endef define Package/mpd/Default/description @@ -73,7 +73,7 @@ define Package/mpd-mini/description $(call Package/mpd/Default/description) . This package contains a minimal Music Player Daemon, with support for - only Flac, MP3 & OGG media types & only file: & http: protocols. + only FLAC, AAC, MP3 & OGG media types & only file: & http: protocols. endef define Package/mpd-mini/conffiles @@ -131,7 +131,7 @@ MESON_ARGS += \ -Dchromaprint=disabled \ -Dadplug=disabled \ -Daudiofile=disabled \ - -Dfaad=disabled \ + -Dfaad=enabled \ -Dflac=enabled \ -Dfluidsynth=disabled \ -Dgme=disabled \