public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ffmpeg] epel9-next: Disable features for which RHEL 9 deps are too old
@ 2026-07-14 21:59 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-14 21:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ffmpeg
Branch : epel9-next
Commit : ec5387b4b2596e0bca9e32edce3d434b8464213b
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2023-02-13T17:17:10-05:00
Stats  : +15/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ffmpeg/c/ec5387b4b2596e0bca9e32edce3d434b8464213b?branch=epel9-next

Log:
Disable features for which RHEL 9 deps are too old

---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 2edb403..321be04 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -39,11 +39,15 @@
 %bcond_with omxil
 %else
 
-# Disable flite because RHEL 9 flite is too old
+# Disable some features because RHEL 9 packages are too old
 %if 0%{?rhel} && 0%{?rhel} <= 9
 %bcond_with flite
+%bcond_with lcms2
+%bcond_with placebo
 %else
 %bcond_without flite
+%bcond_without lcms2
+%bcond_without placebo
 %endif
 
 # crystalhd isn't available on IBM Z
@@ -177,7 +181,9 @@ BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(gnutls)
 BuildRequires:  pkgconfig(libilbc)
 BuildRequires:  pkgconfig(jack)
-BuildRequires:  pkgconfig(lcms2)
+%if %{with lcms2}
+BuildRequires:  pkgconfig(lcms2) >= 2.13
+%endif
 BuildRequires:  pkgconfig(libass)
 BuildRequires:  pkgconfig(libbluray)
 BuildRequires:  pkgconfig(libbs2b)
@@ -194,7 +200,9 @@ BuildRequires:  pkgconfig(libomxil-bellagio)
 %endif
 BuildRequires:  pkgconfig(libopenjp2)
 BuildRequires:  pkgconfig(libopenmpt)
-BuildRequires:  pkgconfig(libplacebo)
+%if %{with placebo}
+BuildRequires:  pkgconfig(libplacebo) >= 4.192.0
+%endif
 BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  pkgconfig(librabbitmq)
 BuildRequires:  pkgconfig(librsvg-2.0)
@@ -588,7 +596,9 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
     --enable-gcrypt \
     --enable-gnutls \
     --enable-ladspa \
+%if %{with lcms2}
     --enable-lcms2 \
+%endif
     --enable-libshaderc \
     --enable-vulkan \
     --disable-cuda-sdk \
@@ -626,7 +636,9 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
     --enable-libopenjpeg \
     --enable-libopenmpt \
     --enable-libopus \
+%if %{with placebo}
     --enable-libplacebo \
+%endif
     --enable-libpulse \
     --enable-librabbitmq \
     --enable-librav1e \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-14 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 21:59 [rpms/ffmpeg] epel9-next: Disable features for which RHEL 9 deps are too old Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox