diff options
Diffstat (limited to 'community/calf')
-rw-r--r-- | community/calf/PKGBUILD | 35 | ||||
-rw-r--r-- | community/calf/include_fix.patch | 33 |
2 files changed, 68 insertions, 0 deletions
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 <schiv@archlinux.org> + +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 <stdlib.h> + #include <string.h> + #include <config.h> ++#include <unistd.h> + #include <calf/audio_fx.h> + + #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 <stdlib.h> + #include <sstream> + #include <stdio.h> ++#include <unistd.h> + 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 <config.h> ++#include <unistd.h> + #include <fcntl.h> + #include <stdlib.h> + #include <errno.h> |