Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/avahi/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-10 17:16:47 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-10 17:16:47 +0200
commit81967f4131b87cb8f7b62acce9f064c28aa2e300 (patch)
tree66064d2d6a6293130125deafb5e9fa90a6145a03 /extra/avahi/PKGBUILD
parent2b40ab540396a1aa3df5fc26398667617a5b0aa3 (diff)
extra/avahi: qt5 and gtk3 disabled on i486
Diffstat (limited to 'extra/avahi/PKGBUILD')
-rw-r--r--extra/avahi/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
new file mode 100644
index 00000000..6914b72e
--- /dev/null
+++ b/extra/avahi/PKGBUILD
@@ -0,0 +1,11 @@
+# break cycle with Qt and gtk3 on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//qt5-base/})
+ makedepends=(${makedepends[@]//gtk3/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@./configure@./configure --disable-qt5 --disable-gtk3@
+ '
+ )"
+fi