Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/wireplumber/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wireplumber/PKGBUILD')
-rw-r--r--extra/wireplumber/PKGBUILD42
1 files changed, 22 insertions, 20 deletions
diff --git a/extra/wireplumber/PKGBUILD b/extra/wireplumber/PKGBUILD
index 2a6458db..0e31f32e 100644
--- a/extra/wireplumber/PKGBUILD
+++ b/extra/wireplumber/PKGBUILD
@@ -1,23 +1,25 @@
-# disable documentation (needs sphinx, sphinx-rtd_theme, npm)
-# python-sphinx_rdt_theme needs npm, which is broken on archlinux32
-# most likely since years..
-makedepends=(${makedepends[@]//python-sphinx_rtd_theme/})
-makedepends=(${makedepends[@]//python-sphinx/})
-eval "$(
- declare -f build | \
- sed '
- /local meson_options.*/ a \
- meson_options+=(-D doc=disabled)
- '
- declare -f package_wireplumber | \
- sed '
- s|_pick docs "$pkgdir"/usr/share/doc||
- '
- declare -f package_wireplumber-docs | \
- sed '
- /mv.*docs.*/d
- '
-)"
+if [[ $CARCH == 'i486' ]]; then
+ # disable documentation (needs sphinx, sphinx-rtd_theme, npm)
+ # python-sphinx_rdt_theme needs npm, which is broken on archlinux32
+ # most likely since years..
+ makedepends=(${makedepends[@]//python-sphinx_rtd_theme/})
+ makedepends=(${makedepends[@]//python-sphinx/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /local meson_options.*/ a \
+ meson_options+=(-D doc=disabled)
+ '
+ declare -f package_wireplumber | \
+ sed '
+ s|_pick docs "$pkgdir"/usr/share/doc||
+ '
+ declare -f package_wireplumber-docs | \
+ sed '
+ /mv.*docs.*/d
+ '
+ )"
+fi
# test-spa-json fails, ignoring for now
eval "$(