summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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