RFE: add possibility to define and check non-pkg-config based dependencies
I'm basing one whole discussion under issue ticket https://github.com/fwupd/fwupd/issues/4976
Current situaltion meson over python/python3 module provides possibility to check presence of exact python modules in build env however notw it is not possible to propagate those dependencies over .pc fails. fwupd example is probably one of the best examples of such issues when gi-docgen
needs some python modules and it fails because its own dependencies have not been propagated over its .pc file.
Proposal: provide possibility to add python(<module_name>)
type of dependencies which would be possible to query using pkg-config
command and use that kind of dependencies in .pc files Requires:
. In future this could be extended to check other dependencies like perl, R, java or any other (by use perl(<module::name>)
R(), java() and so on).