extra/mesa: Add patch to fix xwayland on panfrost

See this MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15120
And this issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5758

Unlikely to be merged into 21.3 branch

Signed-off-by: Dan Johansen <strit@manjaro.org>
This commit is contained in:
Dan Johansen 2022-02-22 21:57:39 +01:00 committed by Kevin Mihelich
parent 79019b8dac
commit 33ddc07f1f

View file

@ -8,6 +8,7 @@
# - Removed DRI and Gallium3D drivers/packages for chipsets that don't exist in our ARM devices (intel, VMware svga).
# - added broadcom and panfrost vulkan packages
# - enable lto for aarch64
# - add patch to fix xwayland on panfrost
highmem=1
@ -15,7 +16,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.6
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'
@ -24,9 +25,11 @@ makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence
url="https://www.mesa3d.org/"
license=('custom')
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15120.patch
LICENSE)
sha512sums=('8c930e04eade29f689384ee7d6e2f178acbbf30fa6c9fdf132281279658c3c221ec7f9b1318e3c0a654c6136f925a5c0a35eaf849b65db7674641127c71e8a4f'
'SKIP'
'854b127a28c47d481f2ad6c50b39dc4beda01e33c2b5862fd6a9b5d23c7f76a37b012bc0b1cd14edb5164d8c6fd04989ac9d8c939d8b1889e7b9c003e8c3c439'
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
'946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <tanty@igalia.com>
@ -37,7 +40,8 @@ validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l
prepare() {
cd mesa-$pkgver
# Fix XWayland issues on Panfrost devices
patch -Np1 -i "${srcdir}/15120.patch"
}
build() {