# 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