Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-07-14 06:08:57 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-07-14 06:08:57 +0300
commit3d995a220c3b4bc5041e33c6d899f753688ad5fe (patch)
tree95d948fc718556f9ae90529f728f05c2eb15d0c7 /extra
parent278b25f1debc0aaf55b7164a9c492bfd101762da (diff)
extra/wireplumber: Re-enable docs
Diffstat (limited to 'extra')
-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 "$(