blob: 10fa0fdb3adcc295fccb042627ffa3360736278a [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Vulkan Utilities and Tools"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "Assist development by enabling developers to verify their applications correct use of the Vulkan API."
Andrew Geissler82c905d2020-04-13 13:39:40 -05003HOMEPAGE = "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"
William A. Kennington IIIac69b482021-06-02 12:28:27 -07009SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=sdk-1.2.176"
10SRCREV = "eb3d67bd17ee433e2b0a8e56a7249bd83908812e"
Andrew Geissler82c905d2020-04-13 13:39:40 -050011
12S = "${WORKDIR}/git"
13
14inherit cmake features_check
15ANY_OF_DISTRO_FEATURES = "x11 wayland"
16REQUIRED_DISTRO_FEATURES = "vulkan"
17
18DEPENDS += "vulkan-headers vulkan-loader"
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
32UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"