Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
nv:tegra3:common
>
glmark2
> glmark2.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File glmark2.spec of Package glmark2
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.22 # # >> macros # << macros Name: glmark2 Summary: GL performance test tool Version: 2012.08 Release: 1 Group: System/X License: MIT Source0: %{name}-%{version}.tar.gz Source100: glmark2.yaml Patch0: libpng-wscript.patch Patch1: 0001-fix-png-voidp.patch Patch2: 0002-link-png.patch BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(glesv1_cm) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(x11) BuildRequires: python BuildRequires: libjpeg-turbo-devel %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. . This package contains the OpenGL ES 2.0 variant of the benchmark. %prep %setup -q -n %{name}-%{version} # write_to.patch %patch0 -p1 # 0001-fix-png-voidp.patch %patch1 -p1 # 0002-link-png.patch %patch2 -p1 # >> setup # << setup %build # >> build pre ./waf configure --enable-glesv2 --prefix=/usr # << build pre # >> build post ./waf # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post ./waf install --destdir=%{buildroot} # << install post %files %defattr(-,root,root,-) /usr/bin/glmark2-es2 /usr/share/glmark2/models/* /usr/share/glmark2/shaders/* /usr/share/glmark2/textures/* %doc /usr/share/man/man1/glmark2-es2.1.gz # >> files # << files