diff options
Diffstat (limited to 'meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb')
-rw-r--r-- | meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb new file mode 100644 index 0000000000..c5a0cdc6aa --- /dev/null +++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "RenderDoc recipe providing renderdoccmd" | ||
2 | DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger" | ||
3 | HOMEPAGE = "https://github.com/baldurk/renderdoc" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=963d134bd809d24547253120513346d3" | ||
6 | |||
7 | SRCREV = "34c3c40787f440da9c2947cd63a41e6c4d1f95b9" | ||
8 | SRC_URI = " \ | ||
9 | git://github.com/baldurk/${BPN}.git;protocol=https;branch=v1.x \ | ||
10 | " | ||
11 | |||
12 | DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms" | ||
13 | |||
14 | RDEPENDS:${PN} = "libxcb xcb-util-keysyms" | ||
15 | |||
16 | inherit cmake pkgconfig python3native features_check | ||
17 | |||
18 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
19 | |||
20 | python __anonymous () { | ||
21 | # only works on glibc systems | ||
22 | if d.getVar('TCLIBC') != "glibc": | ||
23 | raise bb.parse.SkipRecipe("incompatible with %s C library" % d.getVar('TCLIBC')) | ||
24 | } | ||
25 | |||
26 | COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux" | ||
27 | |||
28 | EXTRA_OECMAKE += "\ | ||
29 | -DENABLE_QRENDERDOC=OFF \ | ||
30 | -DENABLE_PYRENDERDOC=OFF \ | ||
31 | -DENABLE_RENDERDOCCMD=ON \ | ||
32 | -DCMAKE_BUILD_TYPE=Release \ | ||
33 | -DHOST_NATIVE_CPP_COMPILER="${BUILD_CXX}" \ | ||
34 | " | ||
35 | |||
36 | FILES:${PN} += "${libdir}" | ||
37 | FILES:${PN}-dev = "${includedir}" | ||