extra/mesa to 24.0.7-3

This commit is contained in:
Kevin Mihelich 2024-05-13 23:22:39 +00:00
parent 5c27ef3727
commit f9c18f869e
2 changed files with 18 additions and 22 deletions

View file

@ -1,7 +1,7 @@
pkgbase = mesa
pkgdesc = Open-source OpenGL drivers
pkgver = 24.0.6
pkgrel = 2
pkgver = 24.0.7
pkgrel = 3
epoch = 1
url = https://www.mesa3d.org/
arch = x86_64
@ -50,8 +50,9 @@ pkgbase = mesa
makedepends = valgrind
makedepends = directx-headers
makedepends = libomxil-bellagio
source = https://mesa.freedesktop.org/archive/mesa-24.0.6.tar.xz
source = https://mesa.freedesktop.org/archive/mesa-24.0.6.tar.xz.sig
options = !lto
source = https://mesa.freedesktop.org/archive/mesa-24.0.7.tar.xz
source = https://mesa.freedesktop.org/archive/mesa-24.0.7.tar.xz.sig
source = proc-macro2-1.0.70.tar.gz::https://crates.io/api/v1/crates/proc-macro2/1.0.70/download
source = unicode-ident-1.0.12.tar.gz::https://crates.io/api/v1/crates/unicode-ident/1.0.12/download
source = quote-1.0.33.tar.gz::https://crates.io/api/v1/crates/quote/1.0.33/download
@ -62,13 +63,13 @@ pkgbase = mesa
validpgpkeys = A5CC9FEC93F2F837CB044912336909B6B25FADFA
validpgpkeys = 71C4B75620BC75708B4BDB254C95FAAB3EB073EC
validpgpkeys = 57551DE15B968F6341C248F68D8E31AFC32428A6
sha256sums = 8b7a92dbe6468c18f2383700135b5fe9de836cdf0cc8fd7dbae3c7110237d604
sha256sums = 7454425f1ed4a6f1b5b107e1672b30c88b22ea0efea000ae2c7d96db93f6c26a
sha256sums = SKIP
sha256sums = 39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b
sha256sums = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b
sha256sums = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae
sha256sums = 23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a
b2sums = 531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
b2sums = d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
b2sums = SKIP
b2sums = fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
b2sums = 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac

View file

@ -30,8 +30,8 @@ pkgname=(
'mesa-vdpau'
'mesa'
)
pkgver=24.0.6
pkgrel=2
pkgver=24.0.7
pkgrel=3
epoch=1
pkgdesc="Open-source OpenGL drivers"
url="https://www.mesa3d.org/"
@ -91,6 +91,10 @@ makedepends=(
# gallium-omx deps
'libomxil-bellagio'
)
options=(
# GCC 14 LTO causes segfault in LLVM under si_llvm_optimize_module
!lto
)
source=(
https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
)
@ -115,13 +119,13 @@ for _crate in "${!_crates[@]}"; do
source+=($_crate-${_crates[$_crate]}.tar.gz::https://crates.io/api/v1/crates/$_crate/${_crates[$_crate]}/download)
done
sha256sums=('8b7a92dbe6468c18f2383700135b5fe9de836cdf0cc8fd7dbae3c7110237d604'
sha256sums=('7454425f1ed4a6f1b5b107e1672b30c88b22ea0efea000ae2c7d96db93f6c26a'
'SKIP'
'39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b'
'3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b'
'5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae'
'23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a')
b2sums=('531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe'
b2sums=('d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce'
'SKIP'
'fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c'
'4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac'
@ -149,33 +153,24 @@ build() {
local meson_options=(
-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 dri3=enabled
-D egl=enabled
-D gallium-drivers=r300,r600,radeonsi,freedreno,nouveau,swrast,virgl,zink,d3d12${GALLIUM}
-D gallium-extra-hud=true
-D gallium-nine=true
-D gallium-omx=bellagio
-D gallium-opencl=icd
-D gallium-rusticl=true
-D gallium-va=enabled
-D gallium-vdpau=enabled
-D gallium-xa=disabled
-D gbm=enabled
-D gles1=disabled
-D gles2=enabled
-D glvnd=true
-D glx=dri
-D intel-clc=disabled
-D libunwind=disabled
-D llvm=enabled
-D lmsensors=enabled
-D microsoft-clc=disabled
-D osmesa=true
-D platforms=x11,wayland
-D rust_std=2021
-D shared-glapi=enabled
-D valgrind=enabled
-D video-codecs=all
-D vulkan-drivers=amd,swrast,broadcom,panfrost,virtio,freedreno,nouveau-experimental
@ -190,12 +185,12 @@ build() {
export MESON_PACKAGE_CACHE_DIR="$srcdir"
arch-meson mesa-$pkgver build "${meson_options[@]}"
meson configure build # Print config
meson configure build --no-pager # Print config
meson compile -C build
# fake installation to be seperated into packages
# outside of fakeroot but mesa doesn't need to chown/mod
DESTDIR="${srcdir}/fakeinstall" meson install -C build
meson install -C build --destdir "$srcdir/fakeinstall"
}
_install() {