void-packages/srcpkgs/rubberband/template

34 lines
997 B
Bash

# Template file for 'rubberband'
pkgname=rubberband
version=1.8.2
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel"
depends="libvamp-plugin-sdk"
short_desc="Time-stretching and pitch-shifting audio library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="https://breakfastquay.com/rubberband/"
changelog="https://breakfastquay.com/news.html"
distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
checksum=86bed06b7115b64441d32ae53634fcc0539a50b9b648ef87443f936782f6c3ca
librubberband_package() {
short_desc+=" - Runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/vamp
vmove usr/lib/ladspa
}
}
rubberband-devel_package() {
depends="librubberband>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}