summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb')
-rw-r--r--meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb b/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb
new file mode 100644
index 0000000000..1c8a895504
--- /dev/null
+++ b/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb
@@ -0,0 +1,36 @@
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-LoaderAndValidationLayers"
8SECTION = "libs"
9
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99c647ca3d4f6a4b9d8628f757aad156 \
12 file://loader/loader.c;endline=25;md5=a87cd5442291c23d1fce4eece4cfde9d"
13SRC_URI = "git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git;branch=sdk-1.0.65 \
14 file://demos-Don-t-build-tri-or-cube.patch \
15 "
16SRCREV = "73486a1a169d862d5210e2ad520d95319a2383fa"
17UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
18
19S = "${WORKDIR}/git"
20
21REQUIRED_DISTRO_FEATURES = "vulkan"
22
23inherit cmake python3native lib_package distro_features_check
24ANY_OF_DISTRO_FEATURES = "x11 wayland"
25
26EXTRA_OECMAKE = "-DBUILD_WSI_MIR_SUPPORT=OFF \
27 -DBUILD_LAYERS=OFF \
28 -DBUILD_TESTS=OFF"
29
30# must choose x11 or wayland or both
31PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '' ,d)} \
32 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '' ,d)}"
33PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON -DDEMOS_WSI_SELECTION=XCB, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF -DDEMOS_WSI_SELECTION=WAYLAND, libxcb libx11 libxrandr"
34PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
35
36RRECOMMENDS_${PN} = "mesa-vulkan-drivers"