Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-webengine/PKGBUILD
blob: 308f4402b78d50d07a041e6e24f2215f4d62b956 (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
# disable ICU in webengine (why?)
eval "$(
  declare -f build | \
    sed '
      s/ -webengine-icu//
    '
)"

# let's not use too much memory, gcc tmpfiles can in this
# case also be put on a real /tmp (instead of tmpfs) to reduce
# preasure on the RAM
eval "$(
  declare -f build | \
    sed '
      /qmake/ a find . -name Makefile -exec sed -i 's@-pipe@@g' {} \;
    '
)"

# see https://src.fedoraproject.org/cgit/rpms/chromium.git/tree/chromium-66.0.3359.170-gcc8-alignof.patch
source+=('qtwebengine-everywhere-src-5.11.0-chromium-64bit-alignment.patch')
sha256sums+=('f1d810bf237ea3ce85803eb4665273b2d2bfa8a2a19521d5fa05568cec5d8cba')

eval "$(
  declare -f prepare | \
    sed '
      /ffmpeg4.patch/ a patch -Np1 -i "${srcdir}"/qtwebengine-everywhere-src-5.11.0-chromium-64bit-alignment.patch
    '
)"