Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/fcitx
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-09 21:47:02 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-09 21:47:02 +0200
commitc34ca276425bb63d06af5cf8a8b69b5a1d67801b (patch)
tree5747e03d6ce04363fa567080f2ccd38d1a3f82fa /community/fcitx
parent734908dd178c2af20ebec3cbe9fd346a2e97cbdc (diff)
community/fcitx: breaking cycle with gtk3 on i486
Diffstat (limited to 'community/fcitx')
-rw-r--r--community/fcitx/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/fcitx/PKGBUILD b/community/fcitx/PKGBUILD
new file mode 100644
index 00000000..2a3d2e33
--- /dev/null
+++ b/community/fcitx/PKGBUILD
@@ -0,0 +1,12 @@
+# break cycle with gtk3 on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//gtk3/})
+ depends=(${depends[@]//gtk-update-icon-cache/})
+ makedepends+=(json-c)
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-DENABLE_GTK3_IM_MODULE=ON/-DENABLE_GTK3_IM_MODULE=OFF/
+ '
+ )"
+fi