aboutsummaryrefslogtreecommitdiff
path: root/audio
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
parentbd129f1ad6fe3ec3d11611162892e2760e5c4245 (diff)
audio/ncmpcpp: Updated for version 0.6.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 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
diff --git a/audio/ncmpcpp/ncmpcpp.info b/audio/ncmpcpp/ncmpcpp.info
index fdb8f4a319710..ef617eb860e8f 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"