extra/mesa to 21.3.5-1.1

This commit is contained in:
Kevin Mihelich 2022-01-28 15:16:44 +00:00
parent db814796ce
commit 8ec70e3294

View file

@ -14,7 +14,7 @@ pkgbase=mesa
pkgname=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-radeon' 'vulkan-swrast' 'vulkan-broadcom' 'vulkan-panfrost' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
pkgdesc="An open-source implementation of the OpenGL specification"
pkgver=21.3.5
pkgrel=1
pkgrel=1.1
arch=('x86_64')
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm'
@ -41,19 +41,15 @@ validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l
prepare() {
cd mesa-$pkgver
# FS#73501
patch -Np1 -i ../0001-iris-implement-inter-context-busy-tracking.patch
if [[ $CARCH != "aarch64" ]]; then
patch -p1 -i ../0001-Rip-out-VC4-forced-NEON.patch
CPPFLAGS+=" -DNO_FORMAT_ASM"
fi
}
prepare() {
cd mesa-$pkgver
# FS#73501
patch -Np1 -i ../0001-iris-implement-inter-context-busy-tracking.patch
}
build() {
case "${CARCH}" in
armv6h) GALLIUM=",vc4" ;;