summaryrefslogtreecommitdiff
path: root/extra/wireplumber/PKGBUILD
blob: 25760f4a45297a7f758713d14e74ae7b6262432c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
    '
)"