From 6fbaafcfe7e30e3368d640cd42e2c10ba738acd7 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 11 Sep 2024 08:41:34 +0100 Subject: [PATCH] Retire OpenMAX suppot Upstream has dropped it, in Fedora there's little (if anything) that supports it, we enabled it ages ago as some ancient arm hardware we supported at the time used it but that all went away when we retired ARMv7. --- mesa.spec | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/mesa.spec b/mesa.spec index 990ab69..bedba7f 100644 --- a/mesa.spec +++ b/mesa.spec @@ -12,7 +12,6 @@ %if 0%{?with_vulkan_hw} %global with_nvk %{with_vulkan_hw} %endif -%global with_omx 1 %global with_opencl 1 %endif %global base_vulkan %{?with_vulkan_hw:,amd}%{!?with_vulkan_hw:%{nil}} @@ -134,9 +133,6 @@ BuildRequires: pkgconfig(vdpau) >= 1.1 %if 0%{?with_va} BuildRequires: pkgconfig(libva) >= 0.38.0 %endif -%if 0%{?with_omx} -BuildRequires: pkgconfig(libomxil-bellagio) -%endif BuildRequires: pkgconfig(libelf) BuildRequires: pkgconfig(libglvnd) >= 1.3.2 BuildRequires: llvm-devel >= 7.0.0 @@ -185,6 +181,7 @@ BuildRequires: pkgconfig(vulkan) %package filesystem Summary: Mesa driver filesystem Provides: mesa-dri-filesystem = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: mesa-omx-drivers < %{?epoch:%{epoch}:}%{version}-%{release} %description filesystem %{summary}. @@ -241,15 +238,6 @@ Recommends: %{name}-va-drivers%{?_isa} %description dri-drivers %{summary}. -%if 0%{?with_omx} -%package omx-drivers -Summary: Mesa-based OMX drivers -Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description omx-drivers -%{summary}. -%endif - %if 0%{?with_va} %package va-drivers Summary: Mesa-based VA-API video acceleration drivers @@ -425,7 +413,6 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" -Dgallium-drivers=swrast,virgl \ %endif -Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \ - -Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \ -Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \ -Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \ -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \ @@ -676,11 +663,6 @@ popd %{_libdir}/dri/zink_dri.so %endif -%if 0%{?with_omx} -%files omx-drivers -%{_libdir}/bellagio/libomx_mesa.so -%endif - %if 0%{?with_va} %files va-drivers %{_libdir}/dri/nouveau_drv_video.so