Blame SOURCES/ibus-xinput

7a4110
XIM=ibus
7a4110
XIM_PROGRAM="/usr/bin/ibus-daemon"
7a4110
ICON="ibus"
7a4110
XIM_ARGS="-r --xim"
7a4110
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
7a4110
SHORT_DESC="IBus"
7a4110
GTK_IM_MODULE=ibus
7a4110
NOT_RUN=gnome3
7a4110
186ff6
if test -f /usr/lib64/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so || \
186ff6
   test -f /usr/lib/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so || \
186ff6
   test -f /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so || \
186ff6
   test -f /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so;
7a4110
then
7a4110
    QT_IM_MODULE=ibus
7a4110
else
7a4110
    QT_IM_MODULE=xim
7a4110
fi