public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ffmpeg] rawhide: enable DeckLink support
@ 2026-07-30 13:27 Dominik 'Rathann' Mierzejewski
0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-07-30 13:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ffmpeg
Branch : rawhide
Commit : 21ae0ea3945e200f9a2e25da5eb855bde2d6a021
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2026-07-30T13:22:45+00:00
Stats : +39/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ffmpeg/c/21ae0ea3945e200f9a2e25da5eb855bde2d6a021?branch=rawhide
Log:
enable DeckLink support
---
diff --git a/ffmpeg-allow-decklink.patch b/ffmpeg-allow-decklink.patch
new file mode 100644
index 0000000..0cd2c47
--- /dev/null
+++ b/ffmpeg-allow-decklink.patch
@@ -0,0 +1,33 @@
+From b058690df43aba377c7790ccae5fdc2b42872b58 Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Sun, 14 Jun 2026 14:53:24 +0200
+Subject: [PATCH] allow building against DeckLink SDK headers
+
+They're Boost-licensed.
+---
+ configure | 6 +++---
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 6cf4f08..5342e86 100755
+--- a/configure
++++ b/configure
+@@ -2002,7 +2002,6 @@ EXTERNAL_LIBRARY_GPL_LIST="
+ "
+
+ EXTERNAL_LIBRARY_NONFREE_LIST="
+- decklink
+ libmpeghdec
+ "
+
+@@ -2028,6 +2027,7 @@ EXTERNAL_LIBRARY_LIST="
+ $EXTERNAL_LIBRARY_GPLV3_LIST
+ cairo
+ chromaprint
++ decklink
+ gcrypt
+ gnutls
+ jni
+--
+2.54.0
+
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 653c151..da6dc2f 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -125,6 +125,8 @@ Patch1: ffmpeg-codec-choice.patch
# Allow to build with fdk-aac-free
# See https://bugzilla.redhat.com/show_bug.cgi?id=1501522#c112
Patch2: ffmpeg-allow-fdk-aac-free.patch
+# Allow to build with decklink
+Patch3: ffmpeg-allow-decklink.patch
# Backport fix for CVE-2026-30998
Patch10: https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/18b83f2d0a0f9bcbafb0001a2911327c4b8df056#/ffmpeg-CVE-2026-30998.patch
@@ -147,6 +149,7 @@ Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release}
Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release}
BuildRequires: AMF-devel
+BuildRequires: decklink-static
BuildRequires: fdk-aac-free-devel
%if %{with flite}
BuildRequires: flite-devel >= 2.2
@@ -717,6 +720,8 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
--mandir=%{_mandir} \
--arch=%{_target_cpu} \
--optflags="%{build_cflags}" \
+ --extra-cflags="-I%{_includedir}/decklink" \
+ --extra-cxxflags="-I%{_includedir}/decklink" \
--extra-ldflags="%{build_ldflags}" \
--disable-htmlpages \
--disable-static \
@@ -741,7 +746,7 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
%if %{with ffnvcodec}
--enable-cuvid \
%endif
- --disable-decklink \
+ --enable-decklink \
--enable-frei0r \
--enable-gcrypt \
--enable-gmp \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-30 13:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 13:27 [rpms/ffmpeg] rawhide: enable DeckLink support Dominik 'Rathann' Mierzejewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox