Browse Source

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 <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
c7d98c3626
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      sound/mpd/Makefile

+ 4
- 4
sound/mpd/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mpd PKG_NAME:=mpd
PKG_VERSION:=0.21.20 PKG_VERSION:=0.21.20
PKG_RELEASE:=1
PKG_RELEASE:=2
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/
@ -33,7 +33,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 +libstdcpp $(ICONV_DEPENDS) \ 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 endef
define Package/mpd/Default/description define Package/mpd/Default/description
@ -73,7 +73,7 @@ define Package/mpd-mini/description
$(call Package/mpd/Default/description) $(call Package/mpd/Default/description)
. .
This package contains a minimal Music Player Daemon, with support for 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 endef
define Package/mpd-mini/conffiles define Package/mpd-mini/conffiles
@ -131,7 +131,7 @@ MESON_ARGS += \
-Dchromaprint=disabled \ -Dchromaprint=disabled \
-Dadplug=disabled \ -Dadplug=disabled \
-Daudiofile=disabled \ -Daudiofile=disabled \
-Dfaad=disabled \
-Dfaad=enabled \
-Dflac=enabled \ -Dflac=enabled \
-Dfluidsynth=disabled \ -Dfluidsynth=disabled \
-Dgme=disabled \ -Dgme=disabled \


Loading…
Cancel
Save