* update mesa to 1:23.1.6-2
This commit is contained in:
parent
882a4c329a
commit
0b428f7f8f
@ -20,7 +20,8 @@ case "${CARCH}" in
|
||||
x86_64) pkgname+=('vulkan-intel') ;;
|
||||
esac
|
||||
pkgver=23.1.6
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
pkgdesc="An open-source implementation of the OpenGL specification"
|
||||
url="https://www.mesa3d.org/"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
@ -42,12 +43,15 @@ makedepends=(
|
||||
'libxxf86vm'
|
||||
'llvm'
|
||||
'lm_sensors'
|
||||
'rust'
|
||||
'spirv-llvm-translator'
|
||||
'spirv-tools'
|
||||
'systemd'
|
||||
'vulkan-icd-loader'
|
||||
'wayland'
|
||||
'zstd'
|
||||
|
||||
# shared with lib32-mesa
|
||||
# shared between mesa and lib32-mesa
|
||||
'clang'
|
||||
'cmake'
|
||||
'elfutils'
|
||||
@ -55,6 +59,8 @@ makedepends=(
|
||||
'libclc'
|
||||
'meson'
|
||||
'python-mako'
|
||||
'python-ply'
|
||||
'rust-bindgen'
|
||||
'wayland-protocols'
|
||||
'xorgproto'
|
||||
|
||||
@ -66,29 +72,17 @@ makedepends=(
|
||||
|
||||
# gallium-omx deps
|
||||
'libomxil-bellagio'
|
||||
|
||||
# gallium-rusticl deps
|
||||
'rust'
|
||||
'rust-bindgen'
|
||||
'spirv-tools'
|
||||
|
||||
# intel-clc deps
|
||||
'python-ply'
|
||||
'spirv-llvm-translator'
|
||||
)
|
||||
source=(
|
||||
https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
|
||||
LICENSE
|
||||
0001-big-endian-flipping.patch
|
||||
)
|
||||
sha256sums=('f4c7fd8e7b472a88da7d83e9a48f6f3bd17d4ea2cc4386f7231b796f3964157a'
|
||||
'SKIP'
|
||||
'7052ba73bb07ea78873a2431ee4e828f4e72bda7d176d07f770fa48373dec537'
|
||||
'0a8f2792dfd0469bc41540884fe2a1dbf4f0fd92f53bad5b9db831ac1e59dd11')
|
||||
'7052ba73bb07ea78873a2431ee4e828f4e72bda7d176d07f770fa48373dec537')
|
||||
b2sums=('78b71ede0655e538a71d22ecbfb0bed7497c258a16ce5f7d9b627a4c9372f26292a50aec848a4923524e4862b00a6d5d3d2521b05033d9cf39d31f037bdb9254'
|
||||
'SKIP'
|
||||
'1ecf007b82260710a7bf5048f47dd5d600c168824c02c595af654632326536a6527fbe0738670ee7b921dd85a70425108e0f471ba85a8e1ca47d294ad74b4adb'
|
||||
'c28718783873be25fa2d6c0f43fae900f93e2f20df1c11a40ec86622112b7be7e7f50c3b77e52849fec9288fb8da3744d8bc2027df941ffd0b8c558fe3a927ba')
|
||||
'1ecf007b82260710a7bf5048f47dd5d600c168824c02c595af654632326536a6527fbe0738670ee7b921dd85a70425108e0f471ba85a8e1ca47d294ad74b4adb')
|
||||
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
|
||||
'946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <tanty@igalia.com>
|
||||
'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895' # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>
|
||||
@ -98,11 +92,8 @@ validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l
|
||||
|
||||
prepare() {
|
||||
cd mesa-$pkgver
|
||||
patch -Np1 -i ${srcdir}/0001-big-endian-flipping.patch
|
||||
}
|
||||
|
||||
_libdir=usr/lib
|
||||
|
||||
build() {
|
||||
case "${CARCH}" in
|
||||
x86_64)
|
||||
@ -110,18 +101,17 @@ build() {
|
||||
_platform_gallium_drivers=',crocus,i915,iris,svga'
|
||||
;;
|
||||
powerpc64*|riscv64)
|
||||
#_platform_vulkan_drivers=',intel'
|
||||
_platform_gallium_drivers=',iris'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
local meson_options=(
|
||||
--libdir=/$_libdir
|
||||
-D android-libbacktrace=disabled
|
||||
-D b_ndebug=true
|
||||
-D dri3=enabled
|
||||
-D egl=enabled
|
||||
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,swrast,zink,d3d12${_platform_gallium_driver}
|
||||
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,swrast,zink,d3d12${_platform_gallium_drivers}
|
||||
-D gallium-extra-hud=true
|
||||
-D gallium-nine=true
|
||||
-D gallium-omx=bellagio
|
||||
@ -146,7 +136,7 @@ build() {
|
||||
-D shared-glapi=enabled
|
||||
-D valgrind=enabled
|
||||
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc
|
||||
-D vulkan-drivers=amd,swrast,virtio-experimental${platform_vulkan_drivers}
|
||||
-D vulkan-drivers=amd,swrast,virtio-experimental${_platform_vulkan_drivers}
|
||||
-D vulkan-layers=device-select,intel-nullhw,overlay
|
||||
)
|
||||
|
||||
@ -173,6 +163,8 @@ _install() {
|
||||
done
|
||||
}
|
||||
|
||||
_libdir=usr/lib
|
||||
|
||||
package_vulkan-mesa-layers() {
|
||||
pkgdesc="Mesa's Vulkan layers"
|
||||
depends=(
|
||||
@ -200,10 +192,10 @@ package_opencl-clover-mesa() {
|
||||
'expat'
|
||||
'libdrm'
|
||||
'libelf'
|
||||
'spirv-llvm-translator'
|
||||
'zstd'
|
||||
|
||||
'libclc'
|
||||
'spirv-llvm-translator'
|
||||
)
|
||||
optdepends=('opencl-headers: headers necessary for OpenCL development')
|
||||
provides=('opencl-driver')
|
||||
@ -224,10 +216,11 @@ package_opencl-rusticl-mesa() {
|
||||
'expat'
|
||||
'libdrm'
|
||||
'libelf'
|
||||
'lm_sensors'
|
||||
'spirv-llvm-translator'
|
||||
'zstd'
|
||||
|
||||
'libclc'
|
||||
'spirv-llvm-translator'
|
||||
)
|
||||
optdepends=('opencl-headers: headers necessary for OpenCL development')
|
||||
provides=('opencl-driver')
|
||||
|
Loading…
x
Reference in New Issue
Block a user