From 50a1eb604b2d5503a06d56b76347faa581160245 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 16 Jul 2012 00:01:23 +0000 Subject: Mon Jul 16 00:01:23 UTC 2012 --- community/calf/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community/calf/include_fix.patch | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 community/calf/PKGBUILD create mode 100644 community/calf/include_fix.patch (limited to 'community/calf') diff --git a/community/calf/PKGBUILD b/community/calf/PKGBUILD new file mode 100644 index 000000000..078681e5a --- /dev/null +++ b/community/calf/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Ray Rashif + +pkgname=calf +pkgver=0.0.18.6 +pkgrel=1 +pkgdesc="LV2/DSSI/LADSPA plug-ins suite and standalone JACK host" +arch=('i686' 'x86_64') +url="http://calf.sf.net/" +license=('LGPL') +depends=('libglade' 'lash') +makedepends=('lv2core' 'ladspa' 'dssi') +source=("http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.gz" + 'include_fix.patch') +md5sums=('780854561dad1cb873041d7a0b98cbcd' + '5aab4d057fb3646c43e6dfcad4c7128f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/include_fix.patch" + + ./configure --prefix=/usr \ + --enable-experimental + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + rm "$pkgdir/usr/share/icons/hicolor/icon-theme.cache" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/calf/include_fix.patch b/community/calf/include_fix.patch new file mode 100644 index 000000000..243bd86ab --- /dev/null +++ b/community/calf/include_fix.patch @@ -0,0 +1,33 @@ +diff -aur calf-0.0.18.6.orig/src/benchmark.cpp calf-0.0.18.6/src/benchmark.cpp +--- calf-0.0.18.6.orig/src/benchmark.cpp 2012-07-08 21:57:55.246042862 +0800 ++++ calf-0.0.18.6/src/benchmark.cpp 2012-07-08 21:58:20.015908672 +0800 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + + #ifdef BENCHMARK_PLUGINS +diff -aur calf-0.0.18.6.orig/src/osctlnet.cpp calf-0.0.18.6/src/osctlnet.cpp +--- calf-0.0.18.6.orig/src/osctlnet.cpp 2012-07-08 21:57:55.246042862 +0800 ++++ calf-0.0.18.6/src/osctlnet.cpp 2012-07-08 21:58:19.002580827 +0800 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + using namespace osctl; + using namespace std; + +diff -aur calf-0.0.18.6.orig/src/preset.cpp calf-0.0.18.6/src/preset.cpp +--- calf-0.0.18.6.orig/src/preset.cpp 2012-07-08 21:57:55.246042862 +0800 ++++ calf-0.0.18.6/src/preset.cpp 2012-07-08 21:58:18.989247567 +0800 +@@ -20,6 +20,7 @@ + */ + + #include ++#include + #include + #include + #include -- cgit v1.2.3-54-g00ecf