summaryrefslogtreecommitdiff
path: root/community/jack2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jack2/PKGBUILD')
-rw-r--r--community/jack2/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD
index f03152b49..4bd49a92a 100644
--- a/community/jack2/PKGBUILD
+++ b/community/jack2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 84828 2013-02-25 06:15:43Z schiv $
+# $Id: PKGBUILD 92144 2013-06-01 12:22:16Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Daniele Paolella <danielepaolella@email.it>
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
@@ -9,12 +9,12 @@ pkgname=('jack2' 'jack2-dbus')
#pkgname= # single build (overrides split)
_tarname=jack
pkgver=1.9.9.5
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
license=('GPL')
-makedepends=('python2' 'celt' 'libsamplerate')
+makedepends=('python2' 'celt' 'opus' 'libsamplerate')
[ "$CARCH" != "mips64el" ] && makedepends+=('libffado')
source=("https://dl.dropbox.com/u/28869550/jack-1.9.9.5.tar.bz2"
'99-audio.conf'
@@ -23,6 +23,10 @@ md5sums=('6c9de6b89db9d7076fa2ce222816cf4c'
'ae65b7c9ebe0fff6c918ba9d97ae342d'
'471aad533ff56c5d3cbbf65ce32cadef')
+_isbuild() {
+ printf "%s\n" ${pkgname[@]} | grep -qx $1
+}
+
_pyfix() {
sed -i 's:bin/env python:bin/env python2:' \
"$pkgdir/usr/bin/jack_control"
@@ -42,24 +46,24 @@ _wafconf() {
# see https://github.com/jackaudio/jack2/issues/22
}
-_isbuild() {
- printf "%s\n" ${pkgname[@]} | grep -qx $1
-}
-
-build() {
+prepare() {
cd "$srcdir"
# 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}"
- export CXXFLAGS="$CFLAGS"
+ #export CFLAGS="${CFLAGS/-O[0-9]/-O0}"
+ #export CXXFLAGS="$CFLAGS"
# fix doxygen building
- # TODO: report upstream, but redundant until gihub issue 22 resolves
+ # TODO: report upstream, but redundant until github issue 22 resolves
#sed -i 's:build/default/html:html:' $_tarname-$pkgver/wscript
# we may do 2 different builds
cp -r $_tarname-$pkgver $_tarname-dbus-$pkgver
+}
+
+build() {
+ cd "$srcdir"
# mixed dbus/classic build
if _isbuild jack2; then
@@ -84,7 +88,7 @@ package_jack2() {
! _isbuild jack2 && return 0
pkgdesc="The next-generation JACK with SMP support"
- depends=('libsamplerate' 'celt')
+ depends=('libsamplerate' 'celt' 'opus')
optdepends=('python2: jack_control')
[ "$CARCH" != "mips64el" ] && depends+=('libffado')
conflicts=('jack')
@@ -110,7 +114,7 @@ package_jack2-dbus() {
! _isbuild jack2-dbus && return 0
pkgdesc="The next-generation JACK with SMP support (for D-BUS interaction only)"
- depends=('libsamplerate' 'celt')
+ depends=('libsamplerate' 'celt' 'opus')
[ "$CARCH" != "mips64el" ] && depends+=('libffado')
optdepends=('python2: jack_control')
conflicts=('jack' 'jack2')