From 1540d1ed2befb46362bd9f815879455754d300ff Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 18 May 2017 09:31:57 +0700 Subject: [PATCH] audio/mp3blaster: Updated for version 3.2.6. This also fix build on -current. Signed-off-by: Willy Sudiarto Raharjo --- audio/mp3blaster/mp3blaster.SlackBuild | 13 +++++-------- audio/mp3blaster/mp3blaster.info | 6 +++--- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/audio/mp3blaster/mp3blaster.SlackBuild b/audio/mp3blaster/mp3blaster.SlackBuild index f0b5dff391..7f1e3c8e0e 100644 --- a/audio/mp3blaster/mp3blaster.SlackBuild +++ b/audio/mp3blaster/mp3blaster.SlackBuild @@ -25,7 +25,7 @@ # Modified by the SlackBuilds.org project PRGNAM=mp3blaster -VERSION=${VERSION:-3.2.5} +VERSION=${VERSION:-3.2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,7 +72,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++11 -Wno-narrowing" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -82,14 +82,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README TODO \ +cp -a AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README TODO \ doc/commands.txt doc/sample.mp3blasterrc $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/mp3blaster/mp3blaster.info b/audio/mp3blaster/mp3blaster.info index 7cab5f59ae..cfdd19d81e 100644 --- a/audio/mp3blaster/mp3blaster.info +++ b/audio/mp3blaster/mp3blaster.info @@ -1,8 +1,8 @@ PRGNAM="mp3blaster" -VERSION="3.2.5" +VERSION="3.2.6" HOMEPAGE="http://mp3blaster.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/mp3blaster/mp3blaster-3.2.5.tar.gz" -MD5SUM="edb3bb122553d2d544dfb084010311c6" +DOWNLOAD="https://github.com/stragulus/mp3blaster/archive/v3.2.6/mp3blaster-3.2.6.tar.gz" +MD5SUM="138408cd71c69270c12c3a374a63c885" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""