PKGNAME=renderdoc
PKGSEC=devel
PKGDEP="qt-5 mesa desktop-file-utils pyside2"
BUILDDEP="python-3 swig"
PKGDES="Stand-alone graphics API debugging tool for Vulkan and OpenGL"

CMAKE_AFTER="-DBUILD_VERSION_STABLE=ON \
             -DPYSIDE2_PACKAGE_INIT_PY=/usr/lib/python${ABPY3VER}/site-packages/PySide2/__init__.py"
FAIL_ARCH="!(amd64|arm64|ppc64el|loongarch64|loongarch64_nosimd|riscv64)"
# FIXME: LTO breaks binary
NOLTO=1
