index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-07-14 06:08:57 +0300 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-07-14 06:08:57 +0300 |
commit | 3d995a220c3b4bc5041e33c6d899f753688ad5fe (patch) | |
tree | 95d948fc718556f9ae90529f728f05c2eb15d0c7 | |
parent | 278b25f1debc0aaf55b7164a9c492bfd101762da (diff) |
-rw-r--r-- | extra/wireplumber/PKGBUILD | 42 |
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 "$( |