glxinfo: add eglinfo binary

XWayland master did not work correctly for OpenGL, during the bug
discussion upstream asked for the output of eglinfo. Add eglinfo to the
glxinfo package.
This commit is contained in:
Rouven Czerwinski 2020-04-02 16:22:10 +02:00
parent c40f90428a
commit fbf575fb25

View file

@ -18,10 +18,11 @@ stdenv.mkDerivation rec {
$CC src/xdemos/glxgears.c -o glxgears -lGL -lX11 -lm
$CC src/egl/opengles2/es2_info.c -o es2_info -lEGL -lGLESv2 -lX11
$CC src/egl/opengles2/es2gears.c src/egl/eglut/{eglut.c,eglut_x11.c} -o es2gears -Isrc/egl/eglut -lEGL -lGLESv2 -lX11 -lm
$CC src/egl/opengl/eglinfo.c -o eglinfo -lEGL -lGLESv2 -lX11
";
installPhase = "
install -Dm 555 -t $out/bin glx{info,gears} es2{_info,gears}
install -Dm 555 -t $out/bin glx{info,gears} es2{_info,gears} eglinfo
";
meta = with stdenv.lib; {