1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 12:15:22 +03:00
aports/community/renderdoc/APKBUILD
2025-03-05 20:17:54 +00:00

54 lines
1.5 KiB
Text

# Contributor: Simon Zeni <simon@bl4ckb0ne.ca>
# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
pkgname=renderdoc
pkgver=1.37
pkgrel=0
pkgdesc="Stand-alone graphics debugging tool for Vulkan and OpenGL"
url="https://renderdoc.org/"
# limited by vendored plthook version
arch="all !s390x !ppc64le !riscv64 !loongarch64"
license="MIT"
makedepends="
autoconf
automake
bison
cmake
flex
libx11-dev
libxcb-dev
pcre-dev
python3-dev
qt5-qtbase-dev
qt5-qtsvg-dev
qt5-qtx11extras-dev
samurai
wayland-dev
xcb-util-keysyms-dev
"
options="!check net" # no tests
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/baldurk/renderdoc/archive/refs/tags/v$pkgver.tar.gz
musl-fix.patch
no-execinfo.patch
"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DVULKAN_LAYER_FOLDER="/usr/share/vulkan/implicit_layer.d" \
-DENABLE_WAYLAND=ON \
-DBUILD_VERSION_STABLE=ON \
-DQMAKE_QT5_COMMAND="qmake-qt5"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
34f435575c311b46c6cafa719b4a1c509a6420397e08e97c150fc46bb207da1476d085dcaffee8413726ab4d35ae77ef7f5089a16c5e2718a8cc54fd6b52fd32 renderdoc-1.37.tar.gz
3c3e77deac500f40c0f277c0806410124a1f086376bf78bc979b86c8f3180f0d07ec35552478cd3dec591c5163f3af50942d1f9771995afc4b7d30961d79766b musl-fix.patch
09f1c1230d855b388aacaca73e7ec8a4cde9abcb349af88c49d5763eff815ada10aa485b79636d06bb33b4f42f9099042dfede180538ea8549317da2e88c54f2 no-execinfo.patch
"