Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libsndfile] Make libsndio optional to avoid ffmpeg breakage #26050

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Nov 27, 2024

Summary

Changes to recipe: libsndfile/1.2.2

Motivation

The FFMPEG is being affected by the PR #23150, where not libsndio is always required now, but uses ALSA always as well.

First, libsndio only work on Windows, so it makes FFMPEG not possible to be used in Windows. Second, consuming ALSA by default creates a conflict when consuming FFMPEG as well:

ERROR: There are invalid packages:
libsndio/1.9.0: Invalid: libsndio/1.9.0 requires libalsa to be built as a shared library

Details

The libsndfile has no exported option for sndio, but it's optional:

The libsdnio only has the version 1.9.0 maintained in ConanCenterIndex. The Linter found dead code based on old versions. The code was remove (kudos @perseoGI )


Signed-off-by: Uilian Ries <[email protected]>
Signed-off-by: Uilian Ries <[email protected]>
Signed-off-by: Uilian Ries <[email protected]>
Copy link
Contributor

@perseoGI perseoGI left a comment

Choose a reason for hiding this comment

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

LGTM

@uilianries uilianries merged commit 788d5fc into conan-io:master Nov 27, 2024
9 checks passed
@uilianries uilianries deleted the hotfix/libsndio-alsa branch November 27, 2024 12:46
@valgur
Copy link
Contributor

valgur commented Nov 27, 2024

Take a look at #25543 as well, please.

OMGtechy pushed a commit to OMGtechy/conan-center-index that referenced this pull request Dec 31, 2024
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