public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andreas Schneider <asn@cryptomilk.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ffmpeg] epel9-next: Fix BuildRequires for different platforms
Date: Tue, 14 Jul 2026 21:59:18 GMT [thread overview]
Message-ID: <178406635809.1.5368244261703069105.rpms-ffmpeg-ab637a7f1fc6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ffmpeg
Branch : epel9-next
Commit : ab637a7f1fc6a862123106e5f2d3eeb2d0e010e1
Author : Andreas Schneider <asn@cryptomilk.org>
Date : 2022-02-11T22:27:06+01:00
Stats : +29/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ffmpeg/c/ab637a7f1fc6a862123106e5f2d3eeb2d0e010e1?branch=epel9-next
Log:
Fix BuildRequires for different platforms
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index c4074aa..3417f59 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -22,8 +22,18 @@
%ifarch x86_64
%bcond_without svtav1
+%bcond_without mfx
+%bcond_without vmaf
%else
%bcond_with svtav1
+%bcond_with mfx
+%bcond_with vmaf
+%endif
+
+%ifarch s390 s390x
+%bcond_with dc1394
+%else
+%bcond_without dc1394
%endif
%if %{with all_codecs}
@@ -97,7 +107,9 @@ BuildRequires: gnupg2
BuildRequires: gsm-devel
BuildRequires: ladspa-devel
BuildRequires: lame-devel
+%ifnarch s390 s390x
BuildRequires: libcrystalhd-devel
+%endif
BuildRequires: libmysofa-devel
BuildRequires: make
BuildRequires: nasm
@@ -119,16 +131,12 @@ BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(ilbc)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libass)
-BuildRequires: pkgconfig(libavc1394)
BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libbs2b)
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libchromaprint)
-BuildRequires: pkgconfig(libdc1394-2)
BuildRequires: pkgconfig(libdrm)
-BuildRequires: pkgconfig(libiec61883)
-BuildRequires: pkgconfig(libmfx) < 2.0
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(libomxil-bellagio)
BuildRequires: pkgconfig(libopenjp2)
@@ -140,7 +148,6 @@ BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(libva-drm)
BuildRequires: pkgconfig(libva-x11)
-BuildRequires: pkgconfig(libvmaf)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libzmq)
@@ -182,9 +189,17 @@ BuildRequires: texinfo
BuildRequires: pkgconfig(opencore-amrnb)
BuildRequires: pkgconfig(vo-amrwbenc)
%endif
+%if %{with dc1394}
+BuildRequires: pkgconfig(libavc1394)
+BuildRequires: pkgconfig(libdc1394-2)
+BuildRequires: pkgconfig(libiec61883)
+%endif
%if %{with rtmp}
BuildRequires: librtmp-devel
%endif
+%if %{with mfx}
+BuildRequires: pkgconfig(libmfx) < 2.0
+%endif
%if %{with svtav1}
BuildRequires: pkgconfig(SvtAv1Enc) >= 0.8.4
%endif
@@ -198,6 +213,9 @@ BuildRequires: pkgconfig(x264)
%if %{with x265}
BuildRequires: pkgconfig(x265)
%endif
+%if %{with vmaf}
+BuildRequires: pkgconfig(libvmaf)
+%endif
%if %{with xvid}
BuildRequires: xvidcore-devel
%endif
@@ -521,7 +539,9 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
--enable-libbs2b \
--enable-libcdio \
--enable-libdav1d \
+%if %{with dc1394}
--enable-libdc1394 \
+%endif
--enable-libdrm \
--enable-libfdk-aac \
--enable-libfontconfig \
@@ -547,7 +567,9 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
--enable-libtheora \
--enable-libtwolame \
--enable-libvidstab \
+%if %{with vmaf}
--enable-libvmaf \
+%endif
--enable-libvorbis \
--enable-libv4l2 \
--enable-libvpx \
@@ -558,7 +580,9 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
%if %{with lto}
--enable-lto \
%endif
+%if %{with mfx}
--enable-libmfx \
+%endif
--enable-vaapi \
--enable-vdpau \
%if %{with amr}
reply other threads:[~2026-07-14 21:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178406635809.1.5368244261703069105.rpms-ffmpeg-ab637a7f1fc6@fedoraproject.org \
--to=asn@cryptomilk.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox