extra/mesa to 23.1.5-1

This commit is contained in:
Kevin Mihelich 2023-08-05 01:07:38 +00:00
parent 3c6348fddf
commit a3f1842b97

View file

@ -25,8 +25,9 @@ pkgname=(
'mesa-vdpau' 'mesa-vdpau'
'mesa' 'mesa'
) )
pkgver=23.1.4 pkgver=23.1.5
pkgrel=2 pkgrel=1
epoch=1
pkgdesc="An open-source implementation of the OpenGL specification" pkgdesc="An open-source implementation of the OpenGL specification"
url="https://www.mesa3d.org/" url="https://www.mesa3d.org/"
arch=('x86_64') arch=('x86_64')
@ -48,12 +49,15 @@ makedepends=(
'libxxf86vm' 'libxxf86vm'
'llvm' 'llvm'
'lm_sensors' 'lm_sensors'
'rust'
'spirv-llvm-translator'
'spirv-tools'
'systemd' 'systemd'
'vulkan-icd-loader' 'vulkan-icd-loader'
'wayland' 'wayland'
'zstd' 'zstd'
# shared with lib32-mesa # shared between mesa and lib32-mesa
'clang' 'clang'
'cmake' 'cmake'
'elfutils' 'elfutils'
@ -61,6 +65,8 @@ makedepends=(
'libclc' 'libclc'
'meson' 'meson'
'python-mako' 'python-mako'
'python-ply'
'rust-bindgen'
'wayland-protocols' 'wayland-protocols'
'xorgproto' 'xorgproto'
@ -72,24 +78,15 @@ makedepends=(
# gallium-omx deps # gallium-omx deps
'libomxil-bellagio' 'libomxil-bellagio'
# gallium-rusticl deps
'rust'
'rust-bindgen'
'spirv-tools'
# intel-clc deps
'python-ply'
'spirv-llvm-translator'
) )
source=( source=(
https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig} https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
LICENSE LICENSE
) )
sha256sums=('7261a17fb94867e3dc5a90d8a1f100fa04b0cbbde51d25302c0872b5e9a10959' sha256sums=('3cf88576fdebf24fc4047067936131c90cb6541c27365996b79b661dec1fb153'
'SKIP' 'SKIP'
'7052ba73bb07ea78873a2431ee4e828f4e72bda7d176d07f770fa48373dec537') '7052ba73bb07ea78873a2431ee4e828f4e72bda7d176d07f770fa48373dec537')
b2sums=('9c696766f4f7af9a2d12c6e7663f300e4dbcfc27ee210770151a8be76b3413b51aad1e2a00f4cf38695cf26d5b684e38a65de8a63723597a0ff97f3a9935b1a1' b2sums=('9919de93df171dd884ef39f52e480e62ef7f4cd55e43b507316af7de39b222ddec12914628d136d40a80f8398f517708a67a64b99858bba3c86686956b7c91bc'
'SKIP' 'SKIP'
'1ecf007b82260710a7bf5048f47dd5d600c168824c02c595af654632326536a6527fbe0738670ee7b921dd85a70425108e0f471ba85a8e1ca47d294ad74b4adb') '1ecf007b82260710a7bf5048f47dd5d600c168824c02c595af654632326536a6527fbe0738670ee7b921dd85a70425108e0f471ba85a8e1ca47d294ad74b4adb')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com> validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
@ -103,8 +100,6 @@ prepare() {
cd mesa-$pkgver cd mesa-$pkgver
} }
_libdir=usr/lib
build() { build() {
case "${CARCH}" in case "${CARCH}" in
armv7h) GALLIUM=",etnaviv,kmsro,lima,panfrost,tegra,v3d,vc4" ;; armv7h) GALLIUM=",etnaviv,kmsro,lima,panfrost,tegra,v3d,vc4" ;;
@ -112,7 +107,6 @@ build() {
esac esac
local meson_options=( local meson_options=(
--libdir=/$_libdir
-D android-libbacktrace=disabled -D android-libbacktrace=disabled
-D b_lto=$([[ $CARCH == aarch64 ]] && echo true || echo false) -D b_lto=$([[ $CARCH == aarch64 ]] && echo true || echo false)
-D b_ndebug=true -D b_ndebug=true
@ -170,6 +164,8 @@ _install() {
done done
} }
_libdir=usr/lib
package_vulkan-mesa-layers() { package_vulkan-mesa-layers() {
pkgdesc="Mesa's Vulkan layers" pkgdesc="Mesa's Vulkan layers"
depends=( depends=(
@ -197,10 +193,10 @@ package_opencl-clover-mesa() {
'expat' 'expat'
'libdrm' 'libdrm'
'libelf' 'libelf'
'spirv-llvm-translator'
'zstd' 'zstd'
'libclc' 'libclc'
'spirv-llvm-translator'
) )
optdepends=('opencl-headers: headers necessary for OpenCL development') optdepends=('opencl-headers: headers necessary for OpenCL development')
provides=('opencl-driver') provides=('opencl-driver')
@ -221,10 +217,11 @@ package_opencl-rusticl-mesa() {
'expat' 'expat'
'libdrm' 'libdrm'
'libelf' 'libelf'
'lm_sensors'
'spirv-llvm-translator'
'zstd' 'zstd'
'libclc' 'libclc'
'spirv-llvm-translator'
) )
optdepends=('opencl-headers: headers necessary for OpenCL development') optdepends=('opencl-headers: headers necessary for OpenCL development')
provides=('opencl-driver') provides=('opencl-driver')