void-packages/srcpkgs/rubberband/template
2022-02-28 18:36:18 +01:00

39 lines
1.1 KiB
Bash

# Template file for 'rubberband'
pkgname=rubberband
version=2.0.2
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel lv2"
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=b9eac027e797789ae99611c9eaeaf1c3a44cc804f9c8a0441a0d1d26f3d6bdf9
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
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
}
}