blob: 7c0dfa67c5febc3f5fc4216721b2511c387eae56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 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
makedepends_pentium4=("${makedepends_i686[@]}")
|