diff options
Diffstat (limited to 'meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb')
| -rw-r--r-- | meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb new file mode 100644 index 0000000000..b6e0c92f6d --- /dev/null +++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 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=9753b1b4fba3261c27d1ce5c1acef667" | ||
| 6 | |||
| 7 | SRCREV = "214d85228538e71cc63a0d7fa11dd75b1d56cc81" | ||
| 8 | SRC_URI = "git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \ | ||
| 9 | file://0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch \ | ||
| 10 | " | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native" | ||
| 14 | |||
| 15 | RDEPENDS_${PN} = "libxcb xcb-util-keysyms" | ||
| 16 | |||
| 17 | inherit cmake python3native | ||
| 18 | |||
| 19 | python __anonymous () { | ||
| 20 | # only works on glibc systems | ||
| 21 | if d.getVar('TCLIBC') != "glibc": | ||
| 22 | raise bb.parse.SkipRecipe("incompatible with %s C library" % d.getVar('TCLIBC')) | ||
| 23 | } | ||
| 24 | |||
| 25 | COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux" | ||
| 26 | |||
| 27 | EXTRA_OECMAKE += "\ | ||
| 28 | -DENABLE_QRENDERDOC=OFF \ | ||
| 29 | -DENABLE_PYRENDERDOC=OFF \ | ||
| 30 | -DENABLE_RENDERDOCCMD=ON \ | ||
| 31 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 32 | " | ||
| 33 | |||
| 34 | FILES_${PN} += "${libdir}" | ||
| 35 | FILES_${PN}-dev = "${includedir}" | ||
