From c34ca276425bb63d06af5cf8a8b69b5a1d67801b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 9 Apr 2021 21:47:02 +0200 Subject: community/fcitx: breaking cycle with gtk3 on i486 --- community/fcitx/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 community/fcitx/PKGBUILD 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 -- cgit v1.2.3-70-g09d2