31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'renderdoc'
|
|
pkgname=renderdoc
|
|
version=1.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DENABLE_GL=ON -DENABLE_GLES=ON -DENABLE_QRENDERDOC=ON
|
|
-DENABLE_RENDERDOCCMD=ON -DENABLE_VULKAN=ON -DENABLE_XCB=ON -DENABLE_XLIB=ON
|
|
-DENABLE_PYRENDERDOC=ON"
|
|
hostmakedepends="bison autoconf automake pkg-config python3"
|
|
makedepends="libX11-devel libxcb-devel xcb-util-keysyms-devel libGL qt5-devel
|
|
qt5-svg-devel qt5-x11extras-devel pcre-devel python3-devel"
|
|
short_desc="Stand-alone graphics debugging tool for Vulkan and OpenGL"
|
|
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
|
|
license="MIT"
|
|
homepage="https://github.com/baldurk/renderdoc"
|
|
distfiles="https://github.com/baldurk/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=5050be7eea5f5721f530ad3d58ac80b3d47e1b81347e6551e4281bd06cf97a3a
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) broken="This package uses execnfo.h which is not available on musl"
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
broken="Cross-compilation can't find python3 interpreter"
|
|
fi
|
|
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
}
|