summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Hernberg2015-06-08 17:33:56 +0200
committerJoakim Hernberg2015-06-08 17:33:56 +0200
commit13401518635e9d40d07463d498c58184c1afc889 (patch)
tree9f9f1c7c35c1b6d3d5ddc18e7667699b476c9a12
downloadaur-13401518635e9d40d07463d498c58184c1afc889.tar.gz
initial commit of jack-git (0.124.1.35.g6685cc7-1)
-rw-r--r--.SRCINFO39
-rw-r--r--40-hpet-permissions.rules2
-rw-r--r--99-audio.conf2
-rw-r--r--PKGBUILD61
4 files changed, 104 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..828afdc93d2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 8 15:31:13 UTC 2015
+pkgbase = jack-git
+ pkgdesc = A low-latency audio server
+ pkgver = 0.124.1.35.g6685cc7
+ pkgrel = 1
+ url = http://jackaudio.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ makedepends = git
+ makedepends = doxygen
+ makedepends = libffado
+ makedepends = celt
+ depends = db
+ depends = libsamplerate
+ depends = zita-alsa-pcmi
+ depends = zita-resampler
+ optdepends = libffado: FireWire support
+ optdepends = celt: NetJACK driver
+ provides = jack=0.124.1.35.g6685cc7
+ conflicts = jack
+ conflicts = jack2
+ conflicts = jack-dbus
+ conflicts = jack2-dbus
+ source = jack-git::git://github.com/jackaudio/jack1.git
+ source = tools-git::git://github.com/jackaudio/tools.git
+ source = example-clients-git::git://github.com/jackaudio/example-clients.git
+ source = 99-audio.conf
+ source = 40-hpet-permissions.rules
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = ae65b7c9ebe0fff6c918ba9d97ae342d
+ md5sums = 471aad533ff56c5d3cbbf65ce32cadef
+
+pkgname = jack-git
+
diff --git a/40-hpet-permissions.rules b/40-hpet-permissions.rules
new file mode 100644
index 00000000000..7af3780f9d9
--- /dev/null
+++ b/40-hpet-permissions.rules
@@ -0,0 +1,2 @@
+KERNEL=="rtc0", GROUP="audio"
+KERNEL=="hpet", GROUP="audio"
diff --git a/99-audio.conf b/99-audio.conf
new file mode 100644
index 00000000000..eb76ef92030
--- /dev/null
+++ b/99-audio.conf
@@ -0,0 +1,2 @@
+@audio - rtprio 99
+@audio - memlock unlimited
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..21bc4d31a82
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer: Joakim Hernberg <jhernberg@alchemy.lu>
+# Contributor: Ray Rashif <schiv@archlinux.org>
+# Contributor: tobias <tobias@archlinux.net>
+# Contributor: Robert Emil Berge <robert@rebi.no>
+
+pkgname=jack-git
+pkgver=0.124.1.35.g6685cc7
+pkgrel=1
+
+pkgdesc="A low-latency audio server"
+url="http://jackaudio.org"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+
+depends=('db' 'libsamplerate' 'zita-alsa-pcmi' 'zita-resampler')
+makedepends=('git' 'doxygen' 'libffado' 'celt')
+optdepends=('libffado: FireWire support' 'celt: NetJACK driver')
+
+provides=("jack=$pkgver")
+conflicts=('jack' 'jack2' 'jack-dbus' 'jack2-dbus')
+
+source=("$pkgname::git://github.com/jackaudio/jack1.git"
+ 'tools-git::git://github.com/jackaudio/tools.git'
+ 'example-clients-git::git://github.com/jackaudio/example-clients.git'
+ '99-audio.conf'
+ '40-hpet-permissions.rules')
+
+md5sums=('SKIP' 'SKIP' 'SKIP'
+ 'ae65b7c9ebe0fff6c918ba9d97ae342d'
+ '471aad533ff56c5d3cbbf65ce32cadef')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --tags --always | sed 's|-|.|g'
+}
+
+prepare()
+{
+ cd "$pkgname"
+ git submodule init
+ git config submodule.tools/master.url "$srcdir"/tools
+ git config submodule.example-clients/master.url "$srcdir"/example-clients
+ git submodule update jack tools example-clients
+}
+
+build() {
+ cd "$pkgname"
+ ./autogen.sh
+ ./configure --prefix=/usr --libdir=/usr/lib
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+
+ # configure realtime access/scheduling
+ # see https://bugs.archlinux.org/task/26343
+ install -Dm644 "$srcdir"/99-audio.conf "$pkgdir"/etc/security/limits.d/99-audio.conf
+ install -Dm644 "$srcdir"/40-hpet-permissions.rules "$pkgdir"/usr/lib/udev/rules.d/40-hpet-permissions.rules
+}