Support building NPAPI plugin against npapi-sdk package
NPAPI-SDK is a project providing a tiny set of headers required to build NPAPI plugins. That project is already reused by a few browsers for their NPAPI interface.
We [Gentoo] have started making the project reusable for browser plugins as well. For that reason, the code has been temporarily forked, and the forked version provides npapi-sdk
pkg-config package necessary for packages to built against it. The patches will be pushed to upstream repo in a few days.
In the meantime, we'd like to request packages providing NPAPI plugins to prepare their sources to support building against npapi-sdk
. A pkg-config package with that name will be provided by it, with a version corresponding to NPAPI version.
The work has been started against NPAPI-SDK 0.27 which corresponds to Firefox 6.0/libxul 2.0.
I'm attaching a simple patch introducing npapi-sdk support in VLC. It is a little bit ugly though, and I guess versioning could be done simpler.
Relevant: Gentoo bug for it