summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/virglrenderer
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-08 14:27:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-10 21:18:21 +0000
commit7bb231a7b6e85644b6c2ff7a14f77a1d2acbaed1 (patch)
treeecc1db79f1b5173d1b68aa6193a3534864ef4047 /meta/recipes-graphics/virglrenderer
parent95aa27d68b03875c46fe3964ff2c2543b0c8d52a (diff)
downloadpoky-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.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