blob: 2ef12fedf84f34bad4e5ec38ad30c472c119bff6 [file] [log] [blame]
Patrick Williamsb58112e2024-03-07 11:16:36 -06001SUMMARY = "A meta-loader for Vulkan"
2DESCRIPTION = "Volk allows one to dynamically load entrypoints required \
3to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. \
4"
5HOMEPAGE = "https://www.khronos.org/vulkan/"
6BUGTRACKER = "https://github.com/zeux/volk"
7SECTION = "libs"
8
9LICENSE = "MIT"
Patrick Williams44b3caf2024-04-12 16:51:14 -050010LIC_FILES_CHKSUM = "file://LICENSE.md;md5=12e6af3a0e2a5e5dbf7796aa82b64626"
Patrick Williamsb58112e2024-03-07 11:16:36 -060011
12SRC_URI = "git://github.com/zeux/volk.git;branch=master;protocol=https"
Patrick Williams44b3caf2024-04-12 16:51:14 -050013SRCREV = "01986ac85fa2e5c70df09aeae9c907e27c5d50b2"
Patrick Williamsb58112e2024-03-07 11:16:36 -060014
15S = "${WORKDIR}/git"
16
17REQUIRED_DISTRO_FEATURES = "vulkan"
18
19DEPENDS = "vulkan-headers"
20
21EXTRA_OECMAKE = "\
22 -DVOLK_INSTALL=ON \
23 "
24
25inherit cmake features_check pkgconfig
26
27# These recipes need to be updated in lockstep with each other:
28# glslang, vulkan-headers, vulkan-loader, vulkan-tools,
29# vulkan-validation-layers, spirv-headers, spirv-tools,
30# vulkan-utility-libraries.
31# The tags versions should always be sdk-x.y.z, as this is what
32# upstream considers a release.
33UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
34
35do_install:append() {
36 sed -i -e 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/cmake/volk/volkTargets.cmake
37}