Browse Source

l/vamp-plugin-sdk: Upgraded to vamp-plugin-sdk-2.2.1.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
3c08641591
  1. 11
      l/vamp-plugin-sdk/vamp-plugin-sdk-2.1-sprintf.patch
  2. 1
      l/vamp-plugin-sdk/vamp-plugin-sdk-2.1.tar.gz.sha1
  3. 1
      l/vamp-plugin-sdk/vamp-plugin-sdk-2.2.1.tar.gz.sha1
  4. 16
      l/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild

11
l/vamp-plugin-sdk/vamp-plugin-sdk-2.1-sprintf.patch

@ -1,11 +0,0 @@
diff -Naur vamp-plugin-sdk-2.1.orig/examples/FixedTempoEstimator.cpp vamp-plugin-sdk-2.1/examples/FixedTempoEstimator.cpp
--- vamp-plugin-sdk-2.1.orig/examples/FixedTempoEstimator.cpp 2009-09-24 14:05:26.000000000 +0200
+++ vamp-plugin-sdk-2.1/examples/FixedTempoEstimator.cpp 2010-07-22 14:11:38.554135718 +0200
@@ -44,6 +44,7 @@
using Vamp::RealTime;
#include <cmath>
+#include <cstdio>
class FixedTempoEstimator::D

1
l/vamp-plugin-sdk/vamp-plugin-sdk-2.1.tar.gz.sha1

@ -1 +0,0 @@
86f95c837ca793f24d766bba0a5acf73c644a668 vamp-plugin-sdk-2.1.tar.gz

1
l/vamp-plugin-sdk/vamp-plugin-sdk-2.2.1.tar.gz.sha1

@ -0,0 +1 @@
c0db50a64a5c94ba45b39639862e32a7173420d1 vamp-plugin-sdk-2.2.1.tar.gz

16
l/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,18 +24,16 @@
#
# Latest vamp-plugin-sdk sourcecode is available at:
# <http://www.vamp-plugins.org/>.
#
# Depends: l/libsndfile
# Source package infos
NAMESRC=${NAMESRC:-vamp-plugin-sdk}
VERSION=${VERSION:-2.1}
VERSION=${VERSION:-2.2.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://puzzle.dl.sourceforge.net/project/vamp/vamp-plugin-sdk/$VERSION/$ARCHIVE}
WGET=${WGET:-downloads.sourceforge.net/vamp/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-vamp-plugin-sdk}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -84,7 +82,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/vamp-plugin-sdk-2.1-sprintf.patch
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
@ -107,8 +104,9 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 CHANGELOG COPYING README{,.compat} $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGELOG COPYING README{,.compat} \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save