mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
95aa27d68b
commit
7bb231a7b6
@@ -0,0 +1,27 @@
|
||||
From 63788c63ed39a3ce9994f4315d8997e1a9300d4d Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Mon, 6 Jan 2020 12:44:42 +0100
|
||||
Subject: [PATCH] meson.build: use 'python3' directly for python
|
||||
|
||||
This avoids a dependency on target python (due to meson probing
|
||||
its configuration).
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 682d7c8..19d2eae 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -60,7 +60,7 @@ foreach w : warnings
|
||||
endif
|
||||
endforeach
|
||||
|
||||
-prog_python = import('python').find_installation('python3')
|
||||
+prog_python = 'python3'
|
||||
|
||||
libdrm_dep = dependency('libdrm', version : '>=2.4.50')
|
||||
thread_dep = dependency('threads')
|
||||
@@ -9,14 +9,15 @@ LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10"
|
||||
|
||||
DEPENDS = "libdrm mesa libepoxy"
|
||||
SRCREV = "48cc96c9aebb9d0164830a157efc8916f08f00c0"
|
||||
SRCREV = "66c57963aaf09a1c41056bd2a001da1d51957a14"
|
||||
SRC_URI = "git://anongit.freedesktop.org/virglrenderer \
|
||||
file://0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch \
|
||||
file://0001-meson.build-use-python3-directly-for-python.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user