diff mbox series

[1/2] venus-protocol: add recipe

Message ID 20261127154652.253316-2-ddrake@baylibre.com
State New
Headers show
Series mesa: upgrade 26.2.4 -> 26.3.1 | expand

Commit Message

Daniel Drake Nov. 27, 2026, 3:46 p.m. UTC
Venus is the protocol used by the Mesa Venus Vulkan driver (virtio-gpu)
to serialize Vulkan commands to the host renderer. As of Mesa-26.3,
these protocol headers have been moved into their own external package.

Add a recipe which installs the generated headers and pkg-config file.

Signed-off-by: Daniel Drake <ddrake@baylibre.com>
---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../mesa/venus-protocol_1.1.3.bb              | 20 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb
diff mbox series

Patch

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 62de04001e..7fbd8eafde 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -873,6 +873,7 @@  RECIPE_MAINTAINER:pn-util-macros = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-v86d = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-vala = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-valgrind = "Venkata Adhitya Navuduri <venkata.navuduri@windriver.com>"
+RECIPE_MAINTAINER:pn-venus-protocol = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-vim = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-vim-tiny = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-virglrenderer = "Unassigned <unassigned@yoctoproject.org>"
diff --git a/meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb b/meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb
new file mode 100644
index 0000000000..e7701a76f6
--- /dev/null
+++ b/meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb
@@ -0,0 +1,20 @@ 
+SUMMARY = "Venus protocol headers for Vulkan over virtio-gpu"
+DESCRIPTION = "Venus is the protocol used to serialize Vulkan commands \
+between a guest Vulkan driver and a host renderer over virtio-gpu. This \
+package provides the C headers generated from the protocol definition, \
+which are used to build the Mesa Venus Vulkan driver."
+HOMEPAGE = "https://gitlab.freedesktop.org/virgl/venus-protocol"
+BUGTRACKER = "https://gitlab.freedesktop.org/virgl/venus-protocol/-/issues"
+SECTION = "graphics"
+
+LICENSE = "MIT AND (Apache-2.0 OR MIT)"
+# Use meson.build for MIT license checksum temporarily; future releases will include a LICENSE file.
+LIC_FILES_CHKSUM = "file://meson.build;beginline=1;endline=2;md5=7e736041c5167e57165490a93689761e \
+                    file://xmls/vk.xml;beginline=4;endline=5;md5=6784716613b13820761ca251591ef4e1"
+
+SRC_URI = "git://gitlab.freedesktop.org/virgl/venus-protocol.git;protocol=https;branch=main;tag=v${PV}"
+SRCREV = "ca19b6358d7cc491bc3e4de76f04c6700876a8fa"
+
+DEPENDS = "python3-mako-native"
+
+inherit meson pkgconfig python3native