From ad22ef46f496b8d609696ffbb1159435fc3fb16d Mon Sep 17 00:00:00 2001 From: Donald Cooley Date: Thu, 26 Jan 2017 13:17:57 +0000 Subject: [PATCH] audio/soundkonverter: Updated for version 2.2.2. Signed-off-by: David Spencer --- audio/soundkonverter/README | 8 ++++---- audio/soundkonverter/doinst.sh | 5 ++++- audio/soundkonverter/slack-desc | 8 ++++---- audio/soundkonverter/soundkonverter.SlackBuild | 15 ++++++++------- audio/soundkonverter/soundkonverter.info | 10 +++++----- 5 files changed, 25 insertions(+), 21 deletions(-) diff --git a/audio/soundkonverter/README b/audio/soundkonverter/README index 544040b3ec..461de79a94 100644 --- a/audio/soundkonverter/README +++ b/audio/soundkonverter/README @@ -1,10 +1,10 @@ soundKonverter is a frontend to various audio converters. - The key features are: - Audio conversion - Replay Gain calculation - CD ripping -There are many backends available as optional dependencies such as faac, -lame, et al. See https://github.com/HessiJames/soundkonverter/wiki for -details. +Optional Dependencies + +See the wiki for more information: +https://github.com/dfaust/soundkonverter/wiki diff --git a/audio/soundkonverter/doinst.sh b/audio/soundkonverter/doinst.sh index 4a25de5e6f..aea0f894eb 100644 --- a/audio/soundkonverter/doinst.sh +++ b/audio/soundkonverter/doinst.sh @@ -2,9 +2,12 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi - diff --git a/audio/soundkonverter/slack-desc b/audio/soundkonverter/slack-desc index 14beb1379e..f29357c663 100644 --- a/audio/soundkonverter/slack-desc +++ b/audio/soundkonverter/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| soundkonverter: soundkonverter (a frontend to various audio converters) soundkonverter: -soundkonverter: soundKonverter is a frontend to various audio converters. soundkonverter: The key features are: soundkonverter: - Audio conversion soundkonverter: - Replay Gain calculation soundkonverter: - CD ripping soundkonverter: -soundkonverter: See the wiki for more information: -soundkonverter: https://github.com/HessiJames/soundkonverter/wiki -soundkonverter: Homepage: https://github.com/HessiJames/soundkonverter +soundkonverter: +soundkonverter: +soundkonverter: https://github.com/dfaust/soundkonverter +soundkonverter: diff --git a/audio/soundkonverter/soundkonverter.SlackBuild b/audio/soundkonverter/soundkonverter.SlackBuild index e1bbb0b3f6..6c10dad413 100644 --- a/audio/soundkonverter/soundkonverter.SlackBuild +++ b/audio/soundkonverter/soundkonverter.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for soundkonverter # Copyright 2013 Roberto Neri, Palermo, Italy +# Copyright 2017 Donald Cooley South Haven, Indiana USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,16 +23,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Updated and maintained by Donald Cooley La Porte, IN USA PRGNAM=soundkonverter -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -92,7 +92,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG INSTALL README \ +cp -a \ + CHANGELOG COPYING INSTALL README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/soundkonverter/soundkonverter.info b/audio/soundkonverter/soundkonverter.info index 5e52441d33..72e4186762 100644 --- a/audio/soundkonverter/soundkonverter.info +++ b/audio/soundkonverter/soundkonverter.info @@ -1,10 +1,10 @@ PRGNAM="soundkonverter" -VERSION="2.2.0" -HOMEPAGE="https://github.com/HessiJames/soundkonverter" -DOWNLOAD="https://github.com/HessiJames/soundkonverter/archive/v2.2.0.tar.gz" -MD5SUM="23d14344ff32f1030d55606cb5fd39af" +VERSION="2.2.2" +HOMEPAGE="https://github.com/dfaust/soundkonverter" +DOWNLOAD="https://github.com/dfaust/soundkonverter/archive/v2.2.2/soundkonverter-2.2.2.tar.gz" +MD5SUM="fd2dfac2d7e134caeba857b340c27715" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Donald Cooley" -EMAIL="dfc@warpmail.net" +EMAIL="chytraeu@sdf.org"