summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/virglrenderer
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/virglrenderer')
-rw-r--r--meta/recipes-graphics/virglrenderer/virglrenderer/0001-meson.build-use-python3-directly-for-python.patch27
-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 @@
1From 63788c63ed39a3ce9994f4315d8997e1a9300d4d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 6 Jan 2020 12:44:42 +0100
4Subject: [PATCH] meson.build: use 'python3' directly for python
5
6This avoids a dependency on target python (due to meson probing
7its configuration).
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 meson.build | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index 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"
9LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10" 9LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10"
10 10
11DEPENDS = "libdrm mesa libepoxy" 11DEPENDS = "libdrm mesa libepoxy"
12SRCREV = "48cc96c9aebb9d0164830a157efc8916f08f00c0" 12SRCREV = "66c57963aaf09a1c41056bd2a001da1d51957a14"
13SRC_URI = "git://anongit.freedesktop.org/virglrenderer \ 13SRC_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
17S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
18 19
19inherit autotools pkgconfig features_check 20inherit meson pkgconfig features_check
20 21
21BBCLASSEXTEND = "native nativesdk" 22BBCLASSEXTEND = "native nativesdk"
22 23