summaryrefslogtreecommitdiff
path: root/extra/qt5-webengine/PKGBUILD
blob: 268379120e906ceb90b060e2eff9af247ebd9009 (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
31
32
# 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 '
      $ i cd "$srcdir/${_pkgfqn}/src/3rdparty"; patch -Np0 -i "${srcdir}"/qtwebengine-everywhere-src-5.11.0-chromium-64bit-alignment.patch
    '
)"

# see FS32#44, installing qt4 seems to help against:
# fatal error: QtUiPlugin/QDesignerCustomWidgetInterface: No such file or directory
makedepends+=('qt4')