1*edff4923SAndrew GeisslerSUMMARY = "A meta-loader for Vulkan" 2*edff4923SAndrew GeisslerDESCRIPTION = "Volk allows one to dynamically load entrypoints required \ 3*edff4923SAndrew Geisslerto use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. \ 4*edff4923SAndrew Geissler" 5*edff4923SAndrew GeisslerHOMEPAGE = "https://www.khronos.org/vulkan/" 6*edff4923SAndrew GeisslerBUGTRACKER = "https://github.com/zeux/volk" 7*edff4923SAndrew GeisslerSECTION = "libs" 8*edff4923SAndrew Geissler 9*edff4923SAndrew GeisslerLICENSE = "MIT" 10*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://LICENSE.md;md5=12e6af3a0e2a5e5dbf7796aa82b64626" 11*edff4923SAndrew Geissler 12*edff4923SAndrew GeisslerSRC_URI = "git://github.com/zeux/volk.git;branch=master;protocol=https" 13*edff4923SAndrew GeisslerSRCREV = "3a8068a57417940cf2bf9d837a7bb60d015ca2f1" 14*edff4923SAndrew Geissler 15*edff4923SAndrew GeisslerS = "${WORKDIR}/git" 16*edff4923SAndrew Geissler 17*edff4923SAndrew GeisslerREQUIRED_DISTRO_FEATURES = "vulkan" 18*edff4923SAndrew Geissler 19*edff4923SAndrew GeisslerDEPENDS = "vulkan-headers" 20*edff4923SAndrew Geissler 21*edff4923SAndrew GeisslerEXTRA_OECMAKE = "\ 22*edff4923SAndrew Geissler -DVOLK_INSTALL=ON \ 23*edff4923SAndrew Geissler " 24*edff4923SAndrew Geissler 25*edff4923SAndrew Geisslerinherit cmake features_check pkgconfig 26*edff4923SAndrew Geissler 27*edff4923SAndrew Geissler# These recipes need to be updated in lockstep with each other: 28*edff4923SAndrew Geissler# glslang, vulkan-headers, vulkan-loader, vulkan-tools, 29*edff4923SAndrew Geissler# vulkan-validation-layers, spirv-headers, spirv-tools, 30*edff4923SAndrew Geissler# vulkan-utility-libraries, vulkan-volk. 31*edff4923SAndrew Geissler# The tags versions should always be sdk-x.y.z, as this is what 32*edff4923SAndrew Geissler# upstream considers a release. 33*edff4923SAndrew GeisslerUPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" 34*edff4923SAndrew Geissler 35*edff4923SAndrew Geisslerdo_install:append() { 36*edff4923SAndrew Geissler sed -i -e 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/cmake/volk/volkTargets.cmake 37*edff4923SAndrew Geissler} 38