void-packages/srcpkgs/rtaudio/template
2020-12-15 23:45:59 -03:00

30 lines
908 B
Bash

# Template file for 'rtaudio'
pkgname=rtaudio
version=5.1.0
revision=1
build_style=gnu-configure
configure_args="--with-alsa --with-jack --with-pulse"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel jack-devel"
short_desc="C++ classes for common Linux, MacOS and Windows realtime audio APIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.music.mcgill.ca/~gary/rtaudio/"
distfiles="http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-${version}.tar.gz"
checksum=ff138b2b6ed2b700b04b406be718df213052d4c952190280cf4e2fab4b61fe09
post_install() {
sed -n '/Copyright/,/IN THE SOFTWARE/p' RtAudio.h > LICENSE
vlicense LICENSE
}
rtaudio-devel_package() {
depends="rtaudio-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}