MesaDemos: update to 8.4.0 - Add option to install new eglinfo binary, disabled by default as it requires mesa with EGL and native X11 might not have that. 8.4.0 New features and changes: - glxinfo now supports OpenGL 4.6 - glxinfo prints more OpenGL limits (GL 3.0 up to GL 4.6) - glxinfo gained support for GL_ATI_meminfo and GL_NVX_gpu_memory_info - eglinfo binary is now installed by `make install` - misc bugfixes 8.3.0 This new mesa-demos release fixes the build issue against mesa 10.6 (Bug 91643) and picks up the latest glxinfo changes. - misc changes - misc bugfixesdiff -r1.42 -r1.43 pkgsrc/graphics/MesaDemos/Makefile
(tnn)
@@ -1,33 +1,34 @@ | @@ -1,33 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.42 2018/01/03 00:29:23 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.43 2019/01/04 01:43:20 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= mesa-demos-8.2.0 | 3 | DISTNAME= mesa-demos-8.4.0 | |
4 | PKGNAME= ${DISTNAME:S/mesa-demos/MesaDemos/} | 4 | PKGNAME= ${DISTNAME:S/mesa-demos/MesaDemos/} | |
5 | PKGREVISION= 3 | |||
6 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
7 | MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/8.2.0/ | 6 | MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://cgit.freedesktop.org/mesa/demos/ | 10 | HOMEPAGE= https://cgit.freedesktop.org/mesa/demos/ | |
12 | COMMENT= OpenGL examples and Demos | 11 | COMMENT= OpenGL examples and Demos | |
13 | #LICENSE= # Each source file has a different license | 12 | #LICENSE= # Each source file has a different license | |
14 | 13 | |||
15 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
17 | USE_TOOLS+= pkg-config | 16 | USE_TOOLS+= pkg-config | |
18 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ | |
19 | 18 | |||
20 | SUBST_CLASSES+= bitmap | 19 | SUBST_CLASSES+= bitmap | |
21 | SUBST_STAGE.bitmap= pre-configure | 20 | SUBST_STAGE.bitmap= pre-configure | |
22 | SUBST_MESSAGE.bitmap= Avoid conflict with x11/bitmap and graphics/glx-utils | 21 | SUBST_MESSAGE.bitmap= Avoid conflict with x11/bitmap and graphics/glx-utils | |
23 | SUBST_FILES.bitmap= src/glsl/Makefile.in | 22 | SUBST_FILES.bitmap= src/glsl/Makefile.in | |
24 | SUBST_FILES.bitmap+= src/xdemos/Makefile.in | 23 | SUBST_FILES.bitmap+= src/xdemos/Makefile.in | |
25 | SUBST_SED.bitmap= -e 's/bitmap$$(EXEEXT)/bitmap_mesademos$$(EXEEXT)/g' | 24 | SUBST_SED.bitmap= -e 's/bitmap$$(EXEEXT)/bitmap_mesademos$$(EXEEXT)/g' | |
26 | SUBST_SED.bitmap+= -e 's/glxgears$$(EXEEXT)/glxgears_mesademos$$(EXEEXT)/g' | 25 | SUBST_SED.bitmap+= -e 's/glxgears$$(EXEEXT)/glxgears_mesademos$$(EXEEXT)/g' | |
27 | SUBST_SED.bitmap+= -e 's/glxinfo$$(EXEEXT)/glxinfo_mesademos$$(EXEEXT)/g' | 26 | SUBST_SED.bitmap+= -e 's/glxinfo$$(EXEEXT)/glxinfo_mesademos$$(EXEEXT)/g' | |
28 | 27 | |||
28 | .include "options.mk" | |||
29 | ||||
29 | .include "../../graphics/freetype2/buildlink3.mk" | 30 | .include "../../graphics/freetype2/buildlink3.mk" | |
30 | .include "../../graphics/glew/buildlink3.mk" | 31 | .include "../../graphics/glew/buildlink3.mk" | |
31 | .include "../../graphics/glu/buildlink3.mk" | 32 | .include "../../graphics/glu/buildlink3.mk" | |
32 | .include "../../graphics/glut/buildlink3.mk" | 33 | .include "../../graphics/glut/buildlink3.mk" | |
33 | .include "../../mk/bsd.pkg.mk" | 34 | .include "../../mk/bsd.pkg.mk" |
@@ -1,86 +1,87 @@ | @@ -1,86 +1,87 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.17 2015/12/30 04:13:07 dholland Exp $ | 1 | @comment $NetBSD: PLIST,v 1.18 2019/01/04 01:43:20 tnn Exp $ | |
2 | bin/arbfplight | 2 | bin/arbfplight | |
3 | bin/arbfslight | 3 | bin/arbfslight | |
4 | bin/arbocclude | 4 | bin/arbocclude | |
5 | bin/arbocclude2 | 5 | bin/arbocclude2 | |
6 | bin/array | 6 | bin/array | |
7 | bin/bezier | 7 | bin/bezier | |
8 | bin/bitmap_mesademos | 8 | bin/bitmap_mesademos | |
9 | bin/blinking-teapot | 9 | bin/blinking-teapot | |
10 | bin/bounce | 10 | bin/bounce | |
11 | bin/brick | 11 | bin/brick | |
12 | bin/bump | 12 | bin/bump | |
13 | bin/clear-color | 13 | bin/clear-color | |
14 | bin/clear-fbo | 14 | bin/clear-fbo | |
15 | bin/clear-fbo-scissor | 15 | bin/clear-fbo-scissor | |
16 | bin/clear-fbo-tex | 16 | bin/clear-fbo-tex | |
17 | bin/clear-random | 17 | bin/clear-random | |
18 | bin/clear-repeat | 18 | bin/clear-repeat | |
19 | bin/clear-scissor | 19 | bin/clear-scissor | |
20 | bin/clear-undefined | 20 | bin/clear-undefined | |
21 | bin/clearspd | 21 | bin/clearspd | |
22 | bin/convolutions | 22 | bin/convolutions | |
23 | bin/copypix | 23 | bin/copypix | |
24 | bin/copytex | 24 | bin/copytex | |
25 | bin/corender | |||
26 | bin/createwin | 25 | bin/createwin | |
27 | bin/cubemap | 26 | bin/cubemap | |
28 | bin/cuberender | 27 | bin/cuberender | |
29 | bin/deriv | 28 | bin/deriv | |
30 | bin/dinoshade | 29 | bin/dinoshade | |
31 | bin/dissolve | 30 | bin/dissolve | |
32 | bin/dlist-begin-call-end | 31 | bin/dlist-begin-call-end | |
33 | bin/dlist-dangling | 32 | bin/dlist-dangling | |
34 | bin/dlist-degenerate | 33 | bin/dlist-degenerate | |
35 | bin/dlist-edgeflag | 34 | bin/dlist-edgeflag | |
36 | bin/dlist-edgeflag-dangling | 35 | bin/dlist-edgeflag-dangling | |
37 | bin/dlist-flat-tri | 36 | bin/dlist-flat-tri | |
38 | bin/dlist-mat-tri | 37 | bin/dlist-mat-tri | |
39 | bin/dlist-recursive-call | 38 | bin/dlist-recursive-call | |
40 | bin/dlist-tri-flat-tri | 39 | bin/dlist-tri-flat-tri | |
41 | bin/dlist-tri-mat-tri | 40 | bin/dlist-tri-mat-tri | |
42 | bin/draw2arrays | 41 | bin/draw2arrays | |
43 | bin/drawarrays | 42 | bin/drawarrays | |
44 | bin/drawelements | 43 | bin/drawelements | |
45 | bin/drawelements-large | 44 | bin/drawelements-large | |
46 | bin/drawoverhead | 45 | bin/drawoverhead | |
47 | bin/drawpix | 46 | bin/drawpix | |
48 | bin/drawrange | 47 | bin/drawrange | |
48 | ${PLIST.egl}bin/eglinfo | |||
49 | bin/engine | 49 | bin/engine | |
50 | bin/fbo_firecube | 50 | bin/fbo_firecube | |
51 | bin/fbobind | 51 | bin/fbobind | |
52 | bin/fbotexture | 52 | bin/fbotexture | |
53 | bin/fill | 53 | bin/fill | |
54 | bin/fire | 54 | bin/fire | |
55 | bin/flat-clip | 55 | bin/flat-clip | |
56 | bin/fogcoord | 56 | bin/fogcoord | |
57 | bin/fplight | 57 | bin/fplight | |
58 | bin/fragcoord | 58 | bin/fragcoord | |
59 | bin/fs-tri | 59 | bin/fs-tri | |
60 | bin/fslight | 60 | bin/fslight | |
61 | bin/fsraytrace | 61 | bin/fsraytrace | |
62 | bin/gamma | 62 | bin/gamma | |
63 | bin/gearbox | 63 | bin/gearbox | |
64 | bin/gears | 64 | bin/gears | |
65 | bin/geartrain | 65 | bin/geartrain | |
66 | bin/genmipmap | 66 | bin/genmipmap | |
67 | bin/geom-outlining-130 | 67 | bin/geom-outlining-130 | |
68 | bin/geom-outlining-150 | 68 | bin/geom-outlining-150 | |
69 | bin/geom-sprites | 69 | bin/geom-sprites | |
70 | bin/geom-stipple-lines | 70 | bin/geom-stipple-lines | |
71 | bin/geom-wide-lines | 71 | bin/geom-wide-lines | |
72 | bin/glinfo | 72 | bin/glinfo | |
73 | bin/gloss | 73 | bin/gloss | |
74 | bin/glsl-compile-time | |||
74 | bin/glslstateschange | 75 | bin/glslstateschange | |
75 | bin/glsync | 76 | bin/glsync | |
76 | bin/gltestperf | 77 | bin/gltestperf | |
77 | bin/glthreads | 78 | bin/glthreads | |
78 | bin/glxcontexts | 79 | bin/glxcontexts | |
79 | bin/glxdemo | 80 | bin/glxdemo | |
80 | bin/glxgears_fbconfig | 81 | bin/glxgears_fbconfig | |
81 | bin/glxgears_mesademos | 82 | bin/glxgears_mesademos | |
82 | bin/glxgears_pixmap | 83 | bin/glxgears_pixmap | |
83 | bin/glxheads | 84 | bin/glxheads | |
84 | bin/glxinfo_mesademos | 85 | bin/glxinfo_mesademos | |
85 | bin/glxpbdemo | 86 | bin/glxpbdemo | |
86 | bin/glxpixmap | 87 | bin/glxpixmap | |
@@ -236,26 +237,27 @@ bin/tri-mask-tri | @@ -236,26 +237,27 @@ bin/tri-mask-tri | |||
236 | bin/tri-multitex-vbo | 237 | bin/tri-multitex-vbo | |
237 | bin/tri-orig | 238 | bin/tri-orig | |
238 | bin/tri-point-line-clipped | 239 | bin/tri-point-line-clipped | |
239 | bin/tri-query | 240 | bin/tri-query | |
240 | bin/tri-repeat | 241 | bin/tri-repeat | |
241 | bin/tri-rotate | 242 | bin/tri-rotate | |
242 | bin/tri-scissor-tri | 243 | bin/tri-scissor-tri | |
243 | bin/tri-square | 244 | bin/tri-square | |
244 | bin/tri-stencil | 245 | bin/tri-stencil | |
245 | bin/tri-stipple | 246 | bin/tri-stipple | |
246 | bin/tri-tex | 247 | bin/tri-tex | |
247 | bin/tri-tex-1d | 248 | bin/tri-tex-1d | |
248 | bin/tri-tex-3d | 249 | bin/tri-tex-3d | |
250 | bin/tri-tex-stipple | |||
249 | bin/tri-tri | 251 | bin/tri-tri | |
250 | bin/tri-unfilled | 252 | bin/tri-unfilled | |
251 | bin/tri-unfilled-clip | 253 | bin/tri-unfilled-clip | |
252 | bin/tri-unfilled-edgeflag | 254 | bin/tri-unfilled-edgeflag | |
253 | bin/tri-unfilled-fog | 255 | bin/tri-unfilled-fog | |
254 | bin/tri-unfilled-point | 256 | bin/tri-unfilled-point | |
255 | bin/tri-unfilled-smooth | 257 | bin/tri-unfilled-smooth | |
256 | bin/tri-unfilled-tri | 258 | bin/tri-unfilled-tri | |
257 | bin/tri-unfilled-tri-lit | 259 | bin/tri-unfilled-tri-lit | |
258 | bin/tri-unfilled-userclip | 260 | bin/tri-unfilled-userclip | |
259 | bin/tri-unfilled-userclip-stip | 261 | bin/tri-unfilled-userclip-stip | |
260 | bin/tri-userclip | 262 | bin/tri-userclip | |
261 | bin/tri-viewport | 263 | bin/tri-viewport |
@@ -1,8 +1,7 @@ | @@ -1,8 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.24 2015/11/03 21:33:51 agc Exp $ | 1 | $NetBSD: distinfo,v 1.25 2019/01/04 01:43:20 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (mesa-demos-8.2.0.tar.bz2) = e1a66ac63eebba4f950f95d830f34a6005167116 | 3 | SHA1 (mesa-demos-8.4.0.tar.bz2) = 57ba892e919fa22ce3db9f25e7331a6fa33c652c | |
4 | RMD160 (mesa-demos-8.2.0.tar.bz2) = e6804e480ed5d227ba689cb9b3ea95cc85353889 | 4 | RMD160 (mesa-demos-8.4.0.tar.bz2) = dcbfec40c173cacef19bf929b4b8119ce78e8e1b | |
5 | SHA512 (mesa-demos-8.2.0.tar.bz2) = 590e9fb66e23c0ad526754e9084858eb3e1fa906be55ee6121089325254b970e135e04d53c634cabd13d59c572ea39a4a877bce14b120d73850aafd159a5c8de | 5 | SHA512 (mesa-demos-8.4.0.tar.bz2) = b72d03cad36e0535ff18dcfb222ec4200064b9264f6da51a6e5f03b0dd912abe188bc1d600b6698de3ce6f63b28d2ce01565886ca8e7079edc4967fbf2fb0957 | |
6 | Size (mesa-demos-8.2.0.tar.bz2) = 10071635 bytes | 6 | Size (mesa-demos-8.4.0.tar.bz2) = 10073259 bytes | |
7 | SHA1 (patch-src_Makefile.in) = ab349abae606c4b0f8dae4604e96fc51c02828ac | |||
8 | SHA1 (patch-src_xdemos_glinfo__common.c) = 1f657daf58f2ae08a161cd7ab73285af441f17b0 | 7 | SHA1 (patch-src_xdemos_glinfo__common.c) = 1f657daf58f2ae08a161cd7ab73285af441f17b0 |
# $NetBSD: options.mk,v 1.1 2019/01/04 01:43:20 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaDemos
PKG_SUPPORTED_OPTIONS= egl
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
PLIST_VARS+= egl
.if !empty(PKG_OPTIONS:Megl)
CONFIGURE_ARGS+= --enable-egl
PLIST.egl= yes
.else
CONFIGURE_ARGS+= --disable-egl
.endif