SHA256
1
0
forked from pool/glmark2

2 Commits

Author SHA256 Message Date
58d6623e10 Accepting request 1246971 from benchmark
- Update to version 20250212:
  * Add a missing include for std::copy
  * github: Add CI build for dispmanx-glesv2
  * Add missing include headers
  * build: Remove WAF build system support
  * build: Add dispmanx flavor support in meson build
  * NativeStateDispmanx: Support building using GLAD EGL
  * NativeStateDispmanx: Fix compiler warning

OBS-URL: https://build.opensuse.org/request/show/1246971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glmark2?expand=0&rev=26
2025-02-20 15:33:22 +00:00
a352bd8f99 - Update to version 20250212:
* Add a missing include for std::copy
  * github: Add CI build for dispmanx-glesv2
  * Add missing include headers
  * build: Remove WAF build system support
  * build: Add dispmanx flavor support in meson build
  * NativeStateDispmanx: Support building using GLAD EGL
  * NativeStateDispmanx: Fix compiler warning

OBS-URL: https://build.opensuse.org/package/show/benchmark/glmark2?expand=0&rev=58
2025-02-19 09:16:34 +00:00
6 changed files with 28 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/glmark2/glmark2.git</param>
<param name="changesrevision">2054465f6f7c9ed2d82f633bb0c88a3222f4a63a</param></service></servicedata>
<param name="changesrevision">6edcf02205fd1e8979dc3f3964257a81959b80c8</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2abd66aab749e6daf4e9e076adcf890edb3cbdaa35495ec4c7a373a177328f20
size 18205709

3
glmark2-20250212.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9883c43604e82f7b0349ed8778a40d4195d0fcc28f3ee9811f3013f94f9e616b
size 17753613

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 19 08:56:24 UTC 2025 - Martin Pluskal <mpluskal@suse.com>
- Update to version 20250212:
* Add a missing include for std::copy
* github: Add CI build for dispmanx-glesv2
* Add missing include headers
* build: Remove WAF build system support
* build: Add dispmanx flavor support in meson build
* NativeStateDispmanx: Support building using GLAD EGL
* NativeStateDispmanx: Fix compiler warning
-------------------------------------------------------------------
Fri Jun 7 13:03:20 UTC 2024 - Martin Pluskal <mpluskal@suse.com>

View File

@@ -1,4 +1,4 @@
name: glmark2
version: 20240425
mtime: 1714061166
commit: 2054465f6f7c9ed2d82f633bb0c88a3222f4a63a
version: 20250212
mtime: 1739353664
commit: 6edcf02205fd1e8979dc3f3964257a81959b80c8

View File

@@ -1,7 +1,7 @@
#
# spec file for package glmark2
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2015-2016 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -18,25 +18,24 @@
Name: glmark2
Version: 20240425
Version: 20250212
Release: 0
Summary: OpenGL 2.0 and ES 2.0 benchmark
License: GPL-3.0-only
Group: System/X11/Utilities
URL: https://github.com/glmark2/glmark2
Source0: %{name}-%{version}.tar.gz
BuildRequires: ImageMagick
BuildRequires: fdupes
BuildRequires: gcc-c++ >= 5.0
BuildRequires: libjpeg-devel
BuildRequires: meson >= 0.45
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libpng16)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-egl)
@@ -52,18 +51,13 @@ arrays, VBOs, texturing and shaders.
%autosetup
%build
export CXXFLAGS="%{optflags}"
python3 waf configure \
--with-flavors=x11-gl,x11-glesv2,wayland-gl,wayland-glesv2,drm-gl,drm-glesv2 \
--prefix=%{_prefix}
python3 waf --verbose %{?_smp_mflags}
%meson \
-Dflavors=x11-gl,x11-glesv2,wayland-gl,wayland-glesv2,drm-gl,drm-glesv2
%meson_build
%install
python3 waf install --destdir=%{buildroot}
#FIXME Clean up runtime warning - libpng warning: iCCP: known incorrect sRGB profile
pushd %{buildroot}%{_datadir}/%{name}/textures
convert effect-2d.png -strip effect-2d.png
popd
%meson_install
%fdupes -s %{buildroot}
%files