summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichal Wojdyla2021-06-23 02:23:14 +0200
committerMichal Wojdyla2021-06-23 02:23:14 +0200
commitc6cf59fcac1871798849cf5c1c087e362d3a69ce (patch)
tree039d660eb05f23c0082693cd65304f39f1835769 /PKGBUILD
parent13401518635e9d40d07463d498c58184c1afc889 (diff)
downloadaur-jack-git.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD69
1 files changed, 35 insertions, 34 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21bc4d31a82..3c4379cb354 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,33 @@
-# Maintainer: Joakim Hernberg <jhernberg@alchemy.lu>
+# Contributor: Michal Wojdyla < micwoj9292 at gmail dot com >
+# Contributor: 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
+pkgver=0.125.0rc1.64.gb040837
pkgrel=1
-
pkgdesc="A low-latency audio server"
-url="http://jackaudio.org"
-arch=('i686' 'x86_64')
+arch=('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')
+url="http://jackaudio.org/"
+depends=('db' 'gcc-libs' 'glibc')
+makedepends=('alsa-lib' 'celt' 'doxygen' 'git' 'libffado' 'libsamplerate'
+'libsndfile' 'readline' 'zita-alsa-pcmi' 'zita-resampler')
+optdepends=('celt: NetJACK driver'
+ 'libffado: FireWire support'
+ 'realtime-privileges: Acquire realtime privileges')
+provides=('libjack.so' 'libjackserver.so' 'jack')
+conflicts=('jack' 'jack2')
+
+source=("$pkgname::git+https://github.com/jackaudio/jack1.git"
+ "git+https://github.com/jackaudio/example-clients"
+ "git+https://github.com/jackaudio/headers"
+ "git+https://github.com/jackaudio/tools")
+md5sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
pkgver() {
cd "$pkgname"
@@ -38,24 +38,25 @@ 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
+ git config submodule.example-clients.url "${srcdir}/example-clients"
+ git config submodule.jack.url "${srcdir}/headers"
+ git config submodule.tools.url "${srcdir}/tools"
+ git submodule update
+ autoreconf -vfi
}
build() {
cd "$pkgname"
- ./autogen.sh
- ./configure --prefix=/usr --libdir=/usr/lib
+ ./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
+ depends+=('libasound.so' 'libreadline.so' 'libsndfile.so' 'libsamplerate.so'
+ 'libzita-alsa-pcmi.so' 'libzita-resampler.so')
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+ install -vDm 644 {AUTHORS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
}
+# vim:set ts=2 sw=2 et: