Skip to content

fix(pipewire): disable opus codec support#17227

Draft
binujp wants to merge 1 commit into
tomls/base/mainfrom
bphilip/opus-pipewire-elide
Draft

fix(pipewire): disable opus codec support#17227
binujp wants to merge 1 commit into
tomls/base/mainfrom
bphilip/opus-pipewire-elide

Conversation

@binujp
Copy link
Copy Markdown
Contributor

@binujp binujp commented May 14, 2026

Summary

Disable opus and bluez5-codec-opus in pipewire's meson build config. Opus requires CELA review per Microsoft codec guidance.

Changes

  • Added spec-search-replace overlay to inject -D opus=disabled -D bluez5-codec-opus=disabled into the meson configuration
  • pipewire's meson.build requires opus as a dependency (default: auto) — without this, builds fail when opus-devel is unavailable

Testing

  • Built pipewire successfully
  • Verified pipewire-libs has no opus dependency (rpm -qpR shows no opus)
  • Smoke-tested in mock chroot: pipewire --version works correctly

Part of the opus codec removal effort.

Copilot AI review requested due to automatic review settings May 14, 2026 18:09
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

Note

Copilot was unable to run its full agentic suite in this review.

Disables Opus codec support in PipeWire builds to comply with Microsoft codec guidance and avoid build failures when opus-devel isn’t available.

Changes:

  • Adds Meson flags to disable opus and bluez5-codec-opus during %meson configuration in the spec.
  • Adds a spec-search-replace overlay intended to inject the same Meson disable flags.
  • Updates the pipewire.lock input fingerprint.

Reviewed changes

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

File Description
specs/p/pipewire/pipewire.spec Adds Meson args to disable Opus/BlueZ Opus codec support at build time.
base/comps/pipewire/pipewire.comp.toml Adds an overlay to inject the same Meson flags via spec search/replace.
locks/pipewire.lock Updates the input fingerprint to reflect the changed inputs.

Comment thread base/comps/pipewire/pipewire.comp.toml Outdated
Comment thread base/comps/pipewire/pipewire.comp.toml Outdated
@binujp binujp marked this pull request as draft May 14, 2026 18:36
@binujp binujp force-pushed the bphilip/opus-pipewire-elide branch from 0a2bca8 to 204581c Compare May 14, 2026 19:09
Disable opus and bluez5-codec-opus in pipewire's meson build config.
Opus requires CELA review per Microsoft codec guidance.

Pipewire's meson.build requires opus as a dependency (default: auto).
Without this overlay, the build fails when opus-devel is unavailable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@binujp binujp force-pushed the bphilip/opus-pipewire-elide branch from 204581c to 06c5187 Compare May 14, 2026 19:19
@github-actions
Copy link
Copy Markdown

📄❌ Rendered specs are out of date

FIX: — run this and commit the result:

azldev component render -a --clean-stale

Or download the fix patch and apply it:

gh run download 25880454780 -R microsoft/azurelinux -n rendered-specs-patch
git apply rendered-specs.patch
Category Count
Content diffs 0
Extra files (untracked) 5
Missing files (deleted) 13

Files to add

These files are produced by azldev component render but are missing from your branch. Add them.

  • specs/g/golang-github-coreos-semver/RENDER_FAILED
  • specs/k/kde-qdoc-common/RENDER_FAILED
  • specs/p/python-wurlitzer/RENDER_FAILED
  • specs/s/slapi-nis/RENDER_FAILED
  • specs/s/srt/RENDER_FAILED

Files to remove

These files are in your branch but are not produced by render. Remove them.

  • specs/g/golang-github-coreos-semver/golang-github-coreos-semver.spec
  • specs/g/golang-github-coreos-semver/sources
  • specs/k/kde-qdoc-common/kde-qdoc-common.spec
  • specs/k/kde-qdoc-common/sources
  • specs/p/python-wurlitzer/python-wurlitzer.spec
  • specs/p/python-wurlitzer/sources
  • specs/s/slapi-nis/slapi-nis-eq_once_rel.patch
  • specs/s/slapi-nis/slapi-nis-rhbz2341357-fix.patch
  • specs/s/slapi-nis/slapi-nis.spec
  • specs/s/slapi-nis/sources
  • specs/s/srt/0001-build-Update-for-compatibility-with-CMake-4.x-3167.patch
  • specs/s/srt/sources
  • specs/s/srt/srt.spec

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.

2 participants