commit 15c0273f9aa04e29213bdb5de6067af7303b0f29
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Sep 5 18:56:36 2022 +0100
Switch from glslang to shaderc
ffmpeg.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 943a58a..ee9cd27 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -38,7 +38,6 @@
%global _with_webp 1
%global _with_zmq 1
%else
-# libavfilter has undefined glslang symbols
%global _without_vulkan 1
%endif
%ifarch x86_64
@@ -112,7 +111,7 @@ ExclusiveArch: armv7hnl
Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor}
Version: 5.1.1
-Release: 2%{?date:.%{?date}%{?date:git}%{?rel}}%{?dist}
+Release: 3%{?date:.%{?date}%{?date:git}%{?rel}}%{?dist}
License: %{ffmpeg_license}
URL:
http://ffmpeg.org/
%if 0%{?date}
@@ -213,7 +212,7 @@ BuildRequires: texinfo
%{?_with_vmaf:BuildRequires: libvmaf-devel >= 1.5.2}
%{?_with_wavpack:BuildRequires: wavpack-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_x265:BuildRequires: x265-devel}
%{!?_without_xvid:BuildRequires: xvidcore-devel}
@@ -357,7 +356,7 @@ This package contains development files for %{name}
%{?_with_vmaf:--enable-libvmaf --enable-version3} \\\
%{?_with_vapoursynth:--enable-vapoursynth} \\\
%{!?_without_vpx:--enable-libvpx} \\\
- %{!?_without_vulkan:--enable-vulkan --enable-libglslang} \\\
+ %{!?_without_vulkan:--enable-vulkan --enable-libshaderc} \\\
%{?_with_webp:--enable-libwebp} \\\
%{!?_without_x264:--enable-libx264} \\\
%{!?_without_x265:--enable-libx265} \\\
@@ -518,6 +517,9 @@ mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
%changelog
+* Mon Sep 05 2022 Leigh Scott <leigh123linux(a)gmail.com> - 5.1.1-3
+- Switch from glslang to shaderc
+
* Sun Sep 04 2022 Leigh Scott <leigh123linux(a)gmail.com> - 5.1.1-2
- move libs to a subdirectory to allow parallel installation with ffmpeg-free