configure: rely on libplacebo to find vulkan
It detects it on Android and we don't. Since the vulkan code is only used with libplacebo, we should only enable it when libplacebo can use it (and the user allows it).
Merge request reports
Activity
changed milestone to %4.0
added Component::Build system label
added MRStatus::NotCompliant label
added 13 commits
-
79cd13f0...a60ff650 - 10 commits from branch
videolan:master
- 1740258c - configure: use libplacebo pkg-config file to find optional components
- 42e89f29 - configure: disable libplacebo Vulkan code if the user doesn't want it
- e53d4d7b - configure: let libplacebo decide if it uses vulkan and with what version
Toggle commit list-
79cd13f0...a60ff650 - 10 commits from branch
Point is, we don't need the one from libplacebo, we don't need to depend on an external dependency and buildsystem just to tell the buildsystem one package is not provided throught pkgconfig. Just write the proper detection for android (again, like we already do for Opengl here https://code.videolan.org/videolan/vlc/-/blob/master/configure.ac?ref_type=heads#L438-442, and here !6515 (d8c0fcd4))
I did that originally but then realized it's useless since there is no other use. The detection of the header is easy, but then if there are link flags needed that's just a wild guess per platform (ugly). Given the macOS build failure I assume it needs some C++ runtime in addition to some other libraries. That's all things we don't need to care about because libplacebo does all the dirty work for us. And then we don't need any of that without libplacebo.
mentioned in merge request !7001 (merged)