Merge pull request #112670 from helsinki-systems/fcitx5_gtk4

fcitx5: enable gtk4
This commit is contained in:
ajs124 2021-02-11 17:34:47 +01:00 committed by GitHub
commit ff65ba7a2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@
, gobject-introspection
, gtk2
, gtk3
, gtk4
, pcre
, libuuid
, libselinux
@ -36,12 +37,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DGOBJECT_INTROSPECTION_GIRDIR=share/gir-1.0"
"-DGOBJECT_INTROSPECTION_TYPELIBDIR=lib/girepository-1.0"
# disabled since we currently don't have gtk4 in nixpkgs
"-DENABLE_GTK4_IM_MODULE=off"
] ++ lib.optional (! withGTK2) "-DENABLE_GTK2_IM_MODULE=off";
buildInputs = [
gtk3
gtk4
gobject-introspection
fcitx5
pcre