Package Details: glmark2-git r870.b949d5f-1

Git Clone URL: https://aur.archlinux.org/glmark2-git.git (read-only, click to copy)
Package Base: glmark2-git
Description: OpenGL (ES) 2.0 benchmark (X11, Wayland, DRM)
Upstream URL: https://launchpad.net/glmark2
Licenses: GPL3
Conflicts: glmark2
Provides: glmark2
Submitter: devm33
Maintainer: devm33
Last Packager: devm33
Votes: 34
Popularity: 1.06
First Submitted: 2014-09-17 15:09
Last Updated: 2018-10-29 01:40

Latest Comments

1 2 Next › Last »

ryshglene commented on 2020-09-19 08:46

This package already builds with libpng and python cleanly, please consider updating.

diff --git a/PKGBUILD b/PKGBUILD
index f235c66..7f8d52c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
 # Maintainer: Ryo Munakata <afpacket@gmail.com>
 pkgname=glmark2-git
-pkgver=r870.b949d5f
+pkgver=r914.8fdd8b4
 pkgrel=1
 pkgdesc="OpenGL (ES) 2.0 benchmark (X11, Wayland, DRM)"
 arch=('i686' 'x86_64')
 url="https://launchpad.net/glmark2"
 license=('GPL3')
-depends=('libjpeg-turbo' 'libpng12' 'libx11' 'libxcb' 'wayland' 'libgl' 'libgles')
-makedepends=('git' 'python2')
+depends=('libjpeg-turbo' 'libpng' 'libx11' 'libxcb' 'wayland' 'libgl' 'libgles' 'wayland-protocols')
+makedepends=('git' 'python')
 conflicts=('glmark2')
 provides=('glmark2')
 source=(
@@ -31,13 +31,13 @@ prepare() {

 build() {
     cd "${srcdir}/${pkgname}"
-    python2 ./waf configure \
+    python ./waf configure \
         --prefix=/usr \
         --with-flavors=${GM2_FLAVORS}
-    python2 ./waf -j4
+    python ./waf -j4
 }

 package() {
     cd "${srcdir}/${pkgname}"
-    DESTDIR="${pkgdir}" python2 ./waf install
+    DESTDIR="${pkgdir}" python ./waf install
 }

Score_Under commented on 2019-01-12 16:38

Seems to be missing a dependency on libpng

devm33 commented on 2018-10-29 01:42

@vedg fixed and push. Thanks.

vedg commented on 2018-10-24 16:32

glmark2 builds and runs without the patch. The issue has been fixed differently upstream (see https://github.com/glmark2/glmark2/pull/19). Please remove the obsolete patch.

drmargarido commented on 2018-01-06 05:19

During the package step I got a encoding error in the python script -> "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 27: ordinal not in range(128)"

Fix: Changed all python2 to python and it worked

Edit: It worked well when I cloned directly from the git repo. Only happens in the current snapshot.

mgw commented on 2017-01-30 21:40

Could you add aarch64 to supported architectures? I can confirm that it works.

madmaurice commented on 2016-11-12 08:00

No function python2 defined in /home/***/.cache/pacaur/glmark2-git/src/glmark2-git/wscript

Edit: python and python2 packages are installed.

schnick commented on 2016-10-16 14:32

change in PKGBUILD - File
...
build() {
cd "${srcdir}/${pkgname}"
python2 ./waf configure --prefix=/usr --with-flavors=${GM2_FLAVORS}
python2 ./waf -j4
}
...

ArthurBorsboom commented on 2016-10-01 19:56

waf: error: no such option: --no-werror

bunder commented on 2016-08-04 12:12

Please, add libgles as dependency if the package provides es2 flavor.