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=vulkan-sdk-1.3.296;protocol=https" 10SRCREV = "74dd90abd69f813220b572e1d89c17bc7784972d" 11 12S = "${WORKDIR}/git" 13 14inherit cmake features_check pkgconfig 15ANY_OF_DISTRO_FEATURES = "x11 wayland" 16REQUIRED_DISTRO_FEATURES = "vulkan" 17 18DEPENDS += "vulkan-headers vulkan-loader vulkan-volk" 19 20EXTRA_OECMAKE = "\ 21 -DBUILD_TESTS=OFF \ 22 -DBUILD_CUBE=OFF \ 23 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ 24 " 25 26# must choose x11 or wayland or both 27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" 28 29PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" 30PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" 31 32# These recipes need to be updated in lockstep with each other: 33# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools 34# vulkan-validation-layers, vulkan-utility-libraries, vulkan-volk. 35# The tags versions should always be sdk-x.y.z, as this is what 36# upstream considers a release. 37UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" 38