summaryrefslogtreecommitdiff
path: root/extra/gtk4/PKGBUILD
blob: 38ac85375156c2cc6525b3ee8c31430846dae2da (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
# 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\/man\/man1/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
    '
)"

# temporarily we depend on old sparql versions, which require older
# versions of icu
if [ "${CARCH}" = 'i486' ]; then
	makedepends+=(icu70 icu69)
fi