Browse Source

mpc: update to 0.33

Small Makefile cleanups.

Ran script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
4fba03d6d1
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      sound/mpc/Makefile
  2. +3
    -3
      sound/mpc/files/pls-handler.sh

+ 3
- 3
sound/mpc/Makefile View File

@ -6,16 +6,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mpc
PKG_VERSION:=0.32
PKG_VERSION:=0.33
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.musicpd.org/download/mpc/0
PKG_HASH:=7961d95b7ce019996beab281cf957e905667c989c53fffd13ade5e62fea331c7
PKG_HASH:=4f40ccbe18f5095437283cfc525a97815e983cbfd3a29e48ff610fa4f1bf1296
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_BUILD_DEPENDS:=meson/host
PKG_INSTALL:=1


+ 3
- 3
sound/mpc/files/pls-handler.sh View File

@ -1,5 +1,5 @@
#!/usr/bin/env sh
#!/bin/sh
echo parameter: file.pls
mpc clear
grep '^File[0-9]*' $1 | sed -e 's/^File[0-9]*=//' | mpc add
mpc play
grep '^File[0-9]*' "$1" | sed -e 's/^File[0-9]*=//' | mpc add
mpc play

Loading…
Cancel
Save