From bd658452e9490156a130443fe00f594f16ba7e68 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Mon, 4 Nov 2024 09:18:32 +0100 Subject: [PATCH] Add some options from the Asahi Fedora spec Signed-off-by: Matthias Kurz --- mesa-asahi-edge/PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mesa-asahi-edge/PKGBUILD b/mesa-asahi-edge/PKGBUILD index 1ff26fd..babe760 100644 --- a/mesa-asahi-edge/PKGBUILD +++ b/mesa-asahi-edge/PKGBUILD @@ -49,7 +49,7 @@ build() { -D platforms=x11,wayland \ -D gallium-drivers=swrast,virgl,asahi,zink \ -D vulkan-drivers=swrast,asahi \ - -D vulkan-layers= \ + -D vulkan-layers=device-select \ -D egl=enabled \ -D gallium-extra-hud=true \ -D gallium-opencl=icd \ @@ -71,7 +71,9 @@ build() { -D microsoft-clc=disabled \ -D valgrind=enabled \ -D android-libbacktrace=disabled \ - -D intel-rt=disabled + -D intel-rt=disabled \ + -D shared-llvm=enabled \ + -D build-tests=false # Print config meson configure --no-pager build @@ -124,6 +126,7 @@ package() { _install fakeinstall/usr/share/vulkan _install fakeinstall/usr/lib/libvulkan* _install fakeinstall/usr/lib/libgallium* + _install fakeinstall/usr/lib/libVkLayer* # indirect rendering ln -s /usr/lib/libGLX_mesa.so.0 "${pkgdir}/usr/lib/libGLX_indirect.so.0"