svn commit: r566003 - head/benchmarks/glmark2

Jan Beich jbeich at FreeBSD.org
Thu Feb 18 22:28:48 UTC 2021


Author: jbeich
Date: Thu Feb 18 22:28:47 2021
New Revision: 566003
URL: https://svnweb.freebsd.org/changeset/ports/566003

Log:
  benchmarks/glmark2: unbreak and re-enable WAYLAND after r565490

Modified:
  head/benchmarks/glmark2/Makefile   (contents, props changed)
  head/benchmarks/glmark2/distinfo   (contents, props changed)

Modified: head/benchmarks/glmark2/Makefile
==============================================================================
--- head/benchmarks/glmark2/Makefile	Thu Feb 18 22:21:45 2021	(r566002)
+++ head/benchmarks/glmark2/Makefile	Thu Feb 18 22:28:47 2021	(r566003)
@@ -3,8 +3,12 @@
 
 PORTNAME=	glmark2
 PORTVERSION=	2021.02
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	bd2c4ca8360a.patch:-p1 # https://github.com/glmark2/glmark2/issues/147
+
 MAINTAINER=	danfe at FreeBSD.org
 COMMENT=	Benchmark for OpenGL (ES) 2.0
 
@@ -22,11 +26,9 @@ PORTDOCS=	NEWS
 OPTIONS_DEFINE=	DOCS
 OPTIONS_MULTI=	PLATFORM
 OPTIONS_MULTI_PLATFORM=	DRM WAYLAND X11
-OPTIONS_DEFAULT=DRM X11
+OPTIONS_DEFAULT=DRM WAYLAND X11
 OPTIONS_SUB=	yes
 
-WAYLAND_BROKEN=	../src/native-state-wayland.cpp:26:10: fatal error: 'linux/input.h' file not found
-
 PLATFORM_DESC=		Window systems
 
 DRM_DESC=		KMS console support
@@ -35,7 +37,8 @@ DRM_LIB_DEPENDS=	libudev.so:devel/libudev-devd \
 DRM_USE=		GL=gbm
 DRM_VARS=		PLATFORMS+="drm-gl drm-glesv2"
 
-WAYLAND_BUILD_DEPENDS=	wayland-protocols>=1.12:graphics/wayland-protocols
+WAYLAND_BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
+			wayland-protocols>=1.12:graphics/wayland-protocols
 WAYLAND_LIB_DEPENDS=	libwayland-egl.so:graphics/wayland
 WAYLAND_VARS=		PLATFORMS+="wayland-gl wayland-glesv2"
 

Modified: head/benchmarks/glmark2/distinfo
==============================================================================
--- head/benchmarks/glmark2/distinfo	Thu Feb 18 22:21:45 2021	(r566002)
+++ head/benchmarks/glmark2/distinfo	Thu Feb 18 22:28:47 2021	(r566003)
@@ -1,3 +1,5 @@
 TIMESTAMP = 1613396420
 SHA256 (glmark2-glmark2-2021.02_GH0.tar.gz) = bebadb78c13aea5e88ed892e5563101ccb745b75f1dc86a8fc7229f00d78cbf1
 SIZE (glmark2-glmark2-2021.02_GH0.tar.gz) = 9369477
+SHA256 (bd2c4ca8360a.patch) = 0b32388e82fb35faddf1502d32680a61203bb32e4ee4d4d65f60b78ac244e73f
+SIZE (bd2c4ca8360a.patch) = 3777


More information about the svn-ports-all mailing list