meta-openembedded/meta-oe/recipes-graphics/renderdoc/renderdoc_1.6.bb
Wang Mingyu 61b4943ee7 renderdoc: upgrade 1.5 -> 1.6
-License-Update: Copyright year updated to 2020.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-02 22:46:06 -08:00

39 lines
1.2 KiB
BlitzBasic

SUMMARY = "RenderDoc recipe providing renderdoccmd"
DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger"
HOMEPAGE = "https://github.com/baldurk/renderdoc"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=df7ea9e196efc7014c124747a0ef9772"
SRCREV = "0e7f772596035137416be01766c2d61205efc63e"
SRC_URI = "git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \
file://0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch \
file://0001-Remove-glslang-pool_allocator-setAllocator.patch \
"
S = "${WORKDIR}/git"
DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native"
RDEPENDS_${PN} = "libxcb xcb-util-keysyms"
inherit cmake python3native features_check
REQUIRED_DISTRO_FEATURES = "x11 opengl"
python __anonymous () {
# only works on glibc systems
if d.getVar('TCLIBC') != "glibc":
raise bb.parse.SkipRecipe("incompatible with %s C library" % d.getVar('TCLIBC'))
}
COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
EXTRA_OECMAKE += "\
-DENABLE_QRENDERDOC=OFF \
-DENABLE_PYRENDERDOC=OFF \
-DENABLE_RENDERDOCCMD=ON \
-DCMAKE_BUILD_TYPE=Release \
"
FILES_${PN} += "${libdir}"
FILES_${PN}-dev = "${includedir}"