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

David Runge dvzrv at archlinux.org
Thu Jan 25 17:34:33 UTC 2018


    Date: Thursday, January 25, 2018 @ 17:34:32
  Author: dvzrv
Revision: 286863

archrelease: copy trunk to community-testing-x86_64

Added:
  rtaudio/repos/community-testing-x86_64/
  rtaudio/repos/community-testing-x86_64/PKGBUILD
    (from rev 286862, rtaudio/trunk/PKGBUILD)

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

Copied: rtaudio/repos/community-testing-x86_64/PKGBUILD (from rev 286862, rtaudio/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-01-25 17:34:32 UTC (rev 286863)
@@ -0,0 +1,57 @@
+# 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=2
+pkgdesc="A set of C++ classes that provide a common API for realtime audio input/output."
+arch=('x86_64')
+url="http://www.music.mcgill.ca/~gary/rtaudio/"
+license=('custom:MIT')
+depends=('jack' 'libpulse' 'python2')
+makedepends=('doxygen')
+source=("https://github.com/thestk/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('0bc60c189795626ff65ffaf7c7ae3dd72b4d249fdfe8dc9c3cc4cda8871b8f6ba151c60cd10b81286c3800f326a16028745cf8c67b8eafde0d8a68145ecb2258')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -fi
+}
+
+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
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # Text documentation.
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -Dm644 readme \
+    -Dm644 doc/release.txt
+
+  # HTML documentation.
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" -Dm644 doc/html/*
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/images" -Dm644 doc/images/*
+
+  # License.
+  csplit -s readme "%LEGAL AND%"
+  install -Dm644 xx00 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # Install 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