Date: Thursday, January 25, 2018 @ 17:32:45 Author: dvzrv Revision: 286862
Adding rtaudio 5.0.0 from AUR (19 votes). Added: rtaudio/ rtaudio/repos/ rtaudio/trunk/ rtaudio/trunk/PKGBUILD ----------+ PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) Added: rtaudio/trunk/PKGBUILD =================================================================== --- rtaudio/trunk/PKGBUILD (rev 0) +++ rtaudio/trunk/PKGBUILD 2018-01-25 17:32:45 UTC (rev 286862) @@ -0,0 +1,57 @@ +# Maintainer: David Runge <d...@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}/" +} + Property changes on: rtaudio/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property