void-packages/srcpkgs/rubberband/template

35 lines
1008 B
Bash

# Template file for 'rubberband'
pkgname=rubberband
version=1.9.0
revision=1
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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://breakfastquay.com/rubberband/"
changelog="https://breakfastquay.com/news.html"
distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
checksum=4f5b9509364ea876b4052fc390c079a3ad4ab63a2683aad09662fb905c2dc026
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
}
}