summaryrefslogtreecommitdiffstats
path: root/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb')
-rw-r--r--recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb
new file mode 100644
index 000000000..f5fe8523d
--- /dev/null
+++ b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Vulkan Utilities and Tools"
2DESCRIPTION = "Assist development by enabling developers to verify their applications correct use of the Vulkan API."
3HOMEPAGE = "https://www.khronos.org/vulkan/"
4BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Tools"
5SECTION = "libs"
6
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
9SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https"
10SRCREV = "c86d42cf9eb620eeac377e3bff46ae342c5cd664"
11
12inherit cmake features_check pkgconfig
13ANY_OF_DISTRO_FEATURES = "x11 wayland"
14REQUIRED_DISTRO_FEATURES = "vulkan"
15
16DEPENDS += "vulkan-headers vulkan-loader vulkan-volk"
17
18EXTRA_OECMAKE = "\
19 -DBUILD_TESTS=OFF \
20 -DBUILD_CUBE=OFF \
21 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
22 "
23
24# must choose x11 or wayland or both
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
26
27PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
28PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
29
30# These recipes need to be updated in lockstep with each other:
31# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools
32# vulkan-validation-layers, vulkan-utility-libraries.
33# The tags versions should always be sdk-x.y.z, as this is what
34# upstream considers a release.
35UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"