# Maintainer: SovietReimu1228 pkgname=mesa-rusticl-git pkgdesc="An open-source implementation of the OpenGL specification, with Rusticl" pkgver=22.3.0_devel.159832.025c2e964d9.d41d8cd98f00b204e9800998ecf8427e pkgrel=1 arch=('x86_64') makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm' 'libomxil-bellagio' 'libclc' 'clang' 'libglvnd' 'libunwind' 'lm_sensors' 'libxrandr' 'valgrind' 'glslang' 'vulkan-icd-loader' 'cmake' 'meson' 'rust' 'rust-bindgen' 'directx-headers-git') depends=('libdrm' 'libxcb' 'wayland' 'python' 'libclc' 'clang' 'libx11' 'libxshmfence' 'zstd' 'libelf' 'llvm-libs' 'expat' 'libxxf86vm' 'libxdamage' 'libomxil-bellagio' 'libunwind' 'lm_sensors' 'libglvnd' 'vulkan-icd-loader' 'spirv-llvm-translator' 'spirv-tools') optdepends=('opencl-headers: headers necessary for OpenCL development' 'opengl-man-pages: for the OpenGL API man pages' 'compiler-rt: opencl') provides=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-swrast' 'libva-mesa-driver' 'mesa-vdpau' 'mesa' 'opencl-driver' 'vulkan-driver' 'mesa-libgl' 'opengl-driver') conflicts=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-swrast' 'libva-mesa-driver' 'mesa-vdpau' 'mesa' 'vulkan-mesa-layer' 'vulkan-mesa' 'mesa-libgl') url="https://www.mesa3d.org" license=('custom') source=('mesa::git+https://gitlab.freedesktop.org/karolherbst/mesa.git#branch=rusticl/reduce_launch_overhead' 'LICENSE' # 'eglapi_hack.patch' ) md5sums=('SKIP' '5c65a0fe315dd347e09b1f2826a1df5a' # '83448b54dfea2e53891476fe3d6657e3' ) sha512sums=('SKIP' '25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2' # '2cf8ef08c5ac02e5a795c37a67a12547ab752620b2c2a3f34ff53195f50e1758ebc8004f0b356d99255f2c9af19815e6ac61d66aaebecebe5d1d00578d1f412d' ) # NINJAFLAGS is an env var used to pass commandline options to ninja # NOTE: It's your responbility to validate the value of $NINJAFLAGS. If unsure, don't set it. pkgver() { cd mesa local _ver read -r _ver