Files
bpfire/lfs/mpc
Adolf Belka 771f4f47c0 mpc: Update to 0.33
- Update from 0.21 to 0.33
- Update rootfiles
- Required update in libmpdclient to 2.19
- Autotools build no longer available
   Change build to meson and ninja
- Changelog
   0.33 (2019/10/31)
      * fix off-by-one bug in "prio" command
      * reduce network transfer for "playlist", "ls", "listall"
   0.32 (2019/06/11)
      * add command "listneighbors"
      * reduce network transfer for "search"
      * fall back to "Composer" or "AlbumArtist" tag in the default format
      * support abstract socket in --host option
   0.31 (2018/10/24)
      * add commands "queued", "seekthrough", "mount", "unmount"
      * support "search" with filter expression (MPD 0.21)
      * support "load" with range
      * allow only tag names after "list"
      * fix the Windows build (no strndup())
      * make documentation build optional with -Ddocumentation={true|false|auto}
      * build: require Meson 0.47
   0.30 (2018/05/03)
      * add command "rescan"
      * seek: use the "seekcur" command instead of "seekid"
      * require MPD 0.19
   0.29 (2018/02/11)
      * implement %prio% for --format
      * the default --format falls back to "performer" if there is no "artist"
      * add command "prio"
      * command "outputs" prints attributes
      * fix build failure with gcc 7.0 and clang 4.0
      * build with Meson instead of autotools
   0.28 (2016/08/18)
      * let "listall" print songs only
      * "searchplay" supports tags
      * add command "pause-if-playing"
      * format: add escape character to escape sequences
      * use environment variable "MPC_FORMAT"
      * require libmpdclient 2.9 or newer
   0.27 (2015/05/30)
      * fix --enable-debug and --enable-werror
      * add unit tests
      * new command: "searchplay" searches and plays songs from the current playlist
      * fix use-after-free bug
      * new command: "searchadd" works like findadd with non-exact matching
      * improved error handling
      * show directories in command "tab"
      * bash completion: escape '&'
      * add %mtime% and %mdate% to --format
      * recognize command by unambiguous prefix
      * "insert" queues new songs when "random" mode is enabled
   0.26 (2014/06/03)
      * fix segfault when adding absolute paths
      * "playlist" can show stored playlist
      * "search" supports --format
   0.25 (2013/11/09)
      * fix "insert" with directory argument
      * optimize tab completion commands
      * do character set conversion for tab completion commands
      * require libmpdclient 2.3, MPD 0.16
   0.24 (2013/10/29)
      * configure.ac: fix syntax error
      * new command "toggleoutput"
      * use the "volume" command on MPD 0.18
      * fix search/find with "filename" constraint
      * add search/find with "base" constraint
      * don't strip trailing slashes from absolute URLs
   0.23 (2013/04/09)
      * do character set conversions on client-to-client messages
      * allow trailing slashes in paths that can be directories
      * make "mv" a shortcut for "move"
      * new command "cdprev"
      * support absolute paths in "add" and "update"
      * enable/disable: support output names, multiple arguments, and "only" mode
      * doc: document missing format keywords
   0.22 (2012/02/04)
      * implement the client-to-client protocol (MPD 0.17)
      * sticker: fix crash bug
      * print newline after volume level
      * print status after no-op relative volume change

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-07 13:15:46 +00:00

85 lines
3.1 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 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
VER = 0.33
THISAPP = mpc-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = mpc
PAK_VER = 7
DEPS = mpd libmpdclient
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 7d1f5c308b5df1f2af0a01360a235af2
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && meson --prefix=/usr builddir/
cd $(DIR_APP) && ninja -C builddir/
cd $(DIR_APP) && ninja -C builddir/ install
@rm -rf $(DIR_APP)
@$(POSTBUILD)