mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/mpd: Updated for version 0.13.1
This commit is contained in:
parent
246af21942
commit
69806dd2e1
5 changed files with 24 additions and 12 deletions
|
@ -9,5 +9,5 @@ NOTE: You will have to create a directory manually, ~/.mpd/playlists.
|
|||
Also, be sure to edit the config file (/etc/mpd.conf), if needed, before
|
||||
running the daemon.
|
||||
|
||||
If save status isn't working properly when killing, try `killall -TERM mpd`,
|
||||
If save status isn't working properly when killing, try "killall -TERM mpd",
|
||||
and that should resolve the problem.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="`dirname $NEW`/`basename $NEW .new`"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for mpd
|
||||
|
||||
# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com>
|
||||
# Copyright 2008 Andrew Brouwers <abrouwers@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -22,13 +22,12 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
PRGNAM=mpd
|
||||
VERSION=0.13.0
|
||||
VERSION=0.13.1
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG=_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-mpd
|
||||
|
@ -43,7 +42,7 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "s390" ]; then
|
||||
SLKCFLAGS="-O2"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2"
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -74,6 +73,7 @@ if [ -d $PKG/usr/man ]; then
|
|||
fi
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
# Some docs are installed by the source, but we'll need to move them
|
||||
cp -a AUTHORS COPYING INSTALL ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $PKG/usr/share/doc/mpd/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="mpd"
|
||||
VERSION="0.13.0"
|
||||
VERSION="0.13.1"
|
||||
HOMEPAGE="http://www.musicpd.org/"
|
||||
DOWNLOAD="http://musicpd.org/uploads/files/mpd-0.13.0.tar.gz"
|
||||
MD5SUM="0b33bdb9d706439949344073e90f812a"
|
||||
DOWNLOAD="http://musicpd.org/uploads/files/mpd-0.13.1.tar.gz"
|
||||
MD5SUM="3079a76b7ce048d89e2f644b578cd4fe"
|
||||
MAINTAINER="Andrew Brouwers"
|
||||
EMAIL="abrouwers@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -1,7 +1,19 @@
|
|||
mpd: Music Player Daemon
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler---------------------------------------------------------|
|
||||
mpd: mpd (Music Player Daemon)
|
||||
mpd:
|
||||
mpd: MPD is designed for integrating a computer into a stereo system that
|
||||
mpd: provides control for music playback over a local network. It is also
|
||||
mpd: a great music player using one of many available clients.
|
||||
mpd:
|
||||
mpd: Homepage: http://www.musicpd.org/
|
||||
mpd:
|
||||
mpd:
|
||||
mpd:
|
||||
mpd:
|
||||
|
|
Loading…
Reference in a new issue