50 lines
2.0 KiB
Bash
50 lines
2.0 KiB
Bash
# Template file for 'renderdoc'
|
|
pkgname=renderdoc
|
|
version=1.21
|
|
revision=3
|
|
_plt_ver=dbadbe14d601913b81a4a7533b284b6ccd7351d8
|
|
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
|
|
-DBUILD_VERSION_STABLE=ON -DBUILD_VERSION_DIST_NAME=VoidLinux
|
|
-DBUILD_VERSION_DIST_CONTACT=https://voidlinux.org
|
|
-DRENDERDOC_SWIG_PACKAGE=file://${XBPS_SRCDISTDIR}/${pkgname}-${version}/renderdoc-modified-7.zip
|
|
-DENABLE_PYRENDERDOC=ON"
|
|
hostmakedepends="bison autoconf automake pkg-config python3"
|
|
makedepends="libX11-devel libxcb-devel xcb-util-keysyms-devel qt5-devel
|
|
libzstd-devel liblz4-devel pugixml-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
|
|
https://raw.githubusercontent.com/kubo/plthook/${_plt_ver}/plthook.h
|
|
https://raw.githubusercontent.com/kubo/plthook/${_plt_ver}/plthook_elf.c
|
|
https://github.com/baldurk/swig/archive/renderdoc-modified-7.zip
|
|
"
|
|
checksum="7c12546857ffd4521a859f45161224b0f89aa6f951cfbca2bfbe22db9c2f95a6
|
|
2a30a118858ba1d5753f365a375cc93020012a35e3f596dcdb490ad70519cdb5
|
|
68c858dcb829e07bb60d47fbb962b240797dd82960a53c25ac69513e90aff6fa
|
|
9d7e5013ada6c42ec95ab167a34db52c1cc8c09b89c8e9373631b1f10596c648"
|
|
|
|
skip_extraction="plthook.h plthook_elf.c renderdoc-modified-7.zip"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends+=" libexecinfo-devel"
|
|
configure_args+=" -DNEED_LIBEXECINFO=ON"
|
|
# broken="uses RTLD_DL_LINKMAP, RTLD_DEEPBIND, _r_debug"
|
|
fi
|
|
|
|
nocross="Cross-compilation can't find python3 interpreter"
|
|
|
|
post_extract() {
|
|
vsrccopy plthook.h renderdoc/3rdparty/plthook
|
|
vsrccopy plthook_elf.c renderdoc/3rdparty/plthook
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
vlicense docs/credits_acknowledgements.rst
|
|
}
|