1SUMMARY = "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" 10LIC_FILES_CHKSUM = "file://LICENSE.md;md5=12e6af3a0e2a5e5dbf7796aa82b64626" 11 12SRC_URI = "git://github.com/zeux/volk.git;branch=master;protocol=https" 13SRCREV = "3a8068a57417940cf2bf9d837a7bb60d015ca2f1" 14 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, vulkan-volk. 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} 38