Skip to content

fix(freerdp): remove dependency on opus to drop it#17119

Merged
reubeno merged 1 commit into
tomls/base/mainfrom
bphilip/opus-freerdp-elide
May 12, 2026
Merged

fix(freerdp): remove dependency on opus to drop it#17119
reubeno merged 1 commit into
tomls/base/mainfrom
bphilip/opus-freerdp-elide

Conversation

@binujp
Copy link
Copy Markdown
Contributor

@binujp binujp commented May 11, 2026

Remove BuildRequires: pkgconfig(opus) and set -DWITH_OPUS=OFF in
cmake flags. FreeRDP no longer requires the opus package.

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 freerdp component to remove its dependency on opus by dropping the pkgconfig(opus) build requirement and disabling Opus support in the CMake configuration, aligning with the broader effort to remove opus/opusfile/mingw-opus from Azure Linux.

Changes:

  • Removed BuildRequires: pkgconfig(opus) from the rendered freerdp.spec.
  • Switched the build configuration from -DWITH_OPUS=ON to -DWITH_OPUS=OFF.
  • Added a dedicated freerdp.comp.toml with overlays and removed the inline freerdp entry from base/comps/components.toml.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
specs/f/freerdp/freerdp.spec Rendered spec updated to drop Opus BuildRequires and disable Opus via CMake flag.
locks/freerdp.lock Updated input fingerprint to reflect the component definition changes.
base/comps/freerdp/freerdp.comp.toml New component overlay file implementing the Opus removal/disablement.
base/comps/components.toml Removed inline freerdp component entry now that it has a dedicated .comp.toml.

Comment on lines +11 to +15
[[components.freerdp.overlays]]
description = "Disable opus audio codec in FreeRDP (-DWITH_OPUS=OFF)"
type = "spec-search-replace"
section = "%build"
regex = '-DWITH_OPUS=ON \\'
@binujp binujp force-pushed the bphilip/opus-freerdp-elide branch from 7dd1670 to d45c225 Compare May 11, 2026 15:02
Remove BuildRequires: pkgconfig(opus) and set -DWITH_OPUS=OFF in
cmake flags. FreeRDP no longer requires the opus package.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@binujp binujp force-pushed the bphilip/opus-freerdp-elide branch from d45c225 to 74f95e6 Compare May 11, 2026 15:25
@reubeno reubeno merged commit 6bed8e7 into tomls/base/main May 12, 2026
10 checks passed
@reubeno reubeno deleted the bphilip/opus-freerdp-elide branch May 12, 2026 10:20
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.

3 participants