mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/mesa to 22.0.0-3
This commit is contained in:
parent
c57e72ad36
commit
bf5e1b3aba
1 changed files with 10 additions and 1 deletions
|
@ -15,7 +15,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=22.0.0
|
||||
pkgrel=1.1
|
||||
pkgrel=3
|
||||
arch=('x86_64')
|
||||
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
|
||||
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm'
|
||||
|
@ -23,6 +23,7 @@ makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence
|
|||
'valgrind' 'glslang' 'vulkan-icd-loader' 'directx-headers' 'cmake' 'meson')
|
||||
url="https://www.mesa3d.org/"
|
||||
license=('custom')
|
||||
options=('debug')
|
||||
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
|
||||
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15365.patch
|
||||
LICENSE)
|
||||
|
@ -49,6 +50,14 @@ build() {
|
|||
aarch64) GALLIUM=",etnaviv,kmsro,lima,panfrost,v3d,vc4" ;;
|
||||
esac
|
||||
|
||||
# Build only minimal debug info to reduce size
|
||||
CFLAGS+=' -g1'
|
||||
CXXFLAGS+=' -g1'
|
||||
|
||||
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/6229
|
||||
CFLAGS+=' -mtls-dialect=gnu'
|
||||
CXXFLAGS+=' -mtls-dialect=gnu'
|
||||
|
||||
arch-meson mesa-$pkgver build \
|
||||
-D b_lto=$([[ $CARCH == aarch64 ]] && echo true || echo false) \
|
||||
-D b_ndebug=true \
|
||||
|
|
Loading…
Reference in a new issue