Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 1 | SUMMARY = "A meta-loader for Vulkan" |
| 2 | DESCRIPTION = "Volk allows one to dynamically load entrypoints required \ |
| 3 | to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. \ |
| 4 | " |
| 5 | HOMEPAGE = "https://www.khronos.org/vulkan/" |
| 6 | BUGTRACKER = "https://github.com/zeux/volk" |
| 7 | SECTION = "libs" |
| 8 | |
| 9 | LICENSE = "MIT" |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 10 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=12e6af3a0e2a5e5dbf7796aa82b64626" |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 11 | |
| 12 | SRC_URI = "git://github.com/zeux/volk.git;branch=master;protocol=https" |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 13 | SRCREV = "01986ac85fa2e5c70df09aeae9c907e27c5d50b2" |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 18 | |
| 19 | DEPENDS = "vulkan-headers" |
| 20 | |
| 21 | EXTRA_OECMAKE = "\ |
| 22 | -DVOLK_INSTALL=ON \ |
| 23 | " |
| 24 | |
| 25 | inherit 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. |
| 33 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
| 34 | |
| 35 | do_install:append() { |
| 36 | sed -i -e 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/cmake/volk/volkTargets.cmake |
| 37 | } |