Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gtk4/PKGBUILD
blob: 8682c5abdf44d0bc1120a9ac7fc647d702031def (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\/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

eval "$(declare -f build | sed '3i export CFLAGS="$CFLAGS -Wno-error=incompatible-pointer-types -Wno-error=int-conversion"')"