[arch-commits] Commit in jack2/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jan 10 16:12:16 UTC 2019


    Date: Thursday, January 10, 2019 @ 16:12:15
  Author: felixonmars
Revision: 421891

archrelease: copy trunk to community-staging-x86_64

Added:
  jack2/repos/community-staging-x86_64/
  jack2/repos/community-staging-x86_64/PKGBUILD
    (from rev 421890, jack2/trunk/PKGBUILD)

----------+
 PKGBUILD |   75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

Copied: jack2/repos/community-staging-x86_64/PKGBUILD (from rev 421890, jack2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-10 16:12:15 UTC (rev 421891)
@@ -0,0 +1,75 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Daniele Paolella <danielepaolella at email.it>
+# Contributor: Philipp Überbacher <hollunder at gmx dot at>
+# Contributor: Thomas Bahn <thomas-bahn at gmx dot net>
+
+pkgbase=jack2
+pkgname=('jack2' 'jack2-dbus')
+pkgdesc="The next-generation JACK with SMP support"
+pkgver=1.9.12
+pkgrel=7
+arch=('x86_64')
+url="http://jackaudio.org/"
+license=('GPL')
+# currently waf is broken with python 3.7: https://github.com/jackaudio/jack2/issues/366
+makedepends=('celt' 'doxygen' 'libffado' 'opus' 'python2')
+optdepends=('realtime-privileges: Acquire realtime privileges')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/jackaudio/${pkgbase}/archive/v${pkgver}.tar.gz")
+sha512sums=('f0271dfc8f8e2f2489ca52f431ad4fa420665816d6c67a01a76da1d4b5ae91f6dad8c4e3309ec5e0c159c9d312ed56021ab323d74bce828ace26f1b8d477ddfa')
+
+prepare() {
+  cd "${pkgbase}-${pkgver}"
+
+  # https://github.com/jackaudio/jack2/issues/308
+  sed -i 's:bin/env python:bin/env python2:' \
+    "example-clients/jack_control"
+
+  # copy of the source for jack2-dbus
+  cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/${pkgname[1]}-${pkgver}"
+
+  # configure jack2
+  python2 waf configure --prefix=/usr \
+                        --htmldir="/usr/share/doc/${pkgbase}/" \
+                        --freebob=no \
+                        --classic \
+                        --dbus
+
+  # configure jack2-dbus
+  cd "${srcdir}/${pkgname[1]}-${pkgver}"
+  python2 waf configure --prefix=/usr \
+                        --htmldir="/usr/share/doc/${pkgbase}/" \
+                        --freebob=no \
+                        --dbus
+}
+
+build() {
+  # build jack2
+  cd "${pkgname[0]}-${pkgver}"
+  python2 waf build
+  # build jack2-dbus
+  cd "${srcdir}/${pkgname[1]}-${pkgver}"
+  python2 waf build
+}
+
+package_jack2() {
+  pkgdesc="JACK low-latency audio server for multi-processor machines (daemon activation)"
+  depends=('celt' 'opus' 'libffado' 'python2-dbus')
+  conflicts=('jack' 'jack2-dbus')
+  provides=('jack')
+
+  cd "${pkgname}-${pkgver}"
+  python2 waf install --destdir="${pkgdir}"
+}
+
+package_jack2-dbus() {
+  pkgdesc="JACK low-latency audio server for multi-processor machines (only dbus activation)"
+  depends=('celt' 'opus' 'libffado' 'python2-dbus')
+  conflicts=('jack' 'jack2')
+  provides=('jack' 'jack2')
+
+  cd "${pkgname}-${pkgver}"
+  python2 waf install --destdir="${pkgdir}"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list