@@ -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>"
new file mode 100644
@@ -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
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