diff options
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.bb | 35 |
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 @@ | |||
1 | SUMMARY = "Vulkan Utilities and Tools" | ||
2 | DESCRIPTION = "Assist development by enabling developers to verify their applications correct use of the Vulkan API." | ||
3 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
4 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Tools" | ||
5 | SECTION = "libs" | ||
6 | |||
7 | LICENSE = "Apache-2.0" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" | ||
10 | SRCREV = "c86d42cf9eb620eeac377e3bff46ae342c5cd664" | ||
11 | |||
12 | inherit cmake features_check pkgconfig | ||
13 | ANY_OF_DISTRO_FEATURES = "x11 wayland" | ||
14 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
15 | |||
16 | DEPENDS += "vulkan-headers vulkan-loader vulkan-volk" | ||
17 | |||
18 | EXTRA_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 | ||
25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
26 | |||
27 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" | ||
28 | PACKAGECONFIG[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. | ||
35 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||