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
|
, gsettings-desktop-schemas
|
||||||
, gnome3
|
, 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;
|
with lib;
|
||||||
@ -63,6 +69,8 @@ let
|
|||||||
kerberos libdrm mesa coreutils
|
kerberos libdrm mesa coreutils
|
||||||
libxkbcommon wayland
|
libxkbcommon wayland
|
||||||
] ++ optional pulseSupport libpulseaudio
|
] ++ optional pulseSupport libpulseaudio
|
||||||
|
++ optional libvaSupport libva
|
||||||
|
++ optional vulkanSupport vulkan-loader
|
||||||
++ [ gtk3 ];
|
++ [ gtk3 ];
|
||||||
|
|
||||||
suffix = if channel != "stable" then "-" + channel else "";
|
suffix = if channel != "stable" then "-" + channel else "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user