Commit Graph

3 Commits

Author SHA1 Message Date
talyz
5926b95fbe
webkitgtk: Fix bubblewrap opengl-driver path
If `/run/opengl-driver/lib` is in `LD_LIBRARY_PATH`, bwrap will try to
mount it into the already bind mounted `/run/opengl-driver`. To
prevent this, we instead specify the subpaths of `/run/opengl-driver`
we're interested in.

Also, use the correct path for i686 builds.
2021-05-10 13:05:48 +02:00
talyz
4c68c3837a
webkitgtk: Add /run/opengl-driver to bubblewrap bind mounts
Without access to the `/run/opengl-driver` directory, webkit fails to
create an EGL context, since it can't identify a suitable EGL
vendor. This results in a blank window and the following error output:

Cannot get default EGL display: EGL_BAD_PARAMETER
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
2020-12-23 18:51:50 +01:00
Tor Hedin Brønner
84fb39ef12
webkitgtk: 2.24.4 -> 2.26.1
* add fix-bubblewrap-paths.patch
* use clangStdenv
  We're running into #36947

Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2019-10-03 00:09:13 +02:00