diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-09 21:47:02 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-09 21:47:02 +0200 |
commit | c34ca276425bb63d06af5cf8a8b69b5a1d67801b (patch) | |
tree | 5747e03d6ce04363fa567080f2ccd38d1a3f82fa /community/fcitx/PKGBUILD | |
parent | 734908dd178c2af20ebec3cbe9fd346a2e97cbdc (diff) | |
download | packages-c34ca276425bb63d06af5cf8a8b69b5a1d67801b.tar.xz |
community/fcitx: breaking cycle with gtk3 on i486
Diffstat (limited to 'community/fcitx/PKGBUILD')
-rw-r--r-- | community/fcitx/PKGBUILD | 12 |
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 |