Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
blob: 18217d41ae717b167661cadff50d685e2aa8fda4 (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
# do not build in parallel on build slaves
eval "$(
  declare -f build | \
    sed '
      s/--parallel=.*/--parallel=1/
    '
)"  

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

# disable documentation (python is somewhat broken currently)
makedepends=(${makedepends[@]//python-sphinx/})
eval "$(
  declare -f build | \
    sed '
      s/--sphinx-man//
      s/--sphinx-html//
    '
  declare -f package | \
    sed '
      /html\/_sources/d
    '
)"  

# emacs is broken currently
makedepends=(${makedepends[@]//emacs/})
eval "$(
  declare -f package | \
    sed '
      /emacs/d
    '
)"