if use egl; then
emake LDLIBS="-lEGL" -C src/egl/opengl/ eglinfo
- emake -C src/egl/eglut/ libeglut_screen.la libeglut_x11.la
+ emake -C src/egl/eglut/ libeglut_x11.la
emake LDLIBS="-lGL -lEGL -lX11 -lm" -C src/egl/opengl/ eglgears_x11
- emake LDLIBS="-lGL -lEGL -lm" -C src/egl/opengl/ eglgears_screen
if use gles1; then
emake LDLIBS="-lGLESv1_CM -lEGL -lX11" -C src/egl/opengles1/ es1_info
emake LDLIBS="-lGLESv1_CM -lEGL -lX11 -lm" -C src/egl/opengles1/ gears_x11
- emake LDLIBS="-lGLESv1_CM -lEGL -lm" -C src/egl/opengles1/ gears_screen
fi
if use gles2; then
emake LDLIBS="-lGLESv2 -lEGL -lX11" -C src/egl/opengles2/ es2_info
emake LDLIBS="-lGLESv2 -lEGL -lX11 -lm" -C src/egl/opengles2/ es2gears_x11
- emake LDLIBS="-lGLESv2 -lEGL -lm" -C src/egl/opengles2/ es2gears_screen
fi
fi
}
src_install() {
dobin src/xdemos/{glxgears,glxinfo}
if use egl; then
- dobin src/egl/opengl/egl{info,gears_{screen,x11}}
+ dobin src/egl/opengl/egl{info,gears_x11}
if use gles1; then
dobin src/egl/opengles1/es1_info
- newbin src/egl/opengles1/gears_screen es1gears_screen
newbin src/egl/opengles1/gears_x11 es1gears_x11
fi
- use gles2 && dobin src/egl/opengles2/es2{_info,gears_{screen,x11}}
+ use gles2 && dobin src/egl/opengles2/es2{_info,gears_x11}
fi
}
if use egl; then
emake LDLIBS="-lEGL" -C src/egl/opengl/ eglinfo
- emake -C src/egl/eglut/ libeglut_screen.la libeglut_x11.la
+ emake -C src/egl/eglut/ libeglut_x11.la
emake LDLIBS="-lGL -lEGL -lX11 -lm" -C src/egl/opengl/ eglgears_x11
- emake LDLIBS="-lGL -lEGL -lm" -C src/egl/opengl/ eglgears_screen
if use gles1; then
emake LDLIBS="-lGLESv1_CM -lEGL -lX11" -C src/egl/opengles1/ es1_info
emake LDLIBS="-lGLESv1_CM -lEGL -lX11 -lm" -C src/egl/opengles1/ gears_x11
- emake LDLIBS="-lGLESv1_CM -lEGL -lm" -C src/egl/opengles1/ gears_screen
fi
if use gles2; then
emake LDLIBS="-lGLESv2 -lEGL -lX11" -C src/egl/opengles2/ es2_info
emake LDLIBS="-lGLESv2 -lEGL -lX11 -lm" -C src/egl/opengles2/ es2gears_x11
- emake LDLIBS="-lGLESv2 -lEGL -lm" -C src/egl/opengles2/ es2gears_screen
fi
fi
}
src_install() {
dobin src/xdemos/{glxgears,glxinfo}
if use egl; then
- dobin src/egl/opengl/egl{info,gears_{screen,x11}}
+ dobin src/egl/opengl/egl{info,gears_x11}
if use gles1; then
dobin src/egl/opengles1/es1_info
- newbin src/egl/opengles1/gears_screen es1gears_screen
newbin src/egl/opengles1/gears_x11 es1gears_x11
fi
- use gles2 && dobin src/egl/opengles2/es2{_info,gears_{screen,x11}}
+ use gles2 && dobin src/egl/opengles2/es2{_info,gears_x11}
fi
}