Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-09 17:31:05 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-09 17:31:05 +0200
commit199d207fe287f9c15655f1b45732620b2a1b6f2f (patch)
tree0f7c4139a3f4aae8cdc563c6170ebeedd8788257 /core
parent7bd61106f0ac03bff774b7f9430d1828167d247e (diff)
core/pinentry: i486-specific patching added
Diffstat (limited to 'core')
-rw-r--r--core/pinentry/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
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