mesa 24.3.0
This commit is contained in:
parent
d0b20d5b95
commit
e60402a263
1 changed files with 9 additions and 4 deletions
|
|
@ -63,14 +63,13 @@
|
||||||
%bcond_with valgrind
|
%bcond_with valgrind
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global vulkan_drivers swrast%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau}
|
%global vulkan_drivers swrast,virtio%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau}
|
||||||
|
|
||||||
%global toolchain clang
|
%global toolchain clang
|
||||||
%define _disable_source_fetch 0
|
%define _disable_source_fetch 0
|
||||||
|
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
%global ver 24.2.7
|
%global ver 24.3.0
|
||||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: 10.clang%{?dist}
|
Release: 10.clang%{?dist}
|
||||||
License: MIT AND BSD-3-Clause AND SGI-B-2.0
|
License: MIT AND BSD-3-Clause AND SGI-B-2.0
|
||||||
|
|
@ -84,6 +83,10 @@ Source1: https://src.fedoraproject.org/rpms/mesa/raw/rawhide/f/Mesa-MLAA-
|
||||||
|
|
||||||
Patch10: https://src.fedoraproject.org/rpms/mesa/raw/rawhide/f/gnome-shell-glthread-disable.patch
|
Patch10: https://src.fedoraproject.org/rpms/mesa/raw/rawhide/f/gnome-shell-glthread-disable.patch
|
||||||
|
|
||||||
|
# silence some vulkan loader issues
|
||||||
|
Patch20: https://src.fedoraproject.org/rpms/mesa/raw/rawhide/f/broadcom-fix-init-error.patch
|
||||||
|
Patch21: https://src.fedoraproject.org/rpms/mesa/raw/rawhide/f/0001-venus-handle-device-probing-properly.patch
|
||||||
|
|
||||||
BuildRequires: meson >= 1.3.0
|
BuildRequires: meson >= 1.3.0
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
|
@ -409,7 +412,6 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/"
|
||||||
|
|
||||||
%meson \
|
%meson \
|
||||||
-Dplatforms=x11,wayland \
|
-Dplatforms=x11,wayland \
|
||||||
-Ddri3=enabled \
|
|
||||||
-Dosmesa=true \
|
-Dosmesa=true \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
%if 0%{?with_hardware}
|
%if 0%{?with_hardware}
|
||||||
|
|
@ -518,6 +520,7 @@ popd
|
||||||
%{_libdir}/pkgconfig/osmesa.pc
|
%{_libdir}/pkgconfig/osmesa.pc
|
||||||
|
|
||||||
%files libgbm
|
%files libgbm
|
||||||
|
%{_libdir}/gbm/dri_gbm.so
|
||||||
%{_libdir}/libgbm.so.1
|
%{_libdir}/libgbm.so.1
|
||||||
%{_libdir}/libgbm.so.1.*
|
%{_libdir}/libgbm.so.1.*
|
||||||
%files libgbm-devel
|
%files libgbm-devel
|
||||||
|
|
@ -697,6 +700,8 @@ popd
|
||||||
%files vulkan-drivers
|
%files vulkan-drivers
|
||||||
%{_libdir}/libvulkan_lvp.so
|
%{_libdir}/libvulkan_lvp.so
|
||||||
%{_datadir}/vulkan/icd.d/lvp_icd.*.json
|
%{_datadir}/vulkan/icd.d/lvp_icd.*.json
|
||||||
|
%{_libdir}/libvulkan_virtio.so
|
||||||
|
%{_datadir}/vulkan/icd.d/virtio_icd.*.json
|
||||||
%{_libdir}/libVkLayer_MESA_device_select.so
|
%{_libdir}/libVkLayer_MESA_device_select.so
|
||||||
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
|
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
|
||||||
%if 0%{?with_vulkan_hw}
|
%if 0%{?with_vulkan_hw}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue