summaryrefslogtreecommitdiff
path: root/community/jack2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jack2/PKGBUILD')
-rw-r--r--community/jack2/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD
index b26790757..fee756cdb 100644
--- a/community/jack2/PKGBUILD
+++ b/community/jack2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 76357 2012-09-16 14:53:18Z schiv $
+# $Id: PKGBUILD 77160 2012-10-06 07:11:43Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Daniele Paolella <danielepaolella@email.it>
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
@@ -9,7 +9,7 @@ pkgname=('jack2' 'jack2-dbus')
#pkgname= # single build (overrides split)
_tarname=jack
pkgver=1.9.8
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
@@ -18,10 +18,12 @@ makedepends=('python2' 'doxygen' 'libffado'
'libsamplerate' 'dbus-core' 'celt')
source=("http://www.grame.fr/~letz/$_tarname-$pkgver.tgz"
'99-audio.conf'
- '40-hpet-permissions.rules')
+ '40-hpet-permissions.rules'
+ 'ffado_setbuffsize-jack2.patch')
md5sums=('1dd2ff054cab79dfc11d134756f27165'
'ae65b7c9ebe0fff6c918ba9d97ae342d'
- '471aad533ff56c5d3cbbf65ce32cadef')
+ '471aad533ff56c5d3cbbf65ce32cadef'
+ '1502d82fe2276d6f224fff6467a0b6f9')
_pyfix() {
sed -i 's:bin/env python:bin/env python2:' \
@@ -42,6 +44,14 @@ _isbuild() {
build() {
cd "$srcdir/$_tarname-$pkgver"
+ # backport firewire stuff
+ # - needed for setbuffsize feature in latest stable ffado
+ # from https://github.com/jackaudio/jack2/commit/96e0251
+ (
+ cd $_tarname-$pkgver
+ patch -Np1 -i "$srcdir/ffado_setbuffsize-jack2.patch"
+ )
+
# Some optimisation bug exists for current GCC
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
export CFLAGS="${CFLAGS/-O[0-9]/-O0}"