From 199d207fe287f9c15655f1b45732620b2a1b6f2f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 9 Oct 2018 17:31:05 +0200 Subject: core/pinentry: i486-specific patching added --- core/pinentry/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 core/pinentry/PKGBUILD diff --git a/core/pinentry/PKGBUILD b/core/pinentry/PKGBUILD new file mode 100644 index 00000000..9c1f0644 --- /dev/null +++ b/core/pinentry/PKGBUILD @@ -0,0 +1,17 @@ +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # no GUI stuff + makedepends=(${makedepends[@]//gtk2/}) + makedepends=(${makedepends[@]//qt5-base/}) + 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/ + ' + )" + + # no gcr + makedepends=(${makedepends[@]//gcr/}) +fi -- cgit v1.2.3-70-g09d2