mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
zita-resampler: update to 1.8.0.
also remove build flags fix and enable recommended build flags
This commit is contained in:
parent
b5869d8ae6
commit
797685ef15
1 changed files with 9 additions and 6 deletions
|
@ -1,22 +1,25 @@
|
||||||
# Template file for 'zita-resampler'
|
# Template file for 'zita-resampler'
|
||||||
pkgname=zita-resampler
|
pkgname=zita-resampler
|
||||||
version=1.6.2
|
version=1.8.0
|
||||||
revision=1
|
revision=1
|
||||||
|
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"
|
||||||
build_wrksrc="source"
|
short_desc="Library for resampling audio signals"
|
||||||
short_desc="A library for resampling audio signals"
|
|
||||||
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/zita-resampler/resampler.html"
|
homepage="http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html"
|
||||||
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=233baefee297094514bfc9063e47f848e8138dc7c959d9cd957b36019b98c5d7
|
checksum=e5744f23c54dd15b3f783a687bd879eee2a690a4545a15b49c4cf037aa464aa2
|
||||||
|
|
||||||
CXXFLAGS="-fPIC -DPIC"
|
CXXFLAGS="-fPIC -ffast-math"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i '/march=native/d' Makefile
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
|
x86_64*|i686*) CXXFLAGS+=" -msse2" ;;
|
||||||
|
*) vsed -i '/DENABLE_SSE2/d' Makefile ;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue