From 43b634fbf074e5741b8181e506b5f10b5855036f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 5 Mar 2022 08:39:54 +0100 Subject: extra/wireplumber: and back :-) --- extra/wireplumber/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 extra/wireplumber/PKGBUILD (limited to 'extra/wireplumber') diff --git a/extra/wireplumber/PKGBUILD b/extra/wireplumber/PKGBUILD new file mode 100644 index 00000000..916aca78 --- /dev/null +++ b/extra/wireplumber/PKGBUILD @@ -0,0 +1,27 @@ +# 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 ' + /_pick.*docs.*/d + ' + declare -f package_wireplumber-docs | \ + sed ' + /mv.*docs.*/d + ' +)" + +# for now disable testing on i486, doesn't work at all but we want +# to satisfy dependencies and hope nobody uses it :) +if [ "$CARCH" == 'i486' ]; then + unset check + unset checkdepends +fi -- cgit v1.2.3-70-g09d2