summaryrefslogtreecommitdiff
path: root/user/pulseaudio/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-04-26 21:47:54 -0700
committerZach van Rijn <me@zv.io>2023-04-26 21:47:54 -0700
commit8348eb87146556073fbc9ccf4e4a11ce6f5c421d (patch)
tree485d2e69642c2ba55699110821900123a0b204af /user/pulseaudio/APKBUILD
parentaf9f21646f500857ce88f94045a673247aae4417 (diff)
downloadpackages-8348eb87146556073fbc9ccf4e4a11ce6f5c421d.tar.gz
packages-8348eb87146556073fbc9ccf4e4a11ce6f5c421d.tar.bz2
packages-8348eb87146556073fbc9ccf4e4a11ce6f5c421d.tar.xz
packages-8348eb87146556073fbc9ccf4e4a11ce6f5c421d.zip
user/pulseaudio: disable armv7 neon. fixes #1011.
Diffstat (limited to 'user/pulseaudio/APKBUILD')
-rw-r--r--user/pulseaudio/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/user/pulseaudio/APKBUILD b/user/pulseaudio/APKBUILD
index 0d862b9bb..25843d68c 100644
--- a/user/pulseaudio/APKBUILD
+++ b/user/pulseaudio/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pulseaudio
pkgver=13.0
-pkgrel=0
+pkgrel=1
pkgdesc="A featureful, general-purpose sound server"
url="https://www.freedesktop.org/wiki/Software/PulseAudio"
pkgusers="pulse"
@@ -27,6 +27,10 @@ source="https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.
"
build() {
+ case "${CTARGET_ARCH}" in
+ armv7) arch_opt="--disable-neon-opt"; ;;
+ esac
+
LIBS="-lintl" ./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -43,7 +47,8 @@ build() {
--enable-udev \
--enable-ipv6 \
--enable-gconf \
- --with-fftw
+ --with-fftw \
+ ${arch_opt}
make
}