mesa: update to 24.2.7.

This commit is contained in:
Daniel Martinez 2024-11-18 19:04:45 -05:00 committed by classabbyamp
parent c71768affd
commit 2197d93bb1
1 changed files with 7 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'mesa'
pkgname=mesa
version=24.2.6
version=24.2.7
revision=1
build_style=meson
_llvmver=18
_llvmver=19
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
-Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri -Ddri3=enabled
@ -24,8 +24,9 @@ license="MIT, LGPL-2.1-or-later"
homepage="https://www.mesa3d.org/"
changelog="https://docs.mesa3d.org/relnotes.html"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
checksum=2b68c4a6f204c1999815a457299f81c41ba7bf48c4674b0b2d1d8864f41f3709
checksum=a0ce37228679647268a83b3652d859dcf23d6f6430d751489d4464f6de6459fd
build_helper="qemu"
build_options="wayland"
build_options_default="wayland"
@ -142,7 +143,8 @@ fi
# enabled currently by amd drivers
if [ "$_have_opencl" ]; then
hostmakedepends+=" clang${_llvmver} rust rust-bindgen"
makedepends+=" clang${_llvmver} libclc rust SPIRV-LLVM-Translator-devel SPIRV-Tools-devel"
makedepends+=" clang${_llvmver} libclc${_llvmver} rust
SPIRV-LLVM-Translator${_llvmver}-devel SPIRV-Tools-devel"
subpackages+=" mesa-opencl"
configure_args+=" -Dgallium-opencl=icd -Dgallium-rusticl=true -Drust_std=2021"
fi
@ -304,7 +306,7 @@ libxatracker_package() {
mesa-opencl_package() {
short_desc="Mesa implementation of OpenCL (r600+ only)"
depends="libclc"
depends="libclc${_llvmver}"
pkg_install() {
vmove etc/OpenCL
vmove usr/lib/gallium-pipe