summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2022-07-09 19:33:58 +0200
committerKhem Raj <raj.khem@gmail.com>2022-07-11 22:46:17 +0100
commitac0b8518293748a0b68d6df6dba0909fa0682245 (patch)
tree9b968c4f8b4339c2a8c1efc0453c45cb103b1299 /meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
parent2fc303563134bb539c1bcc13f0ba2e9e9f36872e (diff)
downloadmeta-openembedded-ac0b8518293748a0b68d6df6dba0909fa0682245.tar.gz
glmark2: Build with meson
Building with waf fails here with: | /bin/sh: line 1: /usr/bin/wayland-scanner: No such file or directory | | /bin/sh: line 1: /usr/bin/wayland-scanner: No such file or directory Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/glmark2/glmark2_git.bb')
-rw-r--r--meta-oe/recipes-benchmark/glmark2/glmark2_git.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index 188d4e5bdf..2a3e74f025 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -18,13 +18,12 @@ SRC_URI = " \
18 file://0001-fix-dispmanx-build.patch \ 18 file://0001-fix-dispmanx-build.patch \
19 file://0002-run-dispmanx-fullscreen.patch \ 19 file://0002-run-dispmanx-fullscreen.patch \
20 file://0001-libmatrix-Include-missing-utility-header.patch \ 20 file://0001-libmatrix-Include-missing-utility-header.patch \
21 file://0001-waflib-fix-compatibility-with-python-3.11.patch \
22" 21"
23SRCREV = "0858b450cd88c84a15b99dda9698d44e7f7e8c70" 22SRCREV = "0858b450cd88c84a15b99dda9698d44e7f7e8c70"
24 23
25S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
26 25
27inherit waf pkgconfig features_check 26inherit meson pkgconfig features_check
28 27
29ANY_OF_DISTRO_FEATURES = "opengl dispmanx" 28ANY_OF_DISTRO_FEATURES = "opengl dispmanx"
30 29
@@ -60,6 +59,6 @@ python __anonymous() {
60 if "dispmanx" in packageconfig: 59 if "dispmanx" in packageconfig:
61 flavors = ["dispmanx-glesv2"] 60 flavors = ["dispmanx-glesv2"]
62 if flavors: 61 if flavors:
63 d.appendVar("EXTRA_OECONF", " --with-flavors=%s" % ",".join(flavors)) 62 d.appendVar("EXTRA_OEMESON", " -Dflavors=%s" % ",".join(flavors))
64} 63}
65 64