audio/mp3blaster: Updated for version 3.2.6.

This also fix build on -current.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-05-18 09:31:57 +07:00
parent a749064216
commit 1540d1ed2b
2 changed files with 8 additions and 11 deletions

View File

@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project # Modified by the SlackBuilds.org project
PRGNAM=mp3blaster PRGNAM=mp3blaster
VERSION=${VERSION:-3.2.5} VERSION=${VERSION:-3.2.6}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -72,7 +72,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS -std=c++11 -Wno-narrowing" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
@ -82,14 +82,11 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
( cd $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \;
find . -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
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README TODO \
AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README TODO \
doc/commands.txt doc/sample.mp3blasterrc $PKG/usr/doc/$PRGNAM-$VERSION doc/commands.txt doc/sample.mp3blasterrc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="mp3blaster" PRGNAM="mp3blaster"
VERSION="3.2.5" VERSION="3.2.6"
HOMEPAGE="http://mp3blaster.sourceforge.net" HOMEPAGE="http://mp3blaster.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/mp3blaster/mp3blaster-3.2.5.tar.gz" DOWNLOAD="https://github.com/stragulus/mp3blaster/archive/v3.2.6/mp3blaster-3.2.6.tar.gz"
MD5SUM="edb3bb122553d2d544dfb084010311c6" MD5SUM="138408cd71c69270c12c3a374a63c885"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""