summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
blob: b8c578705e7ecb1c9ce331c576065d526f6e5f81 (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
# 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

# disable documentation  on i486, python is somewhat broken currently
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/--sphinx-man//
      '
  )"  
fi