Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
glmark2
glmark2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glmark2.spec of Package glmark2
# # spec file for package glmark2 # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2015-2016 Malcolm J Lewis <malcolmlewis@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: glmark2 Version: 20240425 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: pkgconfig BuildRequires: python3-base BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libpng16) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(x11) %description A benchmark for OpenGL (ES) 2.0 that uses only the OpenGL ES 2.0 compatible API. It contains tests for standard OpenGL (ES) 2.0 features, such as vertex arrays, VBOs, texturing and shaders. %prep %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} %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 %fdupes -s %{buildroot} %files %license COPYING COPYING.SGI %doc NEWS %{_bindir}/glmark2 %{_bindir}/glmark2-drm %{_bindir}/glmark2-es2 %{_bindir}/glmark2-es2-drm %{_bindir}/glmark2-es2-wayland %{_bindir}/glmark2-wayland %{_datadir}/%{name} %{_mandir}/man1/glmark2.1%{?ext_man} %{_mandir}/man1/glmark2-drm.1%{?ext_man} %{_mandir}/man1/glmark2-es2.1%{?ext_man} %{_mandir}/man1/glmark2-es2-drm.1%{?ext_man} %{_mandir}/man1/glmark2-es2-wayland.1%{?ext_man} %{_mandir}/man1/glmark2-wayland.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor