Skip to content

Commit

Permalink
x11-apps/mesa-progs: Remove EGL_MESA_screen_surface demos.
Browse files Browse the repository at this point in the history
Not useful, and not sure when Mesa actually supported this extension,
but it certainly doesn't any more.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=555186
  • Loading branch information
mattst88 committed Aug 28, 2015
1 parent a2d728a commit fd221b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions x11-apps/mesa-progs/mesa-progs-8.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,34 +59,30 @@ src_compile() {

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
}
10 changes: 3 additions & 7 deletions x11-apps/mesa-progs/mesa-progs-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,34 +59,30 @@ src_compile() {

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
}

0 comments on commit fd221b4

Please sign in to comment.