Merge pull request #84110 from Emantor/topic/glxinfo_eglinfo
glxinfo: add eglinfo binary
This commit is contained in:
commit
4c50207ceb
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user