Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon/PKGBUILD
blob: 1c545368b8d44b0cdd83d364ed2563e1a87cbbf1 (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
40
41
42
43
44
45
# no documentation on i486
makedepends=(${makedepends[@]//graphviz/})
makedepends=(${makedepends[@]//doxygen/})
makedepends_i686+=(graphviz doxygen)
makedepends_pentium4=("${makedepends_i686[@]}")

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no documentation

  eval "$(
    declare -f build | \
      sed '
        s/arch-meson/arch-meson -Denable-docs=false/
      '
  )"

  eval "$(
    declare -f package_libxkbcommon | \
      sed '
        /mv.*doc/d
      '
  )"

  eval "$(
    declare -f package_libxkbcommon-doc | \
      sed '
        /mv.*doc/d
      '
  )"
  
  # uses MESA, xorg-xcb
  unset check
  unset checkdepends

  # disable X11 during bootstrapping
  eval "$(
    declare -f build | \
      sed '
        s/arch-meson/arch-meson -Denable-x11=false/
      '
  )"  
  
fi