aboutsummaryrefslogtreecommitdiff
path: root/audio/flac123
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2017-04-17 07:48:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 07:48:18 +0700
commitdb382e6254de99cd940e269b2417a287d3efa6f2 (patch)
tree4ccdb440b0fcad24918c6b901512f3bbfb86a1eb /audio/flac123
parent7445056a7833fef10fbeaea6089cae2bb432e44b (diff)
audio/flac123: Updated for version 0.0.12 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/flac123')
-rw-r--r--audio/flac123/README3
-rw-r--r--audio/flac123/flac123.SlackBuild22
-rw-r--r--audio/flac123/flac123.info10
3 files changed, 20 insertions, 15 deletions
diff --git a/audio/flac123/README b/audio/flac123/README
index f0721f6bd740..d885c3ea94fe 100644
--- a/audio/flac123/README
+++ b/audio/flac123/README
@@ -2,3 +2,6 @@ flac123 is a command line tool for playing audio files stored in
the lossless FLAC format. It fills a gap in the existing FLAC tools
which provide a standalone tool to encode and decode files, a tool
to manipulate metadata but no command line tool for playback.
+
+Since it uses libao for audio output, it can output to ALSA and Pulse,
+despite those not being listed in its --help message. \ No newline at end of file
diff --git a/audio/flac123/flac123.SlackBuild b/audio/flac123/flac123.SlackBuild
index 37067130a0ce..739635c5253b 100644
--- a/audio/flac123/flac123.SlackBuild
+++ b/audio/flac123/flac123.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for flac123
-
+# Copyright 2017 Klaatu, Wellington NZ
# Copyright 2008-2009 Andrew Strong (http://www.andrews-corner.org)
# All rights reserved.
#
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flac123
-VERSION=${VERSION:-0.0.11}
+VERSION=${VERSION:-0.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,14 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-release.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -76,14 +76,16 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
+#patch out hardcoded aclocal and automake versions
+sed -i 's/aclocal-1.11/aclocal/g' Makefile
+sed -i 's/automake-1.11/automake/g' Makefile
+
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Unfortunately there are no man or info pages for this program.
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/audio/flac123/flac123.info b/audio/flac123/flac123.info
index 4156bf0d57b3..61adb193a0bd 100644
--- a/audio/flac123/flac123.info
+++ b/audio/flac123/flac123.info
@@ -1,10 +1,10 @@
PRGNAM="flac123"
-VERSION="0.0.11"
+VERSION="0.0.12"
HOMEPAGE="http://flac-tools.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/flac-tools/flac123-0.0.11.tar.gz"
-MD5SUM="60204986d3556330255b87aa42a4c9d1"
+DOWNLOAD="http://downloads.sourceforge.net/flac-tools/flac123-0.0.12-release.tar.gz"
+MD5SUM="59dacb2584bbe9c61d046ce995108ac6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.45@gmail.com"
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"