summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild17
-rw-r--r--audio/ncmpcpp/ncmpcpp.info10
2 files changed, 17 insertions, 10 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
diff --git a/audio/ncmpcpp/ncmpcpp.info b/audio/ncmpcpp/ncmpcpp.info
index fdb8f4a319..ef617eb860 100644
--- a/audio/ncmpcpp/ncmpcpp.info
+++ b/audio/ncmpcpp/ncmpcpp.info
@@ -1,10 +1,10 @@
PRGNAM="ncmpcpp"
-VERSION="0.5.10"
+VERSION="0.6.8"
HOMEPAGE="http://ncmpcpp.rybczak.net"
-DOWNLOAD="http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.5.10.tar.bz2"
-MD5SUM="298ed66325bcfe358e37e186c7ea4861"
+DOWNLOAD="https://github.com/arybczak/ncmpcpp/archive/0.6.8.tar.gz"
+MD5SUM="350904a92d6b14ca6fcb31f3be04e5c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmpdclient"
-MAINTAINER="Juan Camilo NoreƱa"
-EMAIL="jcnb81@gmail.com"
+MAINTAINER="Jostein Berntsen"
+EMAIL="jbernts@broadpark.no"