]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
mpc: Update to 0.33
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 7 Apr 2021 10:17:36 +0000 (12:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Apr 2021 13:15:46 +0000 (13:15 +0000)
- 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>
config/rootfiles/packages/mpc
lfs/mpc

index 044b3141e714185b0e8da90fa5c58e8a950413c2..8fe33283981bb2d4425d41584b4899013ca707e9 100644 (file)
@@ -3,9 +3,8 @@ usr/bin/mpc
 #usr/share/doc/mpc/AUTHORS
 #usr/share/doc/mpc/COPYING
 #usr/share/doc/mpc/NEWS
-#usr/share/doc/mpc/README
-#usr/share/doc/mpc/mpc-completion.bash
-#usr/share/doc/mpc/mpd-m3u-handler.sh
-#usr/share/doc/mpc/mpd-pls-handler.sh
-#usr/share/doc/mpc/mppledit
-#usr/share/man/man1/mpc.1
+#usr/share/doc/mpc/README.rst
+#usr/share/doc/mpc/contrib
+#usr/share/doc/mpc/contrib/mpc-completion.bash
+#usr/share/doc/mpc/contrib/mpd-m3u-handler.sh
+#usr/share/doc/mpc/contrib/mpd-pls-handler.sh
diff --git a/lfs/mpc b/lfs/mpc
index 5f3340b980226d89a1fa5d756e0a1799f7379bf2..2060685ccead4053a3d0ae37672cb1a74013b7f0 100644 (file)
--- a/lfs/mpc
+++ b/lfs/mpc
 
 include Config
 
-VER        = 0.21
+VER        = 0.33
 
 THISAPP    = mpc-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpc
-PAK_VER    = 6
+PAK_VER    = 7
 
 DEPS       = mpd libmpdclient
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = d8f88aad5fa7ed4c6e7005c5ec1ba7c5
+$(DL_FILE)_MD5 = 7d1f5c308b5df1f2af0a01360a235af2
 
 install : $(TARGET)
 
@@ -76,9 +76,9 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr
-       cd $(DIR_APP) && make $(MAKETUNING)
-       cd $(DIR_APP) && make install
+       @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)