summaryrefslogtreecommitdiff
path: root/extra/qt5-webengine/PKGBUILD
blob: 3bd004a4d9ea656f998ba78a4f2cc88ad123485e (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
33
34
35
36
37
38
39
eval "$(
  declare -f prepare | \
    sed '
      $ i find ${srcdir} -type f -name 'BUILD.gn' -exec sed -i "/-Wl,--fatal-warnings/d" {} \+
    '
)"

# 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-69.0.3497.81-gcc8-alignof.patch
source+=('chromium-69.0.3497.81-gcc8-alignof.patch')
sha256sums+=('92e613d645f3e21d704e43a4000b796dac3fee772fb010844ab1435e45ec37d0')

#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')