Closed tomazos closed 2 years ago
Also there was some problem with self.deps_cpp_info["libalsa"].shared
, it wasn't coming out a bool for some reason, so when you set it to False it didn't work. Same for self.deps_cpp_info["pulseaudio"].shared
. This is unrelated to the above, and I think they never worked.
Indeed, good catch. Fixed in https://github.com/conan-io/conan-center-index/pull/8609
Also there was some problem with self.deps_cpp_info["libalsa"].shared, it wasn't coming out a bool for some reason, so when you set it to False it didn't work. Same for self.deps_cpp_info["pulseaudio"].shared. This is unrelated to the above, and I think they never worked.
It's surprising, maybe a regression in conan client? I'm pretty sure it used to return bool.
I can't remember what the type was, but you can reproduce it in the cmake config output. It had like ALSA_SHARED = <some python type>
.
The cmake defines that upstream SDL uses have been changed in a recent version (mainly to include
SDL_
prefix, but that isn't consistent), so the ones that recipes/sdl/all/conanfile.py uses in_configure_make
no longer work as of at least 2.0.18.Package and Environment Details
Here is a rough patch to demonstrate some of the needed changes. (I discovered this from cmakes warning about unused defines). I guess to do this properly the maintainer would need to make it conditional on SDL version which names to use.