vte-gtk4: init

This commit is contained in:
Jan Tojnar 2022-07-24 08:10:45 +02:00
parent 45b0d21339
commit b2f369ade2
2 changed files with 11 additions and 2 deletions

View file

@ -9,6 +9,8 @@
, gnome
, glib
, gtk3
, gtk4
, gtkVersion ? "3"
, gobject-introspection
, vala
, python3
@ -69,15 +71,18 @@ stdenv.mkDerivation rec {
systemd
];
propagatedBuildInputs = [
propagatedBuildInputs = assert (gtkVersion == "3" || gtkVersion == "4"); [
# Required by vte-2.91.pc.
gtk3
(if gtkVersion == "3" then gtk3 else gtk4)
glib
pango
];
mesonFlags = lib.optionals (!systemdSupport) [
"-D_systemd=false"
] ++ lib.optionals (gtkVersion == "4") [
"-Dgtk3=false"
"-Dgtk4=true"
] ++ lib.optionals stdenv.isDarwin [
# -Bsymbolic-functions is not supported on darwin
"-D_b_symbolic_functions=false"

View file

@ -22430,6 +22430,10 @@ with pkgs;
stdenv = clangStdenv;
};
vte-gtk4 = vte.override {
gtkVersion = "4";
};
vte_290 = callPackage ../development/libraries/vte/2.90.nix { };
vtk_8 = libsForQt515.callPackage ../development/libraries/vtk/8.x.nix {