The remote inspector support has a hard requirement on the plugin, and the plugin hard-requires shared-mime-info or otherwise resources served by the remote inspector won't include a Content-Type header and the client will fail to load them.
Reflect the above by making wpewebkit-web-inspector-plugin have a runtime dependency on shared-mime-info, and then making wpewebkit depend on wpewebkit-web-inspector-plugin when remote-inspector is enabled in PACKAGECONFIG.
The remote inspector support has a hard requirement on the plugin, and the plugin hard-requires shared-mime-info or otherwise resources served by the remote inspector won't include a Content-Type header and the client will fail to load them.
Reflect the above by making wpewebkit-web-inspector-plugin have a runtime dependency on shared-mime-info, and then making wpewebkit depend on wpewebkit-web-inspector-plugin when remote-inspector is enabled in PACKAGECONFIG.
This PR is a rebase of https://github.com/Igalia/meta-webkit/pull/318