conda-forge / portaudio-feedstock

A conda-smithy repository for portaudio.
BSD 3-Clause "New" or "Revised" License
2 stars 9 forks source link

Build on macOS #2

Closed jakirkham closed 3 years ago

jakirkham commented 5 years ago

Looks like it is possible to build this on macOS. Would be nice to have a macOS build of it.

ref: http://portaudio.com/docs/v19-doxydocs/compile_mac_coreaudio.html

traversaro commented 3 years ago

For anyone interested in this, I noticed that the AnacondaRecipes fork of this repos has macOS build support, see https://github.com/conda-forge/portaudio-feedstock/compare/master...AnacondaRecipes:master .

scopatz commented 3 years ago

PRs welcome!

cbrnr commented 3 years ago

So would the patch work with this package? Or are there any additional changes that need to be implemented?

scopatz commented 3 years ago

It is probably worth a try

cbrnr commented 3 years ago

I don't have the time to do that right now, mainly because I am totally unfamiliar with both Anaconda/conda-forge and this package. Could you maybe explain what the difference is between this recipe and the one from Anaconda? Would copying the Anaconda recipe be a viable option? Even if these recipes are 100% identical it would be useful because then people wouldn't have to mix channels and could work with conda-forge-only packages.

scopatz commented 3 years ago

The difference between this and anaconda is the ownership and maintenance. Porting fixes from the anaconda one is totally Ok as long as they follow the BSD-3-Clause license

traversaro commented 3 years ago

A new portaudio version should be released soon with a CMake-based build system (see https://github.com/PortAudio/portaudio/pull/465), so an alternative is to switch to use the CMake-based build system, at in that case targeting macOS may be easier.

jakirkham commented 3 years ago

Well macOS already supports autoconf-style builds. It’s just a question of making sure the dependencies are available and doing the build