mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
Merge pull request #116007 from jflanglois/chrome-libva
google-chrome: add optional libva and vulkan support
This commit is contained in:
commit
c881760d41
|
@ -39,6 +39,12 @@
|
|||
|
||||
, gsettings-desktop-schemas
|
||||
, gnome3
|
||||
|
||||
# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder)
|
||||
, libvaSupport ? true, libva
|
||||
|
||||
# For Vulkan support (--enable-features=Vulkan)
|
||||
, vulkanSupport ? true, vulkan-loader
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
@ -63,6 +69,8 @@ let
|
|||
kerberos libdrm mesa coreutils
|
||||
libxkbcommon wayland
|
||||
] ++ optional pulseSupport libpulseaudio
|
||||
++ optional libvaSupport libva
|
||||
++ optional vulkanSupport vulkan-loader
|
||||
++ [ gtk3 ];
|
||||
|
||||
suffix = if channel != "stable" then "-" + channel else "";
|
||||
|
|
Loading…
Reference in a new issue