diff options
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-tools_1.1.126.0.bb')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-tools_1.1.126.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.1.126.0.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.1.126.0.bb new file mode 100644 index 0000000000..2fd61c989a --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.1.126.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Vulkan Utilities and Tools" | ||
2 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
3 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Tools" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "Apache-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
8 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=sdk-1.1.126" | ||
9 | SRCREV = "09695dfc5dbe54f869aeaff8db93bb7bb6a220e0" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit cmake features_check | ||
14 | ANY_OF_DISTRO_FEATURES = "x11 wayland" | ||
15 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
16 | |||
17 | DEPENDS += "vulkan-headers vulkan-loader" | ||
18 | |||
19 | EXTRA_OECMAKE = "\ | ||
20 | -DBUILD_TESTS=OFF \ | ||
21 | -DBUILD_CUBE=OFF \ | ||
22 | -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ | ||
23 | " | ||
24 | |||
25 | # must choose x11 or wayland or both | ||
26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
27 | |||
28 | 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" | ||
29 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | ||
30 | |||
31 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||