-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
14 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*\~ | ||
*.zst | ||
*.xz | ||
*.sig | ||
mesa-archlinux-arm/mesa/pkg/ | ||
mesa-archlinux-arm/mesa/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,35 +5,28 @@ | |
# Contributor: Dan Johansen <[email protected]> | ||
|
||
# ALARM: Kevin Mihelich <[email protected]> | ||
# - Removed DRI and Gallium3D drivers/packages for chipsets that don't exist in our ARM devices (intel, VMware svga). | ||
# - Removed 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 | ||
|
||
# pinenote: added patch to enable rockchip_ebc eink display driver support | ||
|
||
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=21.3.7 | ||
pkgrel=2 | ||
arch=('aarch64') | ||
pkgver=22.0.0 | ||
pkgrel=1 | ||
arch=('x86_64') | ||
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm' | ||
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm' | ||
'libomxil-bellagio' 'libclc' 'clang' 'libglvnd' 'libunwind' 'lm_sensors' 'libxrandr' | ||
'valgrind' 'glslang' 'vulkan-icd-loader' 'directx-headers' 'cmake' 'meson') | ||
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 | ||
rockchip_ebc.patch | ||
LICENSE) | ||
sha512sums=('0991543e9435457fa4d077517408b3f197be32ed61a6c7ca34ddb3906eed208791f1a57227f74115f99df18e612efab1d2c6809b7cf426d273633b53d4aefc88' | ||
sha512sums=('9faef66adbacba24d11dfe8e2d1a753295798883a10a7cc91e6df9d678c64a8286a12e60c0d8576d944a8cc76f00c30d27c3a71d3458bbe3dbcd66c88a454c3b' | ||
'SKIP' | ||
'591e63fee09467d5de3e5c882d0ce49785eda7975833f9bd81486b232cd1dc79ad6492f3dac813f509d47cd74eaaf4e8024041840e344a08923128023add6d08' | ||
'5ab31c0fafee04b493835fc2908d50d3911d842b5f0156f7559ae04592ca87a7fe95f91ba9fb06881671818e118abed834fc68e2c472cff664f866ec014ebde7' | ||
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7') | ||
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <[email protected]> | ||
'946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <[email protected]> | ||
|
@@ -44,8 +37,8 @@ validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l | |
|
||
prepare() { | ||
cd mesa-$pkgver | ||
# Fix XWayland issues on Panfrost devices | ||
patch -Np1 -i "${srcdir}/15120.patch" | ||
|
||
# Add rockchip_ebc support | ||
patch -Np1 -i "${srcdir}/rockchip_ebc.patch" | ||
} | ||
|
||
|
@@ -59,7 +52,6 @@ build() { | |
-D b_lto=$([[ $CARCH == aarch64 ]] && echo true || echo false) \ | ||
-D b_ndebug=true \ | ||
-D platforms=x11,wayland \ | ||
-D dri-drivers=r100,r200,nouveau \ | ||
-D gallium-drivers=r300,r600,radeonsi,freedreno,nouveau,swrast,virgl,zink,d3d12${GALLIUM} \ | ||
-D vulkan-drivers=amd,swrast,broadcom,panfrost \ | ||
-D vulkan-layers=device-select,overlay \ | ||
|