SDL2: remove unnecessary dependency on fcitx

SDL2 supports both fcitx 4 and fcitx 5 though the dbus interface,
and the dependency on fcitx headers has been removed in favor of
hardcoding the constants.

Reference: https://github.com/libsdl-org/SDL/issues/3653
This commit is contained in:
Nick Cao 2023-03-12 12:34:30 +08:00
parent a50b4af009
commit 892f0c472b
No known key found for this signature in database

View File

@ -33,8 +33,6 @@
, udev
, ibusSupport ? false
, ibus
, fcitxSupport ? false
, fcitx
, libdecorSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid
, libdecor
, pipewireSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid
@ -109,7 +107,6 @@ stdenv.mkDerivation rec {
buildInputs = [ libiconv ]
++ dlopenBuildInputs
++ lib.optional ibusSupport ibus
++ lib.optional fcitxSupport fcitx
++ lib.optionals stdenv.isDarwin [ AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL ];
enableParallelBuilding = true;