[arch-commits] Commit in rtaudio/repos/community-x86_64 (3 files)

David Runge dvzrv at archlinux.org
Thu Apr 18 14:56:02 UTC 2019


    Date: Thursday, April 18, 2019 @ 14:56:01
  Author: dvzrv
Revision: 451991

archrelease: copy trunk to community-x86_64

Added:
  rtaudio/repos/community-x86_64/PKGBUILD
    (from rev 451990, rtaudio/trunk/PKGBUILD)
Deleted:
  rtaudio/repos/community-x86_64/0001-fix-jack-requirement.diff
  rtaudio/repos/community-x86_64/PKGBUILD

--------------------------------+
 0001-fix-jack-requirement.diff |   14 ----
 PKGBUILD                       |  125 +++++++++++++++++++--------------------
 2 files changed, 64 insertions(+), 75 deletions(-)

Deleted: 0001-fix-jack-requirement.diff
===================================================================
--- 0001-fix-jack-requirement.diff	2019-04-18 14:55:53 UTC (rev 451990)
+++ 0001-fix-jack-requirement.diff	2019-04-18 14:56:01 UTC (rev 451991)
@@ -1,14 +0,0 @@
-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*)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-18 14:55:53 UTC (rev 451990)
+++ PKGBUILD	2019-04-18 14:56:01 UTC (rev 451991)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
-# Contributor: rtfreedman  <rob dot til dot freedman at gmail dot com>
-# Contributor: Limao Luo <luolimao+AUR at gmail dot com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=rtaudio
-pkgver=5.0.0
-pkgrel=6
-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/"
-license=('custom:MIT')
-depends=('jack' 'libpulse' 'python2')
-makedepends=('doxygen')
-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
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --with-alsa --with-jack --with-pulse
-  make
-  cd contrib/python/pyrtaudio
-  python2 setup.py build
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm644 {readme,doc/release.txt}
-
-  # html
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
-    -vDm644 doc/html/*
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/images" \
-    -vDm644 doc/images/*
-
-  # license
-  csplit -s readme "%LEGAL AND%"
-  install -vDm644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  # python2 bindings
-  cd contrib/python/pyrtaudio
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}/"
-}
-

Copied: rtaudio/repos/community-x86_64/PKGBUILD (from rev 451990, rtaudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-18 14:56:01 UTC (rev 451991)
@@ -0,0 +1,64 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: rtfreedman  <rob dot til dot freedman at gmail dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail dot com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=rtaudio
+pkgver=5.1.0
+pkgrel=1
+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/"
+license=('custom:MIT')
+depends=('jack' 'libpulse' 'python2')
+makedepends=('cmake' 'doxygen' 'python2-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('338a3a14cd4ea665ac7e94a275cb017bffd87cb10eb8ab6784fad320345ee828b8874439edd08c39efa48736edf9aa0622620784adc320473b03a8f81e17fff6')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -fi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --with-alsa \
+              --with-jack \
+              --with-pulse
+  make
+  # python bindings not compatible with python3:
+  # https://github.com/thestk/rtaudio/issues/199
+  cd contrib/python/pyrtaudio
+  python2 setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make -C tests -k
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  # docs
+  install -vDm 644 {README.md,ChangeLog,doc/release.txt} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # html
+  install -vDm 644 doc/html/* -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+  install -vDm 644 doc/images/* \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/images"
+  # license is in README.md
+  # https://github.com/thestk/rtaudio/issues/197
+  csplit -s README.md "%Legal and%"
+  install -vDm 644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # python2 bindings
+  cd contrib/python/pyrtaudio
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+}
+


More information about the arch-commits mailing list