From 736174f9197db1a0a26dc5cedff68e273f4df51a Mon Sep 17 00:00:00 2001 From: Jingwiw Date: Fri, 22 May 2026 15:54:50 +0800 Subject: [PATCH 1/2] SPECS: ffmpeg: Align librtmp build condition Signed-off-by: Jingwiw --- SPECS/ffmpeg/ffmpeg.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/ffmpeg/ffmpeg.spec b/SPECS/ffmpeg/ffmpeg.spec index 5207ad8cd2..119de77d7c 100644 --- a/SPECS/ffmpeg/ffmpeg.spec +++ b/SPECS/ffmpeg/ffmpeg.spec @@ -15,12 +15,12 @@ %bcond lv2 0 %if %{with all_codecs} -%bcond rtmp 1 +%bcond librtmp 1 %bcond vvc 1 %bcond x264 1 %bcond x265 1 %else -%bcond rtmp 0 +%bcond librtmp 0 %bcond vvc 0 %bcond x264 0 %bcond x265 0 @@ -109,7 +109,7 @@ BuildRequires: pkgconfig(zlib) # BuildRequires: pkgconfig(openh264) BuildRequires: pkgconfig(libopenjp2) BuildRequires: texinfo -%if %{with rtmp} +%if %{with librtmp} BuildRequires: librtmp-devel %endif BuildRequires: pkgconfig(xevdb) From ee034abbcd7eac06c69f98ef8f323d08b6b8bc39 Mon Sep 17 00:00:00 2001 From: Jingwiw Date: Fri, 22 May 2026 20:49:42 +0800 Subject: [PATCH 2/2] SPECS: ffmpeg: Use pkgconfig for librtmp Signed-off-by: Jingwiw --- SPECS/ffmpeg/ffmpeg.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/ffmpeg/ffmpeg.spec b/SPECS/ffmpeg/ffmpeg.spec index 119de77d7c..6c6c4253f0 100644 --- a/SPECS/ffmpeg/ffmpeg.spec +++ b/SPECS/ffmpeg/ffmpeg.spec @@ -110,7 +110,7 @@ BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libopenjp2) BuildRequires: texinfo %if %{with librtmp} -BuildRequires: librtmp-devel +BuildRequires: pkgconfig(librtmp) %endif BuildRequires: pkgconfig(xevdb) BuildRequires: pkgconfig(xeveb)