diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-06-06 14:01:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-07 21:21:54 +0100 |
commit | 547b0b0943e9f6db543ef3ea172b8f37581f524f (patch) | |
tree | 588b215b2653119f0b48e0d2c0e2712627652440 /meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb | |
parent | c13a21782b572038b5a6f4229882f2b992741b79 (diff) | |
download | poky-547b0b0943e9f6db543ef3ea172b8f37581f524f.tar.gz |
mesa-demos: update 8.4.0 -> 8.5.0
Convert to meson, drop unsupported options.
Drop autotools-specific and glew-specific patches (glew support dropped upstream).
glu dependency is now x11-specific.
0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch dropped
as patched files removed upstream.
(From OE-Core rev: b9fc45915977c34b3a50e3d64347c2b247c49840)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb deleted file mode 100644 index 01e5b35d0e..0000000000 --- a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | SUMMARY = "Mesa demo applications" | ||
2 | DESCRIPTION = "This package includes the demonstration application, such as glxgears. \ | ||
3 | These applications can be used for Mesa validation and benchmarking." | ||
4 | HOMEPAGE = "http://mesa3d.org" | ||
5 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
6 | SECTION = "x11" | ||
7 | |||
8 | LICENSE = "MIT & PD" | ||
9 | LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \ | ||
10 | file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06" | ||
11 | |||
12 | SRC_URI = "https://mesa.freedesktop.org/archive/demos/${BPN}-${PV}.tar.bz2 \ | ||
13 | file://0001-mesa-demos-Add-missing-data-files.patch \ | ||
14 | file://0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch \ | ||
15 | file://0004-Use-DEMOS_DATA_DIR-to-locate-data-files.patch \ | ||
16 | file://0007-Install-few-more-test-programs.patch \ | ||
17 | file://0008-glsl-perf-Add-few-missing-.glsl-.vert-.frag-files-to.patch \ | ||
18 | file://0009-glsl-perf-Install-.glsl-.vert-.frag-files.patch \ | ||
19 | file://0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch \ | ||
20 | " | ||
21 | SRC_URI[md5sum] = "6b65a02622765522176d00f553086fa3" | ||
22 | SRC_URI[sha256sum] = "01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d" | ||
23 | |||
24 | inherit autotools pkgconfig features_check | ||
25 | # depends on virtual/egl, virtual/libgl ... | ||
26 | REQUIRED_DISTRO_FEATURES = "opengl x11" | ||
27 | |||
28 | PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ | ||
29 | x11 glew glu" | ||
30 | |||
31 | # The Wayland code doesn't work with Wayland 1.0, so disable it for now | ||
32 | #${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" | ||
33 | |||
34 | EXTRA_OECONF = "--with-system-data-files" | ||
35 | |||
36 | PACKAGECONFIG[drm] = "--enable-libdrm,--disable-libdrm,libdrm" | ||
37 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
38 | PACKAGECONFIG[freetype2] = "--enable-freetype2,--disable-freetype2,freetype" | ||
39 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgl" | ||
40 | PACKAGECONFIG[gles1] = "--enable-gles1,--disable-gles1,virtual/libgles1" | ||
41 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
42 | PACKAGECONFIG[glut] = "--with-glut=${STAGING_EXECPREFIXDIR},--without-glut,freeglut" | ||
43 | PACKAGECONFIG[osmesa] = "--enable-osmesa,--disable-osmesa," | ||
44 | PACKAGECONFIG[vg] = "--enable-vg,--disable-vg,virtual/libopenvg" | ||
45 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayland" | ||
46 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11" | ||
47 | PACKAGECONFIG[glew] = "--enable-glew,--disable-glew,glew" | ||
48 | PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl" | ||
49 | |||
50 | do_install:append() { | ||
51 | # it can be completely empty when all PACKAGECONFIG options are disabled | ||
52 | rmdir --ignore-fail-on-non-empty ${D}${bindir} | ||
53 | |||
54 | if [ -f ${D}${bindir}/clear ]; then | ||
55 | mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos | ||
56 | fi | ||
57 | } | ||