[arch-commits] Commit in jack2/repos/community-x86_64 (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Oct 6 20:23:58 UTC 2019
Date: Sunday, October 6, 2019 @ 20:23:57
Author: dvzrv
Revision: 513655
archrelease: copy trunk to community-x86_64
Added:
jack2/repos/community-x86_64/PKGBUILD
(from rev 513654, jack2/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: jack2/repos/community-x86_64/PKGBUILD (from rev 513654, jack2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-06 20:23:57 UTC (rev 513655)
@@ -0,0 +1,58 @@
+# 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.13
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/jackaudio/jack2"
+license=('GPL2' 'LGPL2.1')
+depends=('alsa-lib' 'celt' 'glibc' 'libsamplerate' 'opus')
+makedepends=('libffado' 'portaudio' 'waf')
+optdepends=('a2jmidid: Expose ALSA MIDI in JACK MIDI'
+ 'libffado: Firewire support'
+ 'portaudio: Portaudio support'
+ 'python-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=('947ddd55c0dfbaa71e510c2870434ccf10acc51e416ae97d4e8db9c3c25bd1103520698879163ed7e4a13e92ec5bb3d24b949db1321795042c58e58336d7f300')
+
+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
+ )
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export PYTHONPATH="${PWD}:${PYTHONPATH}"
+ waf configure --prefix=/usr \
+ --htmldir="/usr/share/doc/${pkgbase}/" \
+ --systemd-unit \
+ --classic \
+ --dbus
+ waf build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ export PYTHONPATH="${PWD}:${PYTHONPATH}"
+ waf install --destdir="${pkgdir}"
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list