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:
zendo 2023-02-28 06:50:50 +08:00 committed by GitHub
parent ace4d26ccc
commit 2c106c1e7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}";