diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-08 14:27:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:21 +0000 |
commit | 7bb231a7b6e85644b6c2ff7a14f77a1d2acbaed1 (patch) | |
tree | ecc1db79f1b5173d1b68aa6193a3534864ef4047 /meta/recipes-graphics/virglrenderer | |
parent | 95aa27d68b03875c46fe3964ff2c2543b0c8d52a (diff) | |
download | poky-7bb231a7b6e85644b6c2ff7a14f77a1d2acbaed1.tar.gz |
virglrenderer: update to 0.8.1
Switch over to meson build system, add a patch
to avoid target python3 dependency.
(From OE-Core rev: b8fa017de9b9e5f1057a14b9b13ac0401b94969e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/virglrenderer')
-rw-r--r-- | meta/recipes-graphics/virglrenderer/virglrenderer/0001-meson.build-use-python3-directly-for-python.patch | 27 | ||||
-rw-r--r-- | meta/recipes-graphics/virglrenderer/virglrenderer_0.8.1.bb (renamed from meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb) | 5 |
2 files changed, 30 insertions, 2 deletions
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer/0001-meson.build-use-python3-directly-for-python.patch b/meta/recipes-graphics/virglrenderer/virglrenderer/0001-meson.build-use-python3-directly-for-python.patch new file mode 100644 index 0000000000..0fd1d511d6 --- /dev/null +++ b/meta/recipes-graphics/virglrenderer/virglrenderer/0001-meson.build-use-python3-directly-for-python.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 63788c63ed39a3ce9994f4315d8997e1a9300d4d Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 6 Jan 2020 12:44:42 +0100 | ||
4 | Subject: [PATCH] meson.build: use 'python3' directly for python | ||
5 | |||
6 | This avoids a dependency on target python (due to meson probing | ||
7 | its configuration). | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe-core specific] | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | meson.build | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/meson.build b/meson.build | ||
16 | index 682d7c8..19d2eae 100644 | ||
17 | --- a/meson.build | ||
18 | +++ b/meson.build | ||
19 | @@ -60,7 +60,7 @@ foreach w : warnings | ||
20 | endif | ||
21 | endforeach | ||
22 | |||
23 | -prog_python = import('python').find_installation('python3') | ||
24 | +prog_python = 'python3' | ||
25 | |||
26 | libdrm_dep = dependency('libdrm', version : '>=2.4.50') | ||
27 | thread_dep = dependency('threads') | ||
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb b/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.1.bb index 4420d84ae5..133618844a 100644 --- a/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb +++ b/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.1.bb | |||
@@ -9,14 +9,15 @@ LICENSE = "MIT" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10" |
10 | 10 | ||
11 | DEPENDS = "libdrm mesa libepoxy" | 11 | DEPENDS = "libdrm mesa libepoxy" |
12 | SRCREV = "48cc96c9aebb9d0164830a157efc8916f08f00c0" | 12 | SRCREV = "66c57963aaf09a1c41056bd2a001da1d51957a14" |
13 | SRC_URI = "git://anongit.freedesktop.org/virglrenderer \ | 13 | SRC_URI = "git://anongit.freedesktop.org/virglrenderer \ |
14 | file://0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch \ | 14 | file://0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch \ |
15 | file://0001-meson.build-use-python3-directly-for-python.patch \ | ||
15 | " | 16 | " |
16 | 17 | ||
17 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
18 | 19 | ||
19 | inherit autotools pkgconfig features_check | 20 | inherit meson pkgconfig features_check |
20 | 21 | ||
21 | BBCLASSEXTEND = "native nativesdk" | 22 | BBCLASSEXTEND = "native nativesdk" |
22 | 23 | ||