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.
This commit is contained in:
Peter Robinson 2024-09-11 08:41:34 +01:00
parent a70f713c73
commit 6fbaafcfe7

View file

@ -12,7 +12,6 @@
%if 0%{?with_vulkan_hw} %if 0%{?with_vulkan_hw}
%global with_nvk %{with_vulkan_hw} %global with_nvk %{with_vulkan_hw}
%endif %endif
%global with_omx 1
%global with_opencl 1 %global with_opencl 1
%endif %endif
%global base_vulkan %{?with_vulkan_hw:,amd}%{!?with_vulkan_hw:%{nil}} %global base_vulkan %{?with_vulkan_hw:,amd}%{!?with_vulkan_hw:%{nil}}
@ -134,9 +133,6 @@ BuildRequires: pkgconfig(vdpau) >= 1.1
%if 0%{?with_va} %if 0%{?with_va}
BuildRequires: pkgconfig(libva) >= 0.38.0 BuildRequires: pkgconfig(libva) >= 0.38.0
%endif %endif
%if 0%{?with_omx}
BuildRequires: pkgconfig(libomxil-bellagio)
%endif
BuildRequires: pkgconfig(libelf) BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libglvnd) >= 1.3.2 BuildRequires: pkgconfig(libglvnd) >= 1.3.2
BuildRequires: llvm-devel >= 7.0.0 BuildRequires: llvm-devel >= 7.0.0
@ -185,6 +181,7 @@ BuildRequires: pkgconfig(vulkan)
%package filesystem %package filesystem
Summary: Mesa driver filesystem Summary: Mesa driver filesystem
Provides: mesa-dri-filesystem = %{?epoch:%{epoch}:}%{version}-%{release} Provides: mesa-dri-filesystem = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: mesa-omx-drivers < %{?epoch:%{epoch}:}%{version}-%{release}
%description filesystem %description filesystem
%{summary}. %{summary}.
@ -241,15 +238,6 @@ Recommends: %{name}-va-drivers%{?_isa}
%description dri-drivers %description dri-drivers
%{summary}. %{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} %if 0%{?with_va}
%package va-drivers %package va-drivers
Summary: Mesa-based VA-API video acceleration drivers Summary: Mesa-based VA-API video acceleration drivers
@ -425,7 +413,6 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/"
-Dgallium-drivers=swrast,virgl \ -Dgallium-drivers=swrast,virgl \
%endif %endif
-Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \ -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-va=%{?with_va:enabled}%{!?with_va:disabled} \
-Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \ -Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \
-Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \ -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
@ -676,11 +663,6 @@ popd
%{_libdir}/dri/zink_dri.so %{_libdir}/dri/zink_dri.so
%endif %endif
%if 0%{?with_omx}
%files omx-drivers
%{_libdir}/bellagio/libomx_mesa.so
%endif
%if 0%{?with_va} %if 0%{?with_va}
%files va-drivers %files va-drivers
%{_libdir}/dri/nouveau_drv_video.so %{_libdir}/dri/nouveau_drv_video.so