blob: be5b6013f6f2be665e0ce43161464670734a0aa5 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "RenderDoc recipe providing renderdoccmd"
2DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger"
3HOMEPAGE = "https://github.com/baldurk/renderdoc"
4LICENSE = "MIT"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07005LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5486c0df458c74c85828e0cdbffd499e"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07007SRCREV = "cc05b288b6d1660ab04c6cf01173f1bb62e6f5dd"
8SRC_URI = " \
9 git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \
10 file://0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050011"
12S = "${WORKDIR}/git"
13
14DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native"
15
Patrick Williams213cb262021-08-07 19:21:33 -050016RDEPENDS:${PN} = "libxcb xcb-util-keysyms"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
Andrew Geissler5199d832021-09-24 16:47:35 -050018inherit cmake pkgconfig python3native features_check
Andrew Geissler82c905d2020-04-13 13:39:40 -050019
20REQUIRED_DISTRO_FEATURES = "x11 opengl"
21
22python __anonymous () {
23 # only works on glibc systems
24 if d.getVar('TCLIBC') != "glibc":
25 raise bb.parse.SkipRecipe("incompatible with %s C library" % d.getVar('TCLIBC'))
26}
27
28COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
29
30EXTRA_OECMAKE += "\
31 -DENABLE_QRENDERDOC=OFF \
32 -DENABLE_PYRENDERDOC=OFF \
33 -DENABLE_RENDERDOCCMD=ON \
34 -DCMAKE_BUILD_TYPE=Release \
35"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037FILES:${PN} += "${libdir}"
38FILES:${PN}-dev = "${includedir}"