glxinfo: add es2gears, es2_info
This commit is contained in:
parent
2e9e443005
commit
e03b99c309
@ -14,14 +14,14 @@ stdenv.mkDerivation rec {
|
|||||||
configurePhase = "true";
|
configurePhase = "true";
|
||||||
|
|
||||||
buildPhase = "
|
buildPhase = "
|
||||||
cd src/xdemos
|
$CC src/xdemos/{glxinfo.c,glinfo_common.c} -o glxinfo -lGL -lX11
|
||||||
$CC glxinfo.c glinfo_common.c -o glxinfo -lGL -lX11
|
$CC src/xdemos/glxgears.c -o glxgears -lGL -lX11 -lm
|
||||||
$CC 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
|
||||||
";
|
";
|
||||||
|
|
||||||
installPhase = "
|
installPhase = "
|
||||||
mkdir -p $out/bin
|
install -Dm 555 -t $out/bin glx{info,gears} es2{_info,gears}
|
||||||
cp glxinfo glxgears $out/bin/
|
|
||||||
";
|
";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user