Skip to content

Commit

Permalink
Update mesa PKGBUILD to 22.0.2-1
Browse files Browse the repository at this point in the history
  • Loading branch information
0cc4m committed May 10, 2022
1 parent f620894 commit 19b7fb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The origin of the PKGBUILD is the [Arch Linux for ARM PKGBUILD Repository](https
You need to enable the GPU in the kernel device tree first. [Here](https://github.com/DorianRudolph/pinenotes#gpu) is information on how to do that. No u-boot modifications were necessary in my case.

### Pre-built packages
* [Mesa 22.0.2-1-aarch64](mesa-archlinux-arm/pkgs/mesa-22.0.2-1-aarch64.tar)
* [Mesa 22.0.1-3-aarch64](mesa-archlinux-arm/pkgs/mesa-22.0.1-3-aarch64.tar)
* [Mesa 22.0.0-1.1-aarch64](mesa-archlinux-arm/pkgs/mesa-22.0.0-1.1-aarch64.tar)
* [Mesa 22.0.0-1-aarch64](mesa-archlinux-arm/pkgs/mesa-22.0.0-1-aarch64.tar)
Expand Down
11 changes: 4 additions & 7 deletions mesa-archlinux-arm/mesa/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ 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.1
pkgrel=3
pkgver=22.0.2
pkgrel=1
arch=('x86_64')
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm'
Expand All @@ -25,12 +25,10 @@ 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
rockchip_ebc.patch
LICENSE)
sha512sums=('cc8012b8f3fcbecfbb153d0e009e6522c3776023501da8499c06f1eaa9ab0a555ca597e16e4d7a2b954b05c8c0737ae6567e0d8549fb63aa86ae587eb31cd01e'
sha512sums=('939ddf9acd280e1b20b3540349b3ad07bbeee5d821198f1d667e86634449bf5d0a0df5832753b8b3f8816709c2f02959cce25f3d26a33cc758dd8e25d158ddb8'
'SKIP'
'9178bbe145ba2d8b5ef5cb3fcfc63b90aff47ec45bed075d2af27b2c42d1e38e16f1c5a712b7ab3788038170bd4c4cacd5cdb9ad578a0275fc54621dd9356ce6'
'5ab31c0fafee04b493835fc2908d50d3911d842b5f0156f7559ae04592ca87a7fe95f91ba9fb06881671818e118abed834fc68e2c472cff664f866ec014ebde7'
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
Expand All @@ -42,8 +40,6 @@ validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l

prepare() {
cd mesa-$pkgver
# Add patch to fix rendering on Panfrost
patch -Np1 -i "${srcdir}/15365.patch"

# Add rockchip_ebc support
patch -Np1 -i "${srcdir}/rockchip_ebc.patch"
Expand Down Expand Up @@ -147,6 +143,7 @@ package_vulkan-radeon() {
optdepends=('vulkan-mesa-layers: additional vulkan layers')
provides=('vulkan-driver')

# _install fakeinstall/usr/share/drirc.d/00-radv-defaults.conf
_install fakeinstall/usr/share/vulkan/icd.d/radeon_icd*.json
_install fakeinstall/usr/lib/libvulkan_radeon.so

Expand Down

0 comments on commit 19b7fb6

Please sign in to comment.