Package Details: jack-git 0.125.0rc1.64.gb040837-1

Git Clone URL: https://aur.archlinux.org/jack-git.git (read-only, click to copy)
Package Base: jack-git
Description: A low-latency audio server
Upstream URL: http://jackaudio.org/
Licenses: GPL, LGPL
Conflicts: jack, jack2
Provides: jack, libjack.so, libjackserver.so
Submitter: jhernberg
Maintainer: IslandC0der
Last Packager: micwoj92
Votes: 0
Popularity: 0.000000
First Submitted: 2014-09-07 20:00
Last Updated: 2021-06-23 00:23

Required by (583)

Sources (4)

Latest Comments

dvzrv commented on 2022-01-11 19:47

@IslandC0der: I have updated the PKGBUILD, as upstream now does not provide the files provided by jack-example-tools anymore:

diff --git i/PKGBUILD w/PKGBUILD
index 3c4379c..b5c5a45 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -4,59 +4,82 @@
 # Contributor: tobias <tobias@archlinux.net>
 # Contributor: Robert Emil Berge <robert@rebi.no>

-pkgname=jack-git
-pkgver=0.125.0rc1.64.gb040837
+pkgbase=jack-git
+pkgname=(jack-git jack-docs-git)
+pkgver=0.125.0rc1.r73.gb750dd9
 pkgrel=1
 pkgdesc="A low-latency audio server"
-arch=('x86_64')
-license=('GPL' 'LGPL')
+arch=(x86_64)
+license=(GPL2 LGPL2.1)
 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')
+makedepends=(alsa-lib db celt doxygen git libffado libsamplerate)

-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")
+source=(
+  "$pkgname::git+https://github.com/jackaudio/jack1.git"
+  "git+https://github.com/jackaudio/headers"
+)
 md5sums=('SKIP'
-         'SKIP'
-         'SKIP'
          'SKIP')

+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
 pkgver() {
   cd "$pkgname"
-  git describe --tags --always | sed 's|-|.|g'
+  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

 prepare()
 {
   cd "$pkgname"
   git submodule init
-  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
+  autoreconf -fiv
 }

 build() {
   cd "$pkgname"
   ./configure --prefix=/usr \
-              --libdir=/usr/lib
+              --libdir=/usr/lib \
+              --with-html-dir=/usr/share/doc/jack
+  # prevent excessive overlinking due to libtool
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }

-package() {
-  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}"
+package_jack-git() {
+  depends=(db gcc-libs glibc libasound.so libsamplerate.so)
+  optdepends=(
+    'celt: NetJACK driver'
+    'jack-docs: for documentation'
+    'jack-example-tools: for official JACK example-clients and tools'
+    'libffado: FireWire support'
+    'realtime-privileges: Acquire realtime privileges'
+  )
+  provides=(libjack.so libjackserver.so jack)
+  conflicts=(jack jack2)
+
+  make DESTDIR="$pkgdir" install -C "$pkgname"
+  install -vDm 644 "$pkgname/"{AUTHORS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  (
+    cd "$pkgdir"
+    _pick jack-docs usr/share/doc/jack/reference
+  )
+}
+
+package_jack-docs-git() {
+  pkgdesc+=' (documentation)'
+  conflicts=(jack-docs)
+  provides=(jack-docs)
+
+  mv -v jack-docs/* "$pkgdir"
 }
 # vim:set ts=2 sw=2 et:

micwoj92 commented on 2021-06-23 00:26

It received couple commits last year, I guess it will stay here for a while.

jhernberg commented on 2021-06-12 11:09

This can easily be deleted as there is no upstream development that I know of.