commit 8108ae26d79d0b2ff1200e1fc4c005cfa3f4a5af
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed May 29 15:07:35 2024 +0100
Add buildrequires lcms2-devel and fix rfbz#6947
ffmpeg.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index a807f46..bb821e9 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -138,6 +138,7 @@ BuildRequires: lame-devel >= 3.98.3
%{!?_without_jack:BuildRequires: jack-audio-connection-kit-devel}
%{!?_without_jxl:BuildRequires: libjxl-devel}
%{!?_without_ladspa:BuildRequires: ladspa-devel}
+BuildRequires: lcms2-devel
%{!?_without_aom:BuildRequires: libaom-devel}
%{!?_without_dav1d:BuildRequires: libdav1d-devel}
BuildRequires: libdvdnav-devel
@@ -314,6 +315,7 @@ Freeworld libavcodec to complement the distro counterparts
%{?_with_gmp:--enable-gmp --enable-version3} \\\
--enable-gnutls \\\
%{!?_without_ladspa:--enable-ladspa} \\\
+ --enable-lcms2 \\\
%{!?_without_aom:--enable-libaom} \\\
%{!?_without_dav1d:--enable-libdav1d} \\\
%{!?_without_ass:--enable-libass} \\\
@@ -483,8 +485,6 @@ mkdir -p %{buildroot}%{_libdir}/%{name}
echo -e "%{_libdir}/%{name}\n" >
%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
cp -pa %{buildroot}%{_libdir}/libavcodec.so.* \
%{buildroot}%{_libdir}/%{name}
-# Strip to prevent debuginfo duplication
-strip %{buildroot}%{_libdir}/%{name}/libavcodec.so.*
%endif
%ldconfig_scriptlets libs
Show replies by date