summaryrefslogtreecommitdiff
path: root/extra/wireplumber/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-01-20 09:18:22 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-01-20 09:18:22 +0100
commite42000a2b6afd72b192006c4f509066716855d66 (patch)
tree9ef5f3295285ea4a75fe0e3d42d0d6b1fee3e630 /extra/wireplumber/PKGBUILD
parent20d5ddd9e43a45bb0e0e0319d81ae6a8e0224c6c (diff)
downloadpackages-e42000a2b6afd72b192006c4f509066716855d66.tar.xz
extra/wireplumber: readded, but nothing works
Diffstat (limited to 'extra/wireplumber/PKGBUILD')
-rw-r--r--extra/wireplumber/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/wireplumber/PKGBUILD b/extra/wireplumber/PKGBUILD
new file mode 100644
index 00000000..25760f4a
--- /dev/null
+++ b/extra/wireplumber/PKGBUILD
@@ -0,0 +1,20 @@
+# 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
+ '
+)"