summaryrefslogtreecommitdiff
path: root/extra/vamp-plugin-sdk
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vamp-plugin-sdk')
-rw-r--r--extra/vamp-plugin-sdk/PKGBUILD38
-rw-r--r--extra/vamp-plugin-sdk/gcc44.patch14
-rw-r--r--extra/vamp-plugin-sdk/vamp-plugin-sdk.changelog11
3 files changed, 63 insertions, 0 deletions
diff --git a/extra/vamp-plugin-sdk/PKGBUILD b/extra/vamp-plugin-sdk/PKGBUILD
new file mode 100644
index 000000000..06633b1de
--- /dev/null
+++ b/extra/vamp-plugin-sdk/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 86992 2010-08-08 20:57:26Z schiv $
+# Maintainer: Ray Rashif <schivmeister@gmail.com>
+# Contributor: Orivej Desh <smpuj@bk.ru>
+
+pkgname=vamp-plugin-sdk
+pkgver=2.1
+pkgrel=1
+pkgdesc="The Vamp audio analysis plugin system"
+arch=('i686' 'x86_64')
+url="http://www.vamp-plugins.org/"
+license=('BSD')
+depends=('gcc-libs' 'libsndfile')
+#options=('!libtool')
+source=(http://downloads.sourceforge.net/vamp/$pkgname-$pkgver.tar.gz
+ gcc44.patch)
+md5sums=('13252077a73987dae72a9174e529b6b9'
+ 'a07e3ef9c657a56cf2e8c4afc0ba1cec')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # gcc 4.4 compatibility
+ patch -Np1 -i ../gcc44.patch
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/extra/vamp-plugin-sdk/gcc44.patch b/extra/vamp-plugin-sdk/gcc44.patch
new file mode 100644
index 000000000..f559a7da9
--- /dev/null
+++ b/extra/vamp-plugin-sdk/gcc44.patch
@@ -0,0 +1,14 @@
+diff -ur vamp-plugin-sdk-2.0.orig/examples/FixedTempoEstimator.cpp vamp-plugin-sdk-2.0/examples/FixedTempoEstimator.cpp
+--- vamp-plugin-sdk-2.0.orig/examples/FixedTempoEstimator.cpp 2008-12-01 13:48:41.000000000 +0200
++++ vamp-plugin-sdk-2.0/examples/FixedTempoEstimator.cpp 2009-06-06 00:57:58.000000000 +0300
+@@ -43,9 +43,9 @@
+
+ using Vamp::RealTime;
+
++#include <cstdio>
+ #include <cmath>
+
+-
+ class FixedTempoEstimator::D
+ // this class just avoids us having to declare any data members in the header
+ {
diff --git a/extra/vamp-plugin-sdk/vamp-plugin-sdk.changelog b/extra/vamp-plugin-sdk/vamp-plugin-sdk.changelog
new file mode 100644
index 000000000..04f17247e
--- /dev/null
+++ b/extra/vamp-plugin-sdk/vamp-plugin-sdk.changelog
@@ -0,0 +1,11 @@
+9 Aug 2010 (GMT+8) Ray Rashif <schivmeister@gmail.com>
+
+ * 2.1-1 :
+ Brought into extra from community for rubberband/ardour
+ - dep of rubberband
+
+ * PKGBUILD :
+ Minor cosmetic ammendments.
+
+ * vamp-plugin-sdk.changelog :
+ Added this changelog.