void-packages/srcpkgs/zita-convolver/template
newbluemoon 0dc1d94f9e Update zita-* packages, fix guitarix2 musl build and update to 0.37.3
* zita-ajbridge: update to 0.8.2, fix license

* zita-alsa-pcmi: update to 0.3.2, fix license

* zita-convolver: update to 4.0.3, fix license

* zita-resampler: update to 1.6.2, fix license

* guitarix2: update to 0.37.3, fix musl build
2018-08-30 10:03:46 +02:00

33 lines
959 B
Bash

# Template file for 'zita-convolver'
pkgname=zita-convolver
version=4.0.3
revision=1
build_style=gnu-makefile
make_install_args="LIBDIR=/usr/lib"
hostmakedepends="pkg-config"
makedepends="fftw-devel"
build_wrksrc="source"
short_desc="A fast partitioned convolution engine library"
maintainer="silvernode <mollusk@homebutter.com>"
license="GPL-3.0-or-later"
homepage="http://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=9aa11484fb30b4e6ef00c8a3281eebcfad9221e3937b1beb5fe21b748d89325f
pre_build() {
sed -i '/march=native/d' Makefile
}
post_install() {
# add missing symlink
ln -s libzita-convolver.so.${version} ${PKGDESTDIR}/usr/lib/libzita-convolver.so.${version%%.*}
}
zita-convolver-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}