Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pinentry/PKGBUILD
blob: bb3c9176cdc1332fc63940459d561158e7017925 (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
# 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/})
  eval "$(
    declare -f build | \
      sed '
        s/--enable-pinentry-qt/--disable-pinentry-qt/
      '
  )"
fi