blob: a36a140da32b685cc176c681e036d99e19c0209f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# no GUI stuff on i486
makedepends=(${makedepends[@]//gtk2/})
makedepends=(${makedepends[@]//qt5-base/})
makedepends_i686+=(gtk2 qt5-base)
# no gcr on i486
makedepends=(${makedepends[@]//gcr/})
makedepends_i686+=(gcr)
# i486-specific
if [ "${CARCH}" = "i486" ]; then
# no GUI stuff
eval "$(
declare -f build | \
sed '
s/--enable-pinentry-gtk2/--disable-pinentry-gtk2/
s/--enable-pinentry-gnome3/--disable-pinentry-gnome3/
s/--enable-pinentry-qt/--disable-pinentry-qt/
'
)"
fi
|