mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
pulseaudio: fix cross arm*
Disabling neon for the arm* architectures fixes cross compiling.
This commit is contained in:
parent
542ddceea2
commit
89beb03641
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pulseaudio'
|
# Template file for 'pulseaudio'
|
||||||
pkgname=pulseaudio
|
pkgname=pulseaudio
|
||||||
version=9.0
|
version=9.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
||||||
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc
|
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc
|
||||||
|
@ -33,6 +33,11 @@ pulse_homedir="/var/run/pulse"
|
||||||
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
||||||
checksum=c3d3d66b827f18fbe903fe3df647013f09fc1e2191c035be1ee2d82a9e404686
|
checksum=c3d3d66b827f18fbe903fe3df647013f09fc1e2191c035be1ee2d82a9e404686
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# Disable neon optimizations for the arm* architectures
|
||||||
|
arm*) configure_args+=" --disable-neon-opt" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./bootstrap.sh
|
NOCONFIGURE=1 ./bootstrap.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue