forked from mirrors/nixpkgs
google-chrome: Support GTK 4 (#218572)
Same as #217144 (04b1a12a6e
) but for Google Chrome.
Relevant when launching Chrome with `--gtk-version=4`.
This commit is contained in:
parent
ace4d26ccc
commit
2c106c1e7c
|
@ -4,7 +4,7 @@
|
|||
, glib, fontconfig, freetype, pango, cairo, libX11, libXi, atk, nss, nspr
|
||||
, libXcursor, libXext, libXfixes, libXrender, libXScrnSaver, libXcomposite, libxcb
|
||||
, alsa-lib, libXdamage, libXtst, libXrandr, libxshmfence, expat, cups
|
||||
, dbus, gtk3, gdk-pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core
|
||||
, dbus, gtk3, gtk4, gdk-pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core
|
||||
, libkrb5, libdrm, libglvnd, mesa
|
||||
, libxkbcommon, pipewire, wayland # ozone/wayland
|
||||
|
||||
|
@ -68,7 +68,7 @@ let
|
|||
libxkbcommon pipewire wayland
|
||||
] ++ lib.optional pulseSupport libpulseaudio
|
||||
++ lib.optional libvaSupport libva
|
||||
++ [ gtk3 ];
|
||||
++ [ gtk3 gtk4 ];
|
||||
|
||||
suffix = lib.optionalString (channel != "stable") "-${channel}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue