summaryrefslogtreecommitdiff
path: root/extra/libsoup3/PKGBUILD
blob: 2b2ec2199c2afbd5ad94d2aaa38845bf991d6ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# most tests fail on 32-bit, don't care, libsoup3 is only used for tracker3 now
eval "$(
  declare -f check | \
    sed '
      s/\(meson test.*\)/\1 || true/
    '
)"

# disable Vala for now on i486 (fails to build)
# also disable documentation with too many dependencies
if [ "${CARCH}" = "i486" ]; then
  makedepends=(${makedepends[@]//vala/})
  eval "$(
    declare -f build | \
      sed '
        s/-D gtk_doc=true/-D gtk_doc=false -Dvapi=disabled/
      '
  )"
fi