Description
Is your feature request related to a problem? Please describe.
The way that the use of bundled depencencies is "hardcoded" into the program right now makes flycast difficult to package--dependencies cannot get updated on their own, and space and cycles are wasted recompiling things.
Describe the solution you'd like
The build process would check, for every dep, if the host system has an appropriate copy of that package installed; only if it's missing (and perhaps a USE_BUNDLED_DEPS
option is unset) will the packages in core/deps be compiled and used. This would be more scalable than a USE_HOST_X
option for every dep, like what seems to be developing now; if packaging systems want more granular control over what deps they want to keep vendored, they can be trusted to control their build environment appropriately.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I have been trying on my own to unbundle things, but I am in over my head, I'm afraid.
Sorry for making so much noise on this topic recently, and please let me know if this is unreasonable.
Activity