Files
bpfire/lfs/mpd
Adolf Belka 944454beec mpd: Update to version 0.23.6
- Update from version 0.22.6 to 0.23.6
- Update of rootfile not required
- Since version 0.23 there is a new build time dependency for libfmt so a separate
   patch has been created to add fmt to the system but only for build
- Changelog
   ver 0.23.6 (2022/03/14)
	* protocol
	  - support filename "cover.webp" for "albumart" command
	  - support "readcomments" and "readpicture" on CUE tracks
	* decoder
	  - ffmpeg: fix end-of-file check (update stuck at empty files)
	  - opus: fix "readpicture" on Opus files
	* output
	  - pipewire: fix crash bug if setting volume before playback starts
	  - wasapi: fix resume after pause
   ver 0.23.5 (2021/12/01)
	* protocol
	  - support relative offsets for "searchadd"
	  - fix "searchaddpl" bug (bogus error "Bad position")
	* database
	  - upnp: fix crash bug
	* tags
	  - fix MixRamp support
	* migrate to PCRE2
	* GCC 12 build fixes
   ver 0.23.4 (2021/11/11)
	* protocol
	- add optional position parameter to "searchaddpl"
	* decoder
	- ffmpeg: support libavcodec 59
	* output
	- alsa: add option "thesycon_dsd_workaround" to work around device bug
	* fix crash on debug builds if startup fails
	* systemd
	- remove "RuntimeDirectory" directive because it caused problems
	- ignore the "pid_file" setting if started as systemd service
	* Windows
	- enable the "openmpt" decoder plugin
   ver 0.23.3 (2021/10/31)
	* protocol
	  - add optional position parameter to "add" and "playlistadd"
	  - allow range in "playlistdelete"
	* database
	  - fix scanning files with question mark in the name
	  - inotify: fix use-after-free bug
	* output
	  - alsa: add option "stop_dsd_silence" to work around DSD DAC noise
	* macOS: fix libfmt related build failure
	* systemd: add "RuntimeDirectory" directive
   ver 0.23.2 (2021/10/22)
	* protocol
	  - fix "albumart" timeout bug
	* input
	  - nfs: fix playback bug
	* output
	  - pipewire: send artist and title to PipeWire
	  - pipewire: DSD support
	* neighbor
	  - mention failed plugin name in error message
	* player
	  - fix cross-fade regression
	* fix crash with libfmt versions older than 7
   ver 0.23.1 (2021/10/19)
	* protocol
	  - use decimal notation instead of scientific notation
	  - "load" supports relative positions
	* output
	  - emit "mixer" idle event when replay gain changes volume
	  - pipewire: emit "mixer" idle events on external volume change
	  - pipewire: attempt to change the graph sample rate
	  - snapcast: fix time stamp bug which caused "Failed to get chunk"
	* fix libfmt linker problems
	* fix broken password authentication
   ver 0.23 (2021/10/14)
	* protocol
	  - new command "getvol"
	  - show the audio format in "playlistinfo"
	  - support "listfiles" with arbitrary storage plugins
	  - support relative positions in "addid"
	  - fix relative positions in "move" and "moveid"
	  - add "position" parameter to "findadd" and "searchadd"
	  - add position parameter to "load"
	* database
	  - proxy: require MPD 0.20 or later
	  - proxy: require libmpdclient 2.11 or later
	  - proxy: split search into chunks to avoid exceeding the output buffer
	  - simple: add option to hide CUE target songs
	  - upnp: support libnpupnp instead of libupnp
	* archive
	  - zzip, iso9660: ignore file names which are invalid UTF-8
	* decoder
	  - openmpt: new plugin
	  - wavpack: fix WVC file support
	* player
	  - do not cross-fade songs shorter than 20 seconds
	* output
	  - oss: support DSD over PCM
	  - pipewire: new plugin
	  - snapcast: new plugin
	* tags
	  - new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", and "Location"
	* split permission "player" from "control"
	* add option "host_permissions"
	* new build-time dependency: libfmt
   ver 0.22.11 (2021/08/24)
	* protocol
	  - fix "albumart" crash
	* filter
	  - ffmpeg: pass "channel_layout" instead of "channels" to buffersrc
	  - ffmpeg: fix "av_buffersink_get_frame() failed: Resource temporarily unavailable"
	  - ffmpeg: support double-precision samples (by converting to single precision)
	* Android
	  - build with NDK r23
	  - playlist_directory defaults to "/sdcard/Android/data/org.musicpd/files/playlists"
   ver 0.22.10 (2021/08/06)
	* protocol
	  - support "albumart" for virtual tracks in CUE sheets
	* database
	  - simple: fix crash bug
	  - simple: fix absolute paths in CUE "as_directory" entries
	  - simple: prune CUE entries from database for non-existent songs
	* input
	  - curl: fix crash bug after stream with Icy metadata was closed by peer
	  - tidal: remove defunct unmaintained plugin
	* tags
	  - fix crash caused by bug in TagBuilder and a few potential reference leaks
	* output
	  - httpd: fix missing tag after seeking into a new song
	  - oss: fix channel order of multi-channel files
	* mixer
	  - alsa: fix yet more rounding errors
   ver 0.22.9 (2021/06/23)
	* database
	  - simple: load all .mpdignore files of all parent directories
	* tags
	  - fix "readcomments" and "readpicture" on remote files with ID3 tags
	* decoder
	  - ffmpeg: support the tags "sort_album", "album-sort", "artist-sort"
	  - ffmpeg: fix build failure with FFmpeg 3.4
	* Android
	  - fix auto-start on boot in Android 8 or later
	* Windows
	  - fix build failure with SQLite
   ver 0.22.8 (2021/05/22)
	* fix crash bug in "albumart" command (0.22.7 regression)
   ver 0.22.7 (2021/05/19)
	* protocol
	  - don't use glibc extension to parse time stamps
	  - optimize the "albumart" command
	* input
	  - curl: send user/password in the first request, save one roundtrip
	* decoder
	  - ffmpeg: fix build problem with FFmpeg 3.4
	  - gme: support RSN files
	* storage
	  - curl: don't use glibc extension
	* database
	  - simple: fix database corruption bug
	* output
	  - fix crash when pausing with multiple partitions
	  - jack: enable on Windows
	  - httpd: send header "Access-Control-Allow-Origin: *"
	  - wasapi: add algorithm for finding usable audio format
	  - wasapi: use default device only if none was configured
	  - wasapi: add DoP support

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-05-02 20:22:22 +00:00

111 lines
3.9 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = Music Player Daemon
VER = 0.23.6
THISAPP = mpd-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/${THISAPP}
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = mpd
PAK_VER = 25
SUP_ARCH = aarch64 armv6l x86_64
DEPS = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr
SERVICES = mpd
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 5ccb4a7c06c4317e3285846a261438bdcc10db5eaf71fcba969bcae8321ca50bb26fe9317e23e38eca1c4a8785015596064d5bfc692bf66f8007d0d2a1b71cbb
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && meson --prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
-D ipv6=disabled \
-D sqlite=disabled \
-D smbclient=disabled \
-D id3tag=enabled \
-D vorbis=enabled \
-D expat=enabled \
-D ffmpeg=enabled \
-D flac=enabled \
-D lame=enabled \
-D upnp=disabled \
-D icu=disabled \
builddir/
cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
cd $(DIR_APP) && ninja -C builddir/ install
#install initscripts
$(call INSTALL_INITSCRIPTS,$(SERVICES))
@rm -rf $(DIR_APP)
touch /var/log/mpd.error.log
touch /var/log/mpd.log
@$(POSTBUILD)