mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
cb37559414
(From OE-Core rev: 3b8b270d6544a92a0ce33a17e78f2f85928dfdd7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.2 KiB
BlitzBasic
38 lines
1.2 KiB
BlitzBasic
SUMMARY = "A meta-loader for Vulkan"
|
|
DESCRIPTION = "Volk allows one to dynamically load entrypoints required \
|
|
to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. \
|
|
"
|
|
HOMEPAGE = "https://www.khronos.org/vulkan/"
|
|
BUGTRACKER = "https://github.com/zeux/volk"
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=12e6af3a0e2a5e5dbf7796aa82b64626"
|
|
|
|
SRC_URI = "git://github.com/zeux/volk.git;branch=master;protocol=https"
|
|
SRCREV = "466085407d5d2f50583fd663c1d65f93a7709d3e"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
REQUIRED_DISTRO_FEATURES = "vulkan"
|
|
|
|
DEPENDS = "vulkan-headers"
|
|
|
|
EXTRA_OECMAKE = "\
|
|
-DVOLK_INSTALL=ON \
|
|
"
|
|
|
|
inherit cmake features_check pkgconfig
|
|
|
|
# These recipes need to be updated in lockstep with each other:
|
|
# glslang, vulkan-headers, vulkan-loader, vulkan-tools,
|
|
# vulkan-validation-layers, spirv-headers, spirv-tools,
|
|
# vulkan-utility-libraries, vulkan-volk.
|
|
# The tags versions should always be sdk-x.y.z, as this is what
|
|
# upstream considers a release.
|
|
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
|
|
|
|
do_install:append() {
|
|
sed -i -e 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/cmake/volk/volkTargets.cmake
|
|
}
|