Skip to content

Commit

Permalink
glmark2-2023.01 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 11, 2025
1 parent 9b1c9e1 commit 2c76671
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 0 deletions.
196 changes: 196 additions & 0 deletions glmark2/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
glmark2
------------------------------------------
OpenGL 2.0 and ES 2.0 benchmark

Runtime requirements:
cygwin-3.5.4-1
libX11_6-1.8.9-1
libgcc1-12.4.0-3
libjpeg8-3.1.0-1
libpng16-1.6.42-1
libstdc++6-12.4.0-3

Build requirements:
(besides corresponding -devel packages)
binutils-2.43.1-1
cygport-0.36.9-1
gcc-core-12.4.0-3
gcc-g++-12.4.0-3
libX11-devel-1.8.9-1
libjpeg-devel-3.1.0-1
libpng-devel-1.6.42-1
meson-1.3.2-1
ninja-1.12.0-1

Canonical website:
https://github.com/glmark2/glmark2

Canonical download:
https://github.com/glmark2/glmark2/archive/refs/tags/2023.01.tar.gz

-------------------------------------------

Build instructions:
1. unpack glmark2-2023.01-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./glmark2-2023.01-X.cygport all

This will create:
/usr/src/glmark2-2023.01-X-src.tar.xz
/usr/src/glmark2-2023.01-X.tar.xz

-------------------------------------------

Files included in the binary package:

(glmark2)
/usr/bin/glmark2.exe
/usr/share/doc/Cygwin/glmark2.README
/usr/share/doc/glmark2/COPYING
/usr/share/doc/glmark2/COPYING.SGI
/usr/share/doc/glmark2/NEWS
/usr/share/doc/glmark2/README
/usr/share/glmark2/models/asteroid-high.3ds
/usr/share/glmark2/models/asteroid-low.3ds
/usr/share/glmark2/models/bunny.obj
/usr/share/glmark2/models/cat.3ds
/usr/share/glmark2/models/cube.3ds
/usr/share/glmark2/models/horse.3ds
/usr/share/glmark2/models/jellyfish.jobj
/usr/share/glmark2/shaders/README.shaders
/usr/share/glmark2/shaders/buffer-wireframe.frag
/usr/share/glmark2/shaders/buffer-wireframe.vert
/usr/share/glmark2/shaders/bump-height.frag
/usr/share/glmark2/shaders/bump-height.vert
/usr/share/glmark2/shaders/bump-normals-tangent.frag
/usr/share/glmark2/shaders/bump-normals-tangent.vert
/usr/share/glmark2/shaders/bump-normals.frag
/usr/share/glmark2/shaders/bump-normals.vert
/usr/share/glmark2/shaders/bump-poly.frag
/usr/share/glmark2/shaders/bump-poly.vert
/usr/share/glmark2/shaders/conditionals-step-conditional.all
/usr/share/glmark2/shaders/conditionals-step-simple.all
/usr/share/glmark2/shaders/conditionals.frag
/usr/share/glmark2/shaders/conditionals.vert
/usr/share/glmark2/shaders/depth.frag
/usr/share/glmark2/shaders/depth.vert
/usr/share/glmark2/shaders/desktop-blur.frag
/usr/share/glmark2/shaders/desktop.frag
/usr/share/glmark2/shaders/desktop.vert
/usr/share/glmark2/shaders/effect-2d-convolution.frag
/usr/share/glmark2/shaders/effect-2d.vert
/usr/share/glmark2/shaders/function-call.all
/usr/share/glmark2/shaders/function-step-low.all
/usr/share/glmark2/shaders/function-step-medium.all
/usr/share/glmark2/shaders/function.frag
/usr/share/glmark2/shaders/function.vert
/usr/share/glmark2/shaders/gradient.frag
/usr/share/glmark2/shaders/gradient.vert
/usr/share/glmark2/shaders/ideas-lamp-lit.frag
/usr/share/glmark2/shaders/ideas-lamp-lit.vert
/usr/share/glmark2/shaders/ideas-lamp-unlit.frag
/usr/share/glmark2/shaders/ideas-lamp-unlit.vert
/usr/share/glmark2/shaders/ideas-logo-flat.frag
/usr/share/glmark2/shaders/ideas-logo-flat.vert
/usr/share/glmark2/shaders/ideas-logo-shadow.frag
/usr/share/glmark2/shaders/ideas-logo-shadow.vert
/usr/share/glmark2/shaders/ideas-logo.frag
/usr/share/glmark2/shaders/ideas-logo.vert
/usr/share/glmark2/shaders/ideas-paper.frag
/usr/share/glmark2/shaders/ideas-paper.vert
/usr/share/glmark2/shaders/ideas-table.frag
/usr/share/glmark2/shaders/ideas-table.vert
/usr/share/glmark2/shaders/ideas-text.frag
/usr/share/glmark2/shaders/ideas-text.vert
/usr/share/glmark2/shaders/ideas-under-table.frag
/usr/share/glmark2/shaders/ideas-under-table.vert
/usr/share/glmark2/shaders/jellyfish.frag
/usr/share/glmark2/shaders/jellyfish.vert
/usr/share/glmark2/shaders/light-advanced.frag
/usr/share/glmark2/shaders/light-advanced.vert
/usr/share/glmark2/shaders/light-basic-tex-bilinear.frag
/usr/share/glmark2/shaders/light-basic-tex.frag
/usr/share/glmark2/shaders/light-basic-texgen.vert
/usr/share/glmark2/shaders/light-basic.frag
/usr/share/glmark2/shaders/light-basic.vert
/usr/share/glmark2/shaders/light-cel.frag
/usr/share/glmark2/shaders/light-phong.frag
/usr/share/glmark2/shaders/light-phong.vert
/usr/share/glmark2/shaders/light-refract.frag
/usr/share/glmark2/shaders/light-refract.vert
/usr/share/glmark2/shaders/loop-step-loop.all
/usr/share/glmark2/shaders/loop-step-simple.all
/usr/share/glmark2/shaders/loop.frag
/usr/share/glmark2/shaders/loop.vert
/usr/share/glmark2/shaders/pulsar-light.vert
/usr/share/glmark2/shaders/pulsar.vert
/usr/share/glmark2/shaders/shadow.frag
/usr/share/glmark2/shaders/shadow.vert
/usr/share/glmark2/shaders/terrain-blur.frag
/usr/share/glmark2/shaders/terrain-luminance.frag
/usr/share/glmark2/shaders/terrain-noise.frag
/usr/share/glmark2/shaders/terrain-normalmap.frag
/usr/share/glmark2/shaders/terrain-overlay.frag
/usr/share/glmark2/shaders/terrain-texture.vert
/usr/share/glmark2/shaders/terrain.frag
/usr/share/glmark2/shaders/terrain.vert
/usr/share/glmark2/shaders/text-renderer.frag
/usr/share/glmark2/shaders/text-renderer.vert
/usr/share/glmark2/textures/asteroid-height-map.png
/usr/share/glmark2/textures/asteroid-normal-map-tangent.png
/usr/share/glmark2/textures/asteroid-normal-map.png
/usr/share/glmark2/textures/crate-base.png
/usr/share/glmark2/textures/desktop-shadow-corner.png
/usr/share/glmark2/textures/desktop-shadow.png
/usr/share/glmark2/textures/desktop-window.png
/usr/share/glmark2/textures/effect-2d.png
/usr/share/glmark2/textures/glyph-atlas.png
/usr/share/glmark2/textures/jellyfish-caustics-01.png
/usr/share/glmark2/textures/jellyfish-caustics-02.png
/usr/share/glmark2/textures/jellyfish-caustics-03.png
/usr/share/glmark2/textures/jellyfish-caustics-04.png
/usr/share/glmark2/textures/jellyfish-caustics-05.png
/usr/share/glmark2/textures/jellyfish-caustics-06.png
/usr/share/glmark2/textures/jellyfish-caustics-07.png
/usr/share/glmark2/textures/jellyfish-caustics-08.png
/usr/share/glmark2/textures/jellyfish-caustics-09.png
/usr/share/glmark2/textures/jellyfish-caustics-10.png
/usr/share/glmark2/textures/jellyfish-caustics-11.png
/usr/share/glmark2/textures/jellyfish-caustics-12.png
/usr/share/glmark2/textures/jellyfish-caustics-13.png
/usr/share/glmark2/textures/jellyfish-caustics-14.png
/usr/share/glmark2/textures/jellyfish-caustics-15.png
/usr/share/glmark2/textures/jellyfish-caustics-16.png
/usr/share/glmark2/textures/jellyfish-caustics-17.png
/usr/share/glmark2/textures/jellyfish-caustics-18.png
/usr/share/glmark2/textures/jellyfish-caustics-19.png
/usr/share/glmark2/textures/jellyfish-caustics-20.png
/usr/share/glmark2/textures/jellyfish-caustics-21.png
/usr/share/glmark2/textures/jellyfish-caustics-22.png
/usr/share/glmark2/textures/jellyfish-caustics-23.png
/usr/share/glmark2/textures/jellyfish-caustics-24.png
/usr/share/glmark2/textures/jellyfish-caustics-25.png
/usr/share/glmark2/textures/jellyfish-caustics-26.png
/usr/share/glmark2/textures/jellyfish-caustics-27.png
/usr/share/glmark2/textures/jellyfish-caustics-28.png
/usr/share/glmark2/textures/jellyfish-caustics-29.png
/usr/share/glmark2/textures/jellyfish-caustics-30.png
/usr/share/glmark2/textures/jellyfish-caustics-31.png
/usr/share/glmark2/textures/jellyfish-caustics-32.png
/usr/share/glmark2/textures/jellyfish256.png
/usr/share/glmark2/textures/nasa1.png
/usr/share/glmark2/textures/nasa2.png
/usr/share/glmark2/textures/nasa3.png
/usr/share/glmark2/textures/terrain-backgrounddetailed6.jpg
/usr/share/glmark2/textures/terrain-grasslight-512-nm.jpg
/usr/share/glmark2/textures/terrain-grasslight-512.jpg
/usr/share/man/man1/glmark2.1.gz

------------------

Port Notes:

----- version 2023.01-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
24 changes: 24 additions & 0 deletions glmark2/glmark2-2023.01-1bl1.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
HOMEPAGE="https://github.com/${PN}/${PN}"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz"

CATEGORY="Benchmark"
SUMMARY="OpenGL 2.0 and ES 2.0 benchmark"
DESCRIPTION="${SUMMARY}"

LICENSE="GPL-3.0-or-later"
LICENSE_SPDX="SPDX-License-Identifier: GPL-3.0-or-later"
LICENSE_URI="COPYING"

BUILD_REQUIRES="libjpeg-devel libpng-devel libX11-devel"

export CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"

inherit meson

CYGMESON_ARGS="
-Dflavors=x11-gl
"

DOCS="
COPYING.SGI
"

0 comments on commit 2c76671

Please sign in to comment.