Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-apps/mesa-progs/
Date: Fri, 28 Aug 2015 23:53:52
Message-Id: 1440806264.fd221b4be7c02bf3abbc043774c810bc158671f6.mattst88@gentoo
1 commit: fd221b4be7c02bf3abbc043774c810bc158671f6
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 23:52:15 2015 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 23:57:44 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd221b4b
7
8 x11-apps/mesa-progs: Remove EGL_MESA_screen_surface demos.
9
10 Not useful, and not sure when Mesa actually supported this extension,
11 but it certainly doesn't any more.
12
13 Bug: https://bugs.gentoo.org/show_bug.cgi?id=555186
14
15 x11-apps/mesa-progs/mesa-progs-8.2.0.ebuild | 10 +++-------
16 x11-apps/mesa-progs/mesa-progs-9999.ebuild | 10 +++-------
17 2 files changed, 6 insertions(+), 14 deletions(-)
18
19 diff --git a/x11-apps/mesa-progs/mesa-progs-8.2.0.ebuild b/x11-apps/mesa-progs/mesa-progs-8.2.0.ebuild
20 index 81090ed..d3c9bbf 100644
21 --- a/x11-apps/mesa-progs/mesa-progs-8.2.0.ebuild
22 +++ b/x11-apps/mesa-progs/mesa-progs-8.2.0.ebuild
23 @@ -59,19 +59,16 @@ src_compile() {
24
25 if use egl; then
26 emake LDLIBS="-lEGL" -C src/egl/opengl/ eglinfo
27 - emake -C src/egl/eglut/ libeglut_screen.la libeglut_x11.la
28 + emake -C src/egl/eglut/ libeglut_x11.la
29 emake LDLIBS="-lGL -lEGL -lX11 -lm" -C src/egl/opengl/ eglgears_x11
30 - emake LDLIBS="-lGL -lEGL -lm" -C src/egl/opengl/ eglgears_screen
31
32 if use gles1; then
33 emake LDLIBS="-lGLESv1_CM -lEGL -lX11" -C src/egl/opengles1/ es1_info
34 emake LDLIBS="-lGLESv1_CM -lEGL -lX11 -lm" -C src/egl/opengles1/ gears_x11
35 - emake LDLIBS="-lGLESv1_CM -lEGL -lm" -C src/egl/opengles1/ gears_screen
36 fi
37 if use gles2; then
38 emake LDLIBS="-lGLESv2 -lEGL -lX11" -C src/egl/opengles2/ es2_info
39 emake LDLIBS="-lGLESv2 -lEGL -lX11 -lm" -C src/egl/opengles2/ es2gears_x11
40 - emake LDLIBS="-lGLESv2 -lEGL -lm" -C src/egl/opengles2/ es2gears_screen
41 fi
42 fi
43 }
44 @@ -79,14 +76,13 @@ src_compile() {
45 src_install() {
46 dobin src/xdemos/{glxgears,glxinfo}
47 if use egl; then
48 - dobin src/egl/opengl/egl{info,gears_{screen,x11}}
49 + dobin src/egl/opengl/egl{info,gears_x11}
50
51 if use gles1; then
52 dobin src/egl/opengles1/es1_info
53 - newbin src/egl/opengles1/gears_screen es1gears_screen
54 newbin src/egl/opengles1/gears_x11 es1gears_x11
55 fi
56
57 - use gles2 && dobin src/egl/opengles2/es2{_info,gears_{screen,x11}}
58 + use gles2 && dobin src/egl/opengles2/es2{_info,gears_x11}
59 fi
60 }
61
62 diff --git a/x11-apps/mesa-progs/mesa-progs-9999.ebuild b/x11-apps/mesa-progs/mesa-progs-9999.ebuild
63 index 657291f..778c907 100644
64 --- a/x11-apps/mesa-progs/mesa-progs-9999.ebuild
65 +++ b/x11-apps/mesa-progs/mesa-progs-9999.ebuild
66 @@ -59,19 +59,16 @@ src_compile() {
67
68 if use egl; then
69 emake LDLIBS="-lEGL" -C src/egl/opengl/ eglinfo
70 - emake -C src/egl/eglut/ libeglut_screen.la libeglut_x11.la
71 + emake -C src/egl/eglut/ libeglut_x11.la
72 emake LDLIBS="-lGL -lEGL -lX11 -lm" -C src/egl/opengl/ eglgears_x11
73 - emake LDLIBS="-lGL -lEGL -lm" -C src/egl/opengl/ eglgears_screen
74
75 if use gles1; then
76 emake LDLIBS="-lGLESv1_CM -lEGL -lX11" -C src/egl/opengles1/ es1_info
77 emake LDLIBS="-lGLESv1_CM -lEGL -lX11 -lm" -C src/egl/opengles1/ gears_x11
78 - emake LDLIBS="-lGLESv1_CM -lEGL -lm" -C src/egl/opengles1/ gears_screen
79 fi
80 if use gles2; then
81 emake LDLIBS="-lGLESv2 -lEGL -lX11" -C src/egl/opengles2/ es2_info
82 emake LDLIBS="-lGLESv2 -lEGL -lX11 -lm" -C src/egl/opengles2/ es2gears_x11
83 - emake LDLIBS="-lGLESv2 -lEGL -lm" -C src/egl/opengles2/ es2gears_screen
84 fi
85 fi
86 }
87 @@ -79,14 +76,13 @@ src_compile() {
88 src_install() {
89 dobin src/xdemos/{glxgears,glxinfo}
90 if use egl; then
91 - dobin src/egl/opengl/egl{info,gears_{screen,x11}}
92 + dobin src/egl/opengl/egl{info,gears_x11}
93
94 if use gles1; then
95 dobin src/egl/opengles1/es1_info
96 - newbin src/egl/opengles1/gears_screen es1gears_screen
97 newbin src/egl/opengles1/gears_x11 es1gears_x11
98 fi
99
100 - use gles2 && dobin src/egl/opengles2/es2{_info,gears_{screen,x11}}
101 + use gles2 && dobin src/egl/opengles2/es2{_info,gears_x11}
102 fi
103 }