diff options
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r-- | audio/ncmpcpp/ncmpcpp.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild index c09a336038edf..055ab7c9c7eb5 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 |