[arch-commits] Commit in jack2/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Aug 26 22:26:04 UTC 2019


    Date: Monday, August 26, 2019 @ 22:26:04
  Author: dvzrv
Revision: 502322

archrelease: copy trunk to community-x86_64

Added:
  jack2/repos/community-x86_64/PKGBUILD
    (from rev 502321, jack2/trunk/PKGBUILD)
Deleted:
  jack2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 59 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 22:25:57 UTC (rev 502321)
+++ PKGBUILD	2019-08-26 22:26:04 UTC (rev 502322)
@@ -1,50 +0,0 @@
-# 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>
-
-pkgname=jack2
-pkgdesc="C++ version of the JACK low-latency audio server for multi-processor machines"
-pkgver=1.9.12
-pkgrel=10
-arch=('x86_64')
-url="http://jackaudio.org/"
-license=('GPL2' 'LGPL2.1')
-depends=('celt' 'libsamplerate' 'opus')
-# in 1.9.12 waf is broken with python 3.7: https://github.com/jackaudio/jack2/issues/366
-makedepends=('doxygen' 'libffado' 'portaudio' 'python2')
-optdepends=('a2jmidid: Expose ALSA MIDI in JACK MIDI'
-            'libffado: Firewire support'
-            'portaudio: Portaudio support'
-            'python2-dbus: For jack_control'
-            'realtime-privileges: Acquire realtime privileges')
-provides=('jack' 'libjack.so' 'libjacknet.so' 'libjackserver.so')
-conflicts=('jack')
-replaces=('jack2-dbus')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jackaudio/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('f0271dfc8f8e2f2489ca52f431ad4fa420665816d6c67a01a76da1d4b5ae91f6dad8c4e3309ec5e0c159c9d312ed56021ab323d74bce828ace26f1b8d477ddfa')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-
-  # https://github.com/jackaudio/jack2/issues/308
-  sed -i 's:bin/env python:bin/env python2:' \
-    "example-clients/jack_control"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python2 waf configure --prefix=/usr \
-                        --htmldir="/usr/share/doc/${pkgbase}/" \
-                        --freebob=no \
-                        --classic \
-                        --dbus
-  python2 waf build
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python2 waf install --destdir="${pkgdir}"
-}
-# vim:set ts=2 sw=2 et:

Copied: jack2/repos/community-x86_64/PKGBUILD (from rev 502321, jack2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-26 22:26:04 UTC (rev 502322)
@@ -0,0 +1,59 @@
+# 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>
+
+pkgname=jack2
+pkgdesc="C++ version of the JACK low-latency audio server for multi-processor machines"
+pkgver=1.9.12
+pkgrel=11
+arch=('x86_64')
+url="http://jackaudio.org/"
+license=('GPL2' 'LGPL2.1')
+depends=('celt' 'libsamplerate' 'opus')
+makedepends=('doxygen' 'libffado' 'portaudio' 'waf')
+optdepends=('a2jmidid: Expose ALSA MIDI in JACK MIDI'
+            'libffado: Firewire support'
+            'portaudio: Portaudio support'
+            'python2-dbus: For jack_control'
+            'realtime-privileges: Acquire realtime privileges')
+provides=('jack' 'libjack.so' 'libjacknet.so' 'libjackserver.so')
+conflicts=('jack')
+replaces=('jack2-dbus')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jackaudio/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('f0271dfc8f8e2f2489ca52f431ad4fa420665816d6c67a01a76da1d4b5ae91f6dad8c4e3309ec5e0c159c9d312ed56021ab323d74bce828ace26f1b8d477ddfa')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # copying relevant custom waf scripts and loading them specifically using
+  # wscript
+  (
+    touch __init__.py
+    mkdir -vp tools
+    cp -v waflib/extras/xcode*.py tools
+    rm -rv waflib
+    sed -e "s/load('xcode'/load('xcode', tooldir='tools'/g" \
+        -e "s/load('xcode6'/load('xcode6', tooldir='tools'/g" \
+        -i wscript
+  )
+  # https://github.com/jackaudio/jack2/issues/308
+  sed -i 's:bin/env python:bin/env python2:' \
+    "example-clients/jack_control"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  waf configure --prefix=/usr \
+                        --htmldir="/usr/share/doc/${pkgbase}/" \
+                        --freebob=no \
+                        --classic \
+                        --dbus
+  waf build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  waf install --destdir="${pkgdir}"
+}
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list