summaryrefslogtreecommitdiff
path: root/extra/wayland/PKGBUILD
blob: 022f7c996a1c9fc9c9f784fa1c72eddbd335929f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# no documentation on i486
makedepends=(${makedepends[@]//graphviz/})
makedepends=(${makedepends[@]//doxygen/})
makedepends=(${makedepends[@]//xmlto/})
makedepends=(${makedepends[@]//docbook-xsl/})
makedepends_i686+=(graphviz doxygen xmlto docbook-xsl)
makedepends_pentium4=("${makedepends_i686[@]}")

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no documentation

  eval "$(
    declare -f build | \
      sed '
        /meson build/s/.$/ -Ddocumentation=false/g
      '
  )"

  eval "$(
    declare -f package_wayland | \
      sed '
        /mv.*doc,man/d
      '
  )"

  eval "$(
    declare -f package_wayland-docs | \
      sed '
        /mv.*docs/d
      '
  )"

fi