summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
blob: 6683520d83c524a2e403407b746c906bca4645c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# do not build in parallel on build slaves
eval "$(
  declare -f build | \
    sed '
      s/--parallel=.*/--parallel=1/
    '
)"  

# ignore gui on i486 (for now, needs Qt6, which needs atomics)
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//qt6-base/})
  eval "$(
    declare -f build | \
      sed '
        s/--qt-gui//
      '
  )"  
fi