Skip to content

SPECS: ffmpeg: Align librtmp build condition#500

Open
Jingwiw wants to merge 2 commits into
openRuyi-Project:mainfrom
Jingwiw:cleanup-bcond/ffmpeg-librtmp-option
Open

SPECS: ffmpeg: Align librtmp build condition#500
Jingwiw wants to merge 2 commits into
openRuyi-Project:mainfrom
Jingwiw:cleanup-bcond/ffmpeg-librtmp-option

Conversation

@Jingwiw
Copy link
Copy Markdown
Member

@Jingwiw Jingwiw commented May 23, 2026

Changes

  • Align the librtmp bcond, BuildRequires, and configure option.

    The spec already passes --enable-librtmp under %{with librtmp}, but the bcond and BuildRequires were guarded by %{with rtmp}. Use one librtmp condition so all_codecs controls both dependency selection and the configure option.

    Source: configure

    --enable-librtmp         enable RTMP[E] support via librtmp [no]
  • Use pkgconfig(librtmp) for the librtmp build dependency.

    FFmpeg checks librtmp through pkg-config, so the BuildRequires should name that provider interface instead of the downstream devel package name.

    Source: configure

    enabled librtmp           && require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket

AIGC Declaration: CodeX with gpt5.5 was used as coding agent.

Signed-off-by: Jingwiw wangjingwei@iscas.ac.cn

Jingwiw added 2 commits May 22, 2026 15:54
Signed-off-by: Jingwiw <wangjingwei@iscas.ac.cn>
Signed-off-by: Jingwiw <wangjingwei@iscas.ac.cn>
@openruyi-bot openruyi-bot Bot added BuildSystem: autotools Issue/PR related to autotools BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise. labels May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BuildSystem: autotools Issue/PR related to autotools BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant