mpd: allow AAC decoding with mini variant
authorRosen Penev <redacted>
Sun, 22 Mar 2020 04:15:15 +0000 (21:15 -0700)
committerRosen Penev <redacted>
Sun, 22 Mar 2020 23:22:07 +0000 (16:22 -0700)
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 <redacted>
sound/mpd/Makefile

index 819a2052db19ffec23ad3a55fb2ba8f7273eba9b..4977d92279de3b1aa65c0cafa63e7656f1cbc64e 100644 (file)
@@ -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 \
git clone https://git.99rst.org/PROJECT