summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorspider-mario2015-08-14 00:27:43 +0200
committerspider-mario2015-08-14 00:27:43 +0200
commite34b446237c8f01754ba1c2792d462e57ab5577c (patch)
treee956473784258022646c09d7dc51178723b560d2
downloadaur-e34b446237c8f01754ba1c2792d462e57ab5577c.tar.gz
initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD35
-rw-r--r--build.patch21
-rw-r--r--include-unistd.patch22
4 files changed, 98 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b2ba4b2e186
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = vocoder-jack
+ pkgdesc = Standalone JACK vocoder
+ pkgver = 0.29
+ pkgrel = 1
+ url = http://www.sirlab.de/linux/download_vocoder_standalone_jack.html
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = fltk
+ depends = jack
+ depends = libsndfile
+ source = http://www.sirlab.de/linux/download/vocoder-jack-0.29.tar.gz
+ source = include-unistd.patch
+ source = build.patch
+ sha512sums = 46f77069be5f30810cf69a5e058370df0d20c2de9ff64a5311ec36c87fad786d0b306f84378458655e9aa5a118e731a0a18a42e9c61485d8a2724b1b92950df8
+ sha512sums = a4ff280cd71ab942723c82e53b6aab1af424ea2946e902e6732d4c3e8c6466fd65c08cdad9851d9238a4b9b5ca9b59710369b4d63999a70ee55bb83c4dc3fbca
+ sha512sums = a6e2757e58640f39ae81c4ed6926a4ec50490a609642490a40c4491122d2ddb6459289759d03eee7ed2b931d35807630dbecdd67cd56af5472517925144c74cd
+
+pkgname = vocoder-jack
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8294d2c09a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: spider-mario <spidermario@free.fr>
+pkgname=vocoder-jack
+pkgver=0.29
+pkgrel=1
+pkgdesc="Standalone JACK vocoder"
+arch=('i686' 'x86_64')
+url="http://www.sirlab.de/linux/download_vocoder_standalone_jack.html"
+license=('GPL')
+depends=('fltk' 'jack' 'libsndfile')
+source=(http://www.sirlab.de/linux/download/$pkgname-$pkgver.tar.gz
+ include-unistd.patch
+ build.patch)
+noextract=()
+sha512sums=('46f77069be5f30810cf69a5e058370df0d20c2de9ff64a5311ec36c87fad786d0b306f84378458655e9aa5a118e731a0a18a42e9c61485d8a2724b1b92950df8'
+ 'a4ff280cd71ab942723c82e53b6aab1af424ea2946e902e6732d4c3e8c6466fd65c08cdad9851d9238a4b9b5ca9b59710369b4d63999a70ee55bb83c4dc3fbca'
+ 'a6e2757e58640f39ae81c4ed6926a4ec50490a609642490a40c4491122d2ddb6459289759d03eee7ed2b931d35807630dbecdd67cd56af5472517925144c74cd')
+
+prepare() {
+ cd vocoder
+ patch -p1 < ../include-unistd.patch
+ patch -p1 < ../build.patch
+}
+
+build() {
+ cd vocoder
+ make
+}
+
+package() {
+ cd vocoder
+
+ install --directory "$pkgdir"/usr/bin
+ install src/vocoder "$pkgdir"/usr/bin/
+ install util/play_loop "$pkgdir"/usr/bin/
+}
diff --git a/build.patch b/build.patch
new file mode 100644
index 00000000000..6607728ede9
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,21 @@
+diff a/src/Makefile b/src/Makefile
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -2,7 +2,7 @@
+ CPPFLAGS= -O2 -Wall -W
+ CPPFLAGS+= $(shell fltk-config --cflags)
+ LFLAGS= -ljack -lm
+-LFLAGS+= $(shell fltk-config --ldflags)
++LFLAGS+= -pthread $(shell fltk-config --ldflags)
+ FLUIDFLAGS=
+
+ VERSION=$(shell cat VERSION)
+@@ -26,7 +26,7 @@ OBJECTS=main.o window_vocoder.o window_vocoder.fl.o window_vocoder_band.o window
+ $(FLUID) $(FLUIDFLAGS) -c $<
+
+ vocoder: $(OBJECTS)
+- $(LD) $(LFLAGS) -o $@ $(OBJECTS)
++ $(LD) -o $@ $(OBJECTS) $(LFLAGS)
+
+
+ # Tool rules #fold00
diff --git a/include-unistd.patch b/include-unistd.patch
new file mode 100644
index 00000000000..7798dbe6b40
--- /dev/null
+++ b/include-unistd.patch
@@ -0,0 +1,22 @@
+diff a/src/output_jack.cpp b/src/output_jack.cpp
+--- a/src/output_jack.cpp
++++ b/src/output_jack.cpp
+@@ -5,6 +5,7 @@
+ */
+
+ // Includes /*fold00*/
++#include <unistd.h>
+ #include <iostream>
+ #include "output_jack.h"
+
+diff a/util/play_loop.cc b/util/play_loop.cc
+--- a/util/play_loop.cc
++++ b/util/play_loop.cc
+@@ -5,6 +5,7 @@
+ */
+
+ // Includes /*fold00*/
++#include <unistd.h>
+ #include <string.h>
+ #include <getopt.h>
+ #include <sndfile.h>