Skip to content

fix(gstreamer1-plugins-base): remove dependency on opus to drop it#17121

Open
binujp wants to merge 1 commit into
tomls/base/mainfrom
bphilip/opus-gstreamer1-plugins-base-elide
Open

fix(gstreamer1-plugins-base): remove dependency on opus to drop it#17121
binujp wants to merge 1 commit into
tomls/base/mainfrom
bphilip/opus-gstreamer1-plugins-base-elide

Conversation

@binujp
Copy link
Copy Markdown
Contributor

@binujp binujp commented May 11, 2026

Remove opus-devel BuildRequires, add -Dopus=disabled meson flag, and
remove libgstopus.so from %files. This is to allow removal of the opus package from AZL.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Part of the effort to remove opus, opusfile, and mingw-opus from Azure Linux.

Copilot AI review requested due to automatic review settings May 11, 2026 05:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the gstreamer1-plugins-base component to remove its build-time and runtime packaging dependency on opus, aligning with the effort to drop opus (and related packages) from Azure Linux.

Changes:

  • Drops opus-devel from BuildRequires and disables the opus meson option (-D opus=disabled) during %build.
  • Removes the libgstopus.so plugin from the packaged %files list.
  • Introduces a dedicated component definition with overlays and updates the component lock fingerprint accordingly.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
specs/g/gstreamer1-plugins-base/gstreamer1-plugins-base.spec Rendered spec reflects removal of opus-devel, adds -D opus=disabled, and stops packaging libgstopus.so.
locks/gstreamer1-plugins-base.lock Updates input fingerprint to match the component definition changes.
base/comps/gstreamer1-plugins-base/gstreamer1-plugins-base.comp.toml Adds overlays to remove the BR, inject the meson flag, and remove the opus plugin from %files.
base/comps/components.toml Removes the inline component entry now that a dedicated .comp.toml defines the component.

section = "%build"
regex = '-D tremor=disabled'
replacement = """-D opus=disabled \\
-D tremor=disabled"""
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid referencing an unrelated option?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using %meson \ as your anchor point

Remove opus-devel BuildRequires, add -Dopus=disabled meson flag, and
remove libgstopus.so from %files. This is to allow removal of the opus package from AZL.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@binujp binujp force-pushed the bphilip/opus-gstreamer1-plugins-base-elide branch from cb4d114 to abcfddd Compare May 11, 2026 15:03
section = "%build"
regex = '-D tremor=disabled'
replacement = """-D opus=disabled \\
-D tremor=disabled"""
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using %meson \ as your anchor point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants