Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gtk4/PKGBUILD
blob: 9173941a41213ac59a2c3dc17eb609df2b595901 (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
# do not build documentation, depends on too many broken things
eval "$(
  declare -f build | \
    sed '
      s/-D gtk_doc=true/-D gtk_doc=false/
      s/-D man-pages=true/-D man-pages=false/
      s/ninja -C build g{d,s,t}k4-doc/ninja -C build/
    '
  declare -f package_gtk4 | \
    sed '
      /gtk4-update-icon-cache.1/d
      \@/usr/share/doc@ d
    '
  declare -f package_gtk-update-icon-cache | \
    sed '
      /gtk4-update-icon-cache.1/d
    '
  declare -f package_gtk4-docs | \
    sed '
      /^\s*mv /d
    '
)"

# Vala is not bootstrapped on i486
# (this affect libcloudproviders, tracker3)
# gst-plugins-bad-libs have too many dependencies not available yet on i486
if [ "$CARCH" = 'i486' ]; then
  depends=(${depends[@]//tracker3/})
  depends=(${depends[@]//libcloudproviders/})
  depends=(${depends[@]//gst-plugins-bad-libs/})
fi