electron: depend on libglvnd

Despite shipping libGLES.v2.so, Chromium also expect libGLESv2.so.2 to
exist as a system library. This is the same fix as 9086ae6 was for
Chrome.
This commit is contained in:
Brandon Weeks 2022-02-07 20:45:12 -08:00
parent fbe8be9a8c
commit 88fec5f29e
2 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@
, libxkbcommon
, libappindicator-gtk3
, libxshmfence
, libglvnd
}@args:
let

View file

@ -15,6 +15,7 @@
, libxkbcommon
, libappindicator-gtk3
, libxshmfence
, libglvnd
}:
version: hashes:
@ -64,6 +65,7 @@ let
++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ]
++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ]
++ optionals (! versionOlder version "12.0.0") [ libxshmfence ]
++ optionals (! versionOlder version "17.0.0") [ libglvnd ]
);
linux = {