Skip to content

Commit

Permalink
Update PKGBUILD to 22.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
0cc4m committed Jun 11, 2022
1 parent c403e68 commit 08994b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions mesa-archlinux-arm/mesa/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ highmem=1
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.3
pkgver=22.1.0
pkgrel=1
arch=('x86_64')
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
Expand All @@ -27,7 +27,7 @@ options=('debug')
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
rockchip_ebc.patch
LICENSE)
sha512sums=('3982cd2fadca5349b2513885ed734c2422e3f2dced85f471f245b120ffaf018acafcd929dc5ec317f2c568bb5f619f5a3475d3a92495f766a2eefb225efcac14'
sha512sums=('a2a6f6f37d1e63aa5537a2bbdfd8634fafebf7e223099deb0fd96749d6d1880ea692231fe12eb06ade78a5eb483d11d6f9ef746e94fe3fd58b4381d469afa934'
'SKIP'
'5ab31c0fafee04b493835fc2908d50d3911d842b5f0156f7559ae04592ca87a7fe95f91ba9fb06881671818e118abed834fc68e2c472cff664f866ec014ebde7'
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7')
Expand Down Expand Up @@ -56,8 +56,10 @@ build() {
CXXFLAGS+=' -g1'

# https://gitlab.freedesktop.org/mesa/mesa/-/issues/6229
CFLAGS+=' -mtls-dialect=gnu'
CXXFLAGS+=' -mtls-dialect=gnu'
if [[ $CARCH != "aarch64" ]]; then
CFLAGS+=' -mtls-dialect=gnu'
CXXFLAGS+=' -mtls-dialect=gnu'
fi

arch-meson mesa-$pkgver build \
-D b_lto=$([[ $CARCH == aarch64 ]] && echo true || echo false) \
Expand Down

0 comments on commit 08994b6

Please sign in to comment.