zita-convolver: remove build flags fix

and enable recommended build flags
This commit is contained in:
tibequadorian 2021-02-17 03:51:23 +01:00 committed by Érico Nogueira Rolim
parent dc53384ed0
commit b5869d8ae6

View file

@ -1,24 +1,20 @@
# Template file for 'zita-convolver' # Template file for 'zita-convolver'
pkgname=zita-convolver pkgname=zita-convolver
version=4.0.3 version=4.0.3
revision=1 revision=2
build_wrksrc="source"
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="LIBDIR=/usr/lib" make_install_args="LIBDIR=/usr/lib"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="fftw-devel" makedepends="fftw-devel"
build_wrksrc="source" short_desc="Fast partitioned convolution engine library"
short_desc="A fast partitioned convolution engine library"
maintainer="silvernode <mollusk@homebutter.com>" maintainer="silvernode <mollusk@homebutter.com>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="http://kokkinizita.linuxaudio.org/linuxaudio/" homepage="http://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2" distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=9aa11484fb30b4e6ef00c8a3281eebcfad9221e3937b1beb5fe21b748d89325f checksum=9aa11484fb30b4e6ef00c8a3281eebcfad9221e3937b1beb5fe21b748d89325f
CXXFLAGS="-fPIC -DPIC" CXXFLAGS="-fPIC -ffast-math -funroll-loops"
pre_build() {
sed -i '/march=native/d' Makefile
}
post_install() { post_install() {
# add missing symlink # add missing symlink