Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libsoup/PKGBUILD
blob: 004d17299caa5f7f01ea4484100116e9f445bd42 (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
for _drop_dep in gobject-introspection vala; do
  if makedepends_i686+=(
    $(
      printf '%s\n' "${makedepends[@]}" \
      | grep -xF ${_drop_dep}
    )
  ); then
    makedepends_pentium4=("${makedepends_i686[@]}")
    makedepends=(
      $(
        printf '%s\n' "${makedepends[@]}" \
        | grep -vxF ${_drop_dep}
      )
    )
  fi
done
eval "$(
  declare -f build \
  | sed '
    /arch-meson/ {
      h
      s/^/[ "${CARCH}" = i486 ] || /
      p
      g
      s/^\(.*\);$/[ "${CARCH}" != i486 ] || \1 -D vapi=disabled -D introspection=disabled;/
    }
  '
)"