summaryrefslogtreecommitdiff
path: root/pcr/rakarrack
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/rakarrack')
-rw-r--r--pcr/rakarrack/PKGBUILD26
-rw-r--r--pcr/rakarrack/fltk_include.patch24
2 files changed, 50 insertions, 0 deletions
diff --git a/pcr/rakarrack/PKGBUILD b/pcr/rakarrack/PKGBUILD
new file mode 100644
index 000000000..4bdfe7c94
--- /dev/null
+++ b/pcr/rakarrack/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+# patch taken from https://aur.archlinux.org/packages/rakarrack/
+
+pkgname=rakarrack
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="Versatile guitar multi-effects processor"
+arch=('i686')
+license=('GPL')
+url="http://rakarrack.sourceforge.net"
+depends=('alsa-utils' 'jack' 'fltk' 'libxpm')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+ 'fltk_include.patch')
+md5sums=('56b1e04779ae3d56cc8a3ad3c4e25152'
+ 'd43512466f514434daaf16bd72951ea0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # fix for latest fltk include dir name
+ patch -Np1 -i "$srcdir/fltk_include.patch"
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/rakarrack/fltk_include.patch b/pcr/rakarrack/fltk_include.patch
new file mode 100644
index 000000000..447e8d539
--- /dev/null
+++ b/pcr/rakarrack/fltk_include.patch
@@ -0,0 +1,24 @@
+diff -baur rakarrack-0.6.1.orig/src/global.h rakarrack-0.6.1/src/global.h
+--- rakarrack-0.6.1.orig/src/global.h 2011-07-12 05:13:31.367583829 +0800
++++ rakarrack-0.6.1/src/global.h 2011-07-12 05:15:20.670325018 +0800
+@@ -99,7 +99,7 @@
+ #include <X11/xpm.h>
+ #include <jack/jack.h>
+ #include <jack/midiport.h>
+-#include <Fl/Fl_Preferences.H>
++#include <FL/Fl_Preferences.H>
+ #include "FPreset.h"
+ #include "Reverb.h"
+ #include "Chorus.h"
+diff -baur rakarrack-0.6.1.orig/src/process.C rakarrack-0.6.1/src/process.C
+--- rakarrack-0.6.1.orig/src/process.C 2011-07-12 05:13:31.367583829 +0800
++++ rakarrack-0.6.1/src/process.C 2011-07-12 05:15:31.293600800 +0800
+@@ -28,7 +28,7 @@
+ #include <fcntl.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+-#include <Fl/Fl_Preferences.H>
++#include <FL/Fl_Preferences.H>
+ #include "global.h"
+
+ int Pexitprogram, preset;