0dc1d94f9e
* 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
32 lines
956 B
Bash
32 lines
956 B
Bash
# Template file for 'zita-resampler'
|
|
pkgname=zita-resampler
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_install_args="LIBDIR=/usr/lib"
|
|
hostmakedepends="pkg-config"
|
|
build_wrksrc="source"
|
|
short_desc="A library for resampling audio signals"
|
|
maintainer="silvernode <mollusk@homebutter.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html"
|
|
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
|
checksum=233baefee297094514bfc9063e47f848e8138dc7c959d9cd957b36019b98c5d7
|
|
|
|
pre_build() {
|
|
sed -i '/march=native/d' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
# add missing symlink
|
|
ln -s libzita-resampler.so.${version} ${PKGDESTDIR}/usr/lib/libzita-resampler.so.${version%%.*}
|
|
}
|
|
|
|
zita-resampler-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|