[arch-commits] Commit in rtaudio/trunk (0001-fix-jack-requirement.diff PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Jan 31 21:11:54 UTC 2018
Date: Wednesday, January 31, 2018 @ 21:11:54
Author: dvzrv
Revision: 288450
upgpkg: rtaudio 5.0.0-5
Applying patch for missing jack requirement: https://github.com/thestk/rtaudio/issues/115.
Added:
rtaudio/trunk/0001-fix-jack-requirement.diff
Modified:
rtaudio/trunk/PKGBUILD
--------------------------------+
0001-fix-jack-requirement.diff | 14 ++++++++++++++
PKGBUILD | 19 +++++++++++--------
2 files changed, 25 insertions(+), 8 deletions(-)
Added: 0001-fix-jack-requirement.diff
===================================================================
--- 0001-fix-jack-requirement.diff (rev 0)
+++ 0001-fix-jack-requirement.diff 2018-01-31 21:11:54 UTC (rev 288450)
@@ -0,0 +1,14 @@
+diff -ruN rtaudio-5.0.0-a/configure.ac rtaudio-5.0.0-b/configure.ac
+--- rtaudio-5.0.0-a/configure.ac 2017-08-30 23:30:36.000000000 +0200
++++ rtaudio-5.0.0-b/configure.ac 2018-01-31 22:04:03.896801359 +0100
+@@ -127,7 +127,9 @@
+ AS_IF([test "x$with_jack" == "xyes"], [
+ api="$api -D__UNIX_JACK__"
+ AC_MSG_RESULT(using JACK)
+- AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))])
++ AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))
++ req="$req jack"
++])
+
+ case $host in
+ *-*-netbsd*)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-31 21:03:40 UTC (rev 288449)
+++ PKGBUILD 2018-01-31 21:11:54 UTC (rev 288450)
@@ -6,7 +6,7 @@
pkgname=rtaudio
pkgver=5.0.0
-pkgrel=4
+pkgrel=5
pkgdesc="A set of C++ classes that provide a common API for realtime audio input/output."
arch=('x86_64')
url="https://www.music.mcgill.ca/~gary/rtaudio/"
@@ -13,11 +13,15 @@
license=('custom:MIT')
depends=('jack' 'libpulse' 'python2')
makedepends=('doxygen')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('0bc60c189795626ff65ffaf7c7ae3dd72b4d249fdfe8dc9c3cc4cda8871b8f6ba151c60cd10b81286c3800f326a16028745cf8c67b8eafde0d8a68145ecb2258')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/v${pkgver}.tar.gz"
+ '0001-fix-jack-requirement.diff')
+sha512sums=('0bc60c189795626ff65ffaf7c7ae3dd72b4d249fdfe8dc9c3cc4cda8871b8f6ba151c60cd10b81286c3800f326a16028745cf8c67b8eafde0d8a68145ecb2258'
+ '3cb2c19cdf2d25d1bb62f6f37d30f8677405e325966e9cbfbf39e57088637e5ab1eb70af224335569ba39931e75f57592223b33f65f8d3fc7be6bd230d67f901')
prepare() {
cd "${pkgname}-${pkgver}"
+ # https://github.com/thestk/rtaudio/issues/115
+ patch -Np1 -i "${srcdir}/0001-fix-jack-requirement.diff"
autoreconf -fi
}
@@ -24,7 +28,6 @@
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr --with-alsa --with-jack --with-pulse
- sed -i 's/Requires: /Requires: jack/' rtaudio.pc
make
cd contrib/python/pyrtaudio
python2 setup.py build
@@ -34,21 +37,21 @@
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- # Text documentation.
+ # docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm644 {readme,doc/release.txt}
- # HTML documentation.
+ # html
install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
-vDm644 doc/html/*
install -t "${pkgdir}/usr/share/doc/${pkgname}/images" \
-vDm644 doc/images/*
- # License.
+ # license
csplit -s readme "%LEGAL AND%"
install -vDm644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- # Install python2 bindings
+ # python2 bindings
cd contrib/python/pyrtaudio
python2 setup.py install --skip-build \
--optimize=1 \
More information about the arch-commits
mailing list