summaryrefslogtreecommitdiff
path: root/pcr/rakarrack
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-14 17:29:54 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-14 17:29:54 -0300
commitb64f2ea4bc8d36302de9d8b77ae8ae72e383ff63 (patch)
treeb0c5afa8ef344fa2dfcf0d0b5cd447eaca8632f6 /pcr/rakarrack
parent66813d33f27ad491516beba7dffb3e299a2293d2 (diff)
parent39f68aa3c33e9cc31b3a1708654f30d9d90d9a83 (diff)
downloadabslibre-b64f2ea4bc8d36302de9d8b77ae8ae72e383ff63.tar.gz
abslibre-b64f2ea4bc8d36302de9d8b77ae8ae72e383ff63.tar.bz2
abslibre-b64f2ea4bc8d36302de9d8b77ae8ae72e383ff63.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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;