public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/ffmpeg] rawhide: enable DeckLink support
Date: Thu, 30 Jul 2026 13:27:53 GMT [thread overview]
Message-ID: <178541807313.1.3946128526950082689.rpms-ffmpeg-21ae0ea3945e@fedoraproject.org> (raw)
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 \
reply other threads:[~2026-07-30 13:27 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=178541807313.1.3946128526950082689.rpms-ffmpeg-21ae0ea3945e@fedoraproject.org \
--to=dominik@greysector.net \
--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