Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pinentry/PKGBUILD
blob: fe1e964b13933a76c4e28a80f028399b84b1c631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# no gcr on i486
makedepends=(${makedepends[@]//gcr/})
makedepends_i686+=(gcr)
makedepends_pentium4=("${makedepends_i686[@]}")

# no Gnome 3 on i486
if [ "${CARCH}" = "i486" ]; then
  eval "$(
    declare -f build | \
      sed '
        s/--enable-pinentry-gnome3/--disable-pinentry-gnome3/
      '
  )"
fi

# disable qt6 and wayland on i486
if [ "${CARCH}" = "i486" ]; then
  makedepends=(${makedepends[@]//qt6-base/})
  makedepends=(${makedepends[@]//kwayland5/})
fi