zita-resampler: don't build with -march=native; fixed cross build.
This commit is contained in:
parent
0213203e50
commit
073560fb20
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zita-resampler'
|
# Template file for 'zita-resampler'
|
||||||
pkgname=zita-resampler
|
pkgname=zita-resampler
|
||||||
version=1.3.0
|
version=1.3.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="LIBDIR=lib"
|
make_install_args="LIBDIR=lib"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -13,6 +13,11 @@ homepage="http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.
|
||||||
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
||||||
checksum="98034c8c77b03ad1093f7ca0a83ccdfad5a36040a5a95bd4dac80fa68bcf2a65"
|
checksum="98034c8c77b03ad1093f7ca0a83ccdfad5a36040a5a95bd4dac80fa68bcf2a65"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i 's/g++/$(CXX)/' Makefile
|
||||||
|
sed -i '/march=native/d' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
zita-resampler-devel_package() {
|
zita-resampler-devel_package() {
|
||||||
depends="${sourcepkg}-${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in New Issue