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