Switch from glslang to shaderc

el9
Leigh Scott 2 years ago
parent e72bb6dca7
commit 15c0273f9a

@ -38,7 +38,6 @@
%global _with_webp 1 %global _with_webp 1
%global _with_zmq 1 %global _with_zmq 1
%else %else
# libavfilter has undefined glslang symbols
%global _without_vulkan 1 %global _without_vulkan 1
%endif %endif
%ifarch x86_64 %ifarch x86_64
@ -112,7 +111,7 @@ ExclusiveArch: armv7hnl
Summary: Digital VCR and streaming server Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor} Name: ffmpeg%{?flavor}
Version: 5.1.1 Version: 5.1.1
Release: 2%{?date:.%{?date}%{?date:git}%{?rel}}%{?dist} Release: 3%{?date:.%{?date}%{?date:git}%{?rel}}%{?dist}
License: %{ffmpeg_license} License: %{ffmpeg_license}
URL: http://ffmpeg.org/ URL: http://ffmpeg.org/
%if 0%{?date} %if 0%{?date}
@ -213,7 +212,7 @@ BuildRequires: texinfo
%{?_with_vmaf:BuildRequires: libvmaf-devel >= 1.5.2} %{?_with_vmaf:BuildRequires: libvmaf-devel >= 1.5.2}
%{?_with_wavpack:BuildRequires: wavpack-devel} %{?_with_wavpack:BuildRequires: wavpack-devel}
%{!?_without_vidstab:BuildRequires: vid.stab-devel} %{!?_without_vidstab:BuildRequires: vid.stab-devel}
%{!?_without_vulkan:BuildRequires: vulkan-loader-devel glslang-devel >= 11.0} %{!?_without_vulkan:BuildRequires: vulkan-loader-devel pkgconfig(shaderc)}
%{!?_without_x264:BuildRequires: x264-devel >= 0.0.0-0.31} %{!?_without_x264:BuildRequires: x264-devel >= 0.0.0-0.31}
%{!?_without_x265:BuildRequires: x265-devel} %{!?_without_x265:BuildRequires: x265-devel}
%{!?_without_xvid:BuildRequires: xvidcore-devel} %{!?_without_xvid:BuildRequires: xvidcore-devel}
@ -357,7 +356,7 @@ This package contains development files for %{name}
%{?_with_vmaf:--enable-libvmaf --enable-version3} \\\ %{?_with_vmaf:--enable-libvmaf --enable-version3} \\\
%{?_with_vapoursynth:--enable-vapoursynth} \\\ %{?_with_vapoursynth:--enable-vapoursynth} \\\
%{!?_without_vpx:--enable-libvpx} \\\ %{!?_without_vpx:--enable-libvpx} \\\
%{!?_without_vulkan:--enable-vulkan --enable-libglslang} \\\ %{!?_without_vulkan:--enable-vulkan --enable-libshaderc} \\\
%{?_with_webp:--enable-libwebp} \\\ %{?_with_webp:--enable-libwebp} \\\
%{!?_without_x264:--enable-libx264} \\\ %{!?_without_x264:--enable-libx264} \\\
%{!?_without_x265:--enable-libx265} \\\ %{!?_without_x265:--enable-libx265} \\\
@ -518,6 +517,9 @@ mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
%changelog %changelog
* Mon Sep 05 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.1-3
- Switch from glslang to shaderc
* Sun Sep 04 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.1-2 * Sun Sep 04 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.1-2
- move libs to a subdirectory to allow parallel installation with ffmpeg-free - move libs to a subdirectory to allow parallel installation with ffmpeg-free

Loading…
Cancel
Save