Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon/PKGBUILD
blob: 3c04600f2aed2ef3ed1950fa28f604932d1d5a09 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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/
      '
  )"  

  pkgname=($(
    printf '%s\n' "${pkgname[@]}" | \
      sed '/^libxkbcommon-x11/d'
  ))
  
  eval "$(
    declare -f package_libxkbcommon | \
      sed '
        /x11/d
      '
  )"  
  

fi