Skip to content

Commit

Permalink
Add some options from the Asahi Fedora spec
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kurz <[email protected]>
  • Loading branch information
mkurz committed Nov 4, 2024
1 parent c6ad4ce commit bd65845
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mesa-asahi-edge/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit bd65845

Please sign in to comment.