Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/wpewebkit/PKGBUILD
blob: 9357af9c58ad60673c1a87ad1f545a91e9e5e77c (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
# linker runs out of memory on 32-bit
eval "$(
  declare -f build | \
    sed '
      3 i LDFLAGS+=" -Wl,--no-keep-memory"
      3 i CFLAGS+=" -g1"
      3 i CXXFLAGS+=" -g1"
    '
)"  

# libdrm missing on i486?
if [ "$CARCH" = 'i486' ]; then
  depends+=(libdrm)
fi

# gtkdoc fails with Exception: gtkdoc-scangobj produced a non-zero return code 252 on i486,
# disabling building of documentation for now on i486
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/-DENABLE_GTKDOC=ON/-DENABLE_GTKDOC=OFF/
      '
  )"  
fi