summaryrefslogtreecommitdiff
path: root/audio/ncmpcpp/ncmpcpp.SlackBuild
diff options
context:
space:
mode:
authorJostein Berntsen <jbernts@broadpark.no>2015-11-17 00:24:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-17 20:56:43 +0700
commitdc8a63484bd77580853ec1afc5a6e50516ab5a3a (patch)
tree5cc52b36323752fbd2186d5a5450833e6c227b5e /audio/ncmpcpp/ncmpcpp.SlackBuild
parentbd129f1ad6fe3ec3d11611162892e2760e5c4245 (diff)
downloadslackbuilds-dc8a63484bd77580853ec1afc5a6e50516ab5a3a.tar.gz
audio/ncmpcpp: Updated for version 0.6.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild
index c09a336038..055ab7c9c7 100644
--- a/audio/ncmpcpp/ncmpcpp.SlackBuild
+++ b/audio/ncmpcpp/ncmpcpp.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for ncmpcpp
# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com>
+# Copyright 2015 Jostein Berntsen <jbernts@broadpark.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=ncmpcpp
-VERSION=${VERSION:-0.5.10}
+VERSION=${VERSION:-0.6.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,16 +72,22 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -ie 's/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4, false))/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4))/g' src/tags.cpp
+
+export BOOST_LIB_SUFFIX=""
+./autogen.sh \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
+--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-unicode \
--with-curl \
--with-taglib \
- --build=$ARCH-slackware-linux
+ --with-fftw \
+--enable-clock \
+--enable-visualizer \
+ --build=$ARCH-slackware-linux
make docdir=/usr/doc/$PRGNAM-$VERSION
make docdir=/usr/doc/$PRGNAM-$VERSION install-strip DESTDIR=$PKG