summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-11-07 15:55:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-08 22:47:17 +0000
commit445d2b967e621dd2d395c56a628cc68286213a06 (patch)
tree398124e9dcc3741349f9b84540fcadbfd43a71c5 /meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb
parentae6305aa989a4b81b27545b72a6339da3fc9a2da (diff)
downloadpoky-445d2b967e621dd2d395c56a628cc68286213a06.tar.gz
vulkan: upgrade 1.3.224.1 -> 1.3.231.1
Update 0001-generate-glslang-pkg-config.patch to omit libraries that are no longer present (their functionality has been folded into glslang library itself). (From OE-Core rev: 354f1c4013f3b7ee78d6f4ed6209d6b549184057) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb')
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb
new file mode 100644
index 0000000000..59c52c1db7
--- /dev/null
+++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb
@@ -0,0 +1,40 @@
1SUMMARY = "3D graphics and compute API common loader"
2DESCRIPTION = "Vulkan is a new generation graphics and compute API \
3that provides efficient access to modern GPUs. These packages \
4provide only the common vendor-agnostic library loader, headers and \
5the vulkaninfo utility."
6HOMEPAGE = "https://www.khronos.org/vulkan/"
7BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Loader"
8SECTION = "libs"
9
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac"
12SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=sdk-1.3.231;protocol=https"
13SRCREV = "eedbf08292a6be19c3527e77ae2df3f209cab285"
14
15S = "${WORKDIR}/git"
16
17REQUIRED_DISTRO_FEATURES = "vulkan"
18
19inherit cmake features_check pkgconfig
20ANY_OF_DISTRO_FEATURES = "x11 wayland"
21
22DEPENDS += "vulkan-headers"
23
24EXTRA_OECMAKE = "\
25 -DBUILD_TESTS=OFF \
26 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
27 -DASSEMBLER_WORKS=FALSE \
28 -DVulkanHeaders_INCLUDE_DIR=${STAGING_INCDIR} \
29 -DVulkanRegistry_DIR=${RECIPE_SYSROOT}/${datadir} \
30 "
31
32# must choose x11 or wayland or both
33PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
34
35PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
36PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
37
38RRECOMMENDS:${PN} = "mesa-vulkan-drivers"
39
40UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"