summaryrefslogtreecommitdiff
path: root/extra/qt5-declarative/PKGBUILD
blob: 387fb1222d127052b1b5ab5c39fba860657f89e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# disable croaking about missing SSE2 for WASM (web assemblies) when
# instantiating a Javascript engine

source+=(qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch)
sha256sums+=('5dce1799db9c4bca10006eb4a4980ffa74d6da5b18ab02f31a5267c44338b765')

eval "$(
  declare -f prepare | \
    sed '
      /cd/a if [ "${CARCH}" != "pentium4" ]; then patch -Np1 -i ../qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch; fi
    '
)"