Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/meson/PKGBUILD
blob: c1e8f364ee668744cea408139ce0d5f6a5de5606 (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
# we have no 32-bit cuda support
checkdepends=(${checkdepends[@]//cuda/})

# no rust on i486
checkdepends=(${checkdepends[@]//rust-bindgen/})
checkdepends=(${checkdepends[@]//rust/})
checkdepends_i686+=('rust')
checkdepends_i686+=('rust-bindgen')

# D compiler broken on i486
checkdepends=(${checkdepends[@]//ldc/})
checkdepends_i686+=('ldc')

checkdepends_pentium4=("${checkdepends_i686[@]}")

# still far too many tests fail, ignoring for now
unset check
unset checkdepends

# fail if upstream changes arch-meson
# we patch a version of arch-meson reading CARCH (later maybe LTOFLAGS)
# to find out whether it should add blto to the arch flags
for ((i=0; i<${#b2sums[@]}; i++)); do
  if [ "${b2sums[${i}]}" = '801ad7689aabd2861c760d6001ce2e84c3d5aaed867b087bc1699e7c15d914ee26c9d855999f389d28b4765f081523a1468755768bc0163185f132e157ecced1' ]; then
    b2sums[${i}]='9f134aabfce63ed31e579724cdfb6de0a8a4c27998a11caa796c7660842904d646688e6f106026f9a68f4c67ea7a61d7d86c762e4688db0f383268a85880edf8'
  fi
done

# bootstrap
makedepends=('python-bootstrap')