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

Add portaudio v19.7.0 #1377

Closed
wants to merge 2 commits into from
Closed

Conversation

akemimadoka
Copy link

Description

Add portaudio v19.7.0

This version fixed bug PortAudio/portaudio#395, this bug makes macOS Big Sur unable to open audio device

Related Issue

Motivation and Context

How Has This Been Tested?

@@ -14,27 +14,22 @@ class ConanRecipe(ConanFile):
"fPIC": [True, False],
"with_alsa": [True, False],
"with_jack": [True, False],
"cpp_bindings": [True, False],
Copy link
Member

Choose a reason for hiding this comment

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

Why did you delete this option? If was explicitly added in #1328

Copy link
Author

Choose a reason for hiding this comment

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

cpp_bindings seems not supported in CMake for now(PortAudio/portaudio#539), so I removed it. if CMake is not good enough, I will change the recipe to use Autotools and add it back.


def configure(self):
del self.settings.compiler.libcxx
del self.settings.compiler.cppstd
Copy link
Member

Choose a reason for hiding this comment

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

I think that I'm missing context here. Is it now C++?

cmake.configure()
cmake.build()
cmake = self._configure_cmake()
cmake.build()
Copy link
Member

Choose a reason for hiding this comment

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

There probably was a reason for using Autotools on Linus and macOS before. Got CMake support good enough for all platforms now?



cmake = self._configure_cmake()
cmake.install()
Copy link
Member

Choose a reason for hiding this comment

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

Similar question, just to make sure: CMake is now installing all relevant files on all platforms?

@akemimadoka
Copy link
Author

I tested the recipe in Windows 7, Ubuntu 20.04, and macOS Big Sur, it seems CMake is working well but lacks the support for cpp_bindings. Would it be better to change the recipe back and use Autotools?

@Croydon
Copy link
Member

Croydon commented Apr 9, 2021

I don't know, but I assume there was a reason for doing it like that in the first place. What was your motivation to change it to CMake-only?

@akemimadoka
Copy link
Author

In PortAudio/portaudio#434, they seemed to reach a consensus that they would consider removing support for other build systems, so I think making this recipe CMake-only is helpful for compatibility with later versions

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