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