graphics/mesa-demos: Update to 8.5.0

While here switch to meson

Differential Revision:	https://reviews.freebsd.org/D44969
Sponsored by:		Beckhoff Automation GmbH & Co. KG
main
Emmanuel Vadot 2024-04-26 10:01:33 +02:00
parent d2af4254d3
commit bb4092f401
4 changed files with 14 additions and 41 deletions

View File

@ -1,8 +1,8 @@
PORTNAME= mesa-demos
PORTVERSION= 8.4.0
PORTREVISION= 4
PORTVERSION= 8.5.0
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/
MASTER_SITES= https://mesa.freedesktop.org/archive/demos/${PORTVERSION}/ \
ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/
MAINTAINER= x11@FreeBSD.org
COMMENT= OpenGL demos distributed with Mesa
@ -12,13 +12,16 @@ LICENSE= MIT
CONFLICTS_INSTALL= glx-utils
USES= gmake gl localbase pkgconfig tar:bzip2 xorg
GNU_CONFIGURE= yes
USE_GL= egl gl glesv2 glew glu glut
USES= gl localbase meson pkgconfig tar:bzip2 xorg
USE_GL= egl gl glesv2 glu glut
USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm
CONFIGURE_ARGS+=--disable-gles1 --disable-osmesa --disable-vg --disable-wayland \
--with-system-data-files
MESON_ARGS+= -Dwith-glut=${LOCALBASE} \
-Dgles1=disabled \
-Dlibdrm=disabled \
-Dosmesa=disabled \
-Dwayland=disabled \
-Dwith-system-data-files=true
.include <bsd.port.options.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1519375835
SHA256 (mesa-demos-8.4.0.tar.bz2) = 01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d
SIZE (mesa-demos-8.4.0.tar.bz2) = 10073259
TIMESTAMP = 1714117397
SHA256 (mesa-demos-8.5.0.tar.bz2) = cea2df0a80f09a30f635c4eb1a672bf90c5ddee0b8e77f4d70041668ef71aac1
SIZE (mesa-demos-8.5.0.tar.bz2) = 10367517

View File

@ -1,16 +0,0 @@
# Fix an uninitialized variable in a particular execution path
#
# While it would be better design to initialize the error value
# at the start, it is set in every other error path so the least
# intrusive correction is to set it in the one missed path.
#
--- src/egl/opengl/eglkms.c.orig 2012-08-28 14:31:17 UTC
+++ src/egl/opengl/eglkms.c
@@ -212,6 +212,7 @@ int main(int argc, char *argv[])
if (!eglChooseConfig(dpy, attribs, &config, 1, &n) || n != 1) {
fprintf(stderr, "failed to choose argb config\n");
+ ret = -1;
goto egl_terminate;
}

View File

@ -1,14 +0,0 @@
# aligned_alloc() is in <stdlib.h>, so only _aligned_malloc() needs <malloc.h>
#
--- src/tests/texdown.c.orig 2018-02-23 08:50:21 UTC
+++ src/tests/texdown.c
@@ -34,7 +34,9 @@
#include <stdio.h>
#include <stdlib.h>
+#ifdef _WIN32
#include <malloc.h>
+#endif
#include <math.h>
#include <GL/glew.h>
#include "glut_wrap.h"