SDL2: add fcitx support (#60991)

This commit is contained in:
Mitsuhiro Nakamura 2019-05-06 12:51:09 +09:00 committed by Dmitry Kalinkin
parent 89a650a593
commit e034a519a4

View File

@ -9,6 +9,7 @@
, dbusSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, dbus
, udevSupport ? false, udev
, ibusSupport ? false, ibus
, fcitxSupport ? false, fcitx
, pulseaudioSupport ? config.pulseaudio or stdenv.isLinux && !stdenv.hostPlatform.isAndroid
, libpulseaudio
, AudioUnit, Cocoa, CoreAudio, CoreServices, ForceFeedback, OpenGL
@ -55,6 +56,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libiconv ]
++ dlopenBuildInputs
++ optional ibusSupport ibus
++ optional fcitxSupport fcitx
++ optionals stdenv.isDarwin [
AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL
# Needed for NSDefaultRunLoopMode symbols.