summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2016-08-03 06:35:11 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commitcfb5513da4c25c95fed607c33b37610493d6d59b (patch)
tree9df0a8ccc46046ae90025985b92d0a7f855fa4b4
parentbb224f84e58849427329a6d80e270406eb9bcff5 (diff)
downloadslackbuilds-cfb5513da4c25c95fed607c33b37610493d6d59b.tar.gz
slackbuilds-cfb5513da4c25c95fed607c33b37610493d6d59b.tar.xz
audio/match-vamp-plugin: Updated for version 1.0.
-rw-r--r--audio/match-vamp-plugin/match-vamp-plugin.SlackBuild12
-rw-r--r--audio/match-vamp-plugin/match-vamp-plugin.info6
2 files changed, 10 insertions, 8 deletions
diff --git a/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild b/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild
index aa12e6c0f7..228b38ca00 100644
--- a/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild
+++ b/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild
@@ -7,10 +7,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=match-vamp-plugin
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+TARNAME=$( echo $PRGNAM | cut -d- -f1,2 )
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -43,9 +45,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $TARNAME-$VERSION
+tar xvf $CWD/$TARNAME-$VERSION.tar.bz2
+cd $TARNAME-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -54,7 +56,7 @@ find -L . \
-exec chmod 644 {} \;
# 20151122 bkw: Grr. How long has this been broken?
-sed -i 's/-Wl,-Bstatic//' Makefile
+sed 's/-Wl,-Bstatic//' Makefile.linux > Makefile
# Just in case someone doesn't trust upstream's default CXXFLAGS:
if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then
diff --git a/audio/match-vamp-plugin/match-vamp-plugin.info b/audio/match-vamp-plugin/match-vamp-plugin.info
index 04d67b5057..b38d7c2af0 100644
--- a/audio/match-vamp-plugin/match-vamp-plugin.info
+++ b/audio/match-vamp-plugin/match-vamp-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="match-vamp-plugin"
-VERSION="0.2.1"
+VERSION="1.0"
HOMEPAGE="https://code.soundsoftware.ac.uk/projects/match-vamp/"
-DOWNLOAD="http://downloads.sourceforge.net/vamp/match-vamp-plugin-0.2.1.tar.gz"
-MD5SUM="a1ba304c26a9de143d1d00f157e2dd51"
+DOWNLOAD="https://code.soundsoftware.ac.uk/attachments/download/1615/match-vamp-1.0.tar.bz2"
+MD5SUM="aebc743a4059463e9ab3a8e234cb02a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="vamp-plugin-sdk"