New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C headers and pkgconfig not installed with --enable-cplugins #7918
Comments
I don't think you need pkgconfig for cplugins. I think the only thing you need is |
The only C plugin I have experience with is https://github.com/hoyon/mpv-mpris, and it required these headers when I tried to compile it:
its Makefile also looked for a pkgconfig:
I can't speak for other plugins, tho. |
What I said earlier was wrong. You don't need any headers or anything to run a plugin at all (my bad). You only need the development files to compile the .so plugin. So it's just a make dependency but not an actual runtime one. After you have the .so file, you can just use it like you use a lua script. |
Not sure why I did not close this ages ago, but as explained above the libmpv development files are not needed to simply run cplugins. You only need those if you are actually building some yourself. |
mpv version and platform versions
mpv-0.32.0-r1 on Gentoo Linux
Reproduction steps
When building mpv with
--enable-cplugins
, I would expect headers and pkgconfig to be installed, to be able to build C plugins. This does not happen.--enable-libmpv-shared
does install these however, which for mere plugin-building shouldn't be necessary (verified by copying headers and defining their locations manually) and imo is not immediately clear.Expected behavior
Install headers and pkgconfig
Actual behavior
Doesn't install headers and pkgconfig
Log file
config.log without --enable-libmpv-shared
Also see https://bugs.gentoo.org/703360
Thanks a lot!
The text was updated successfully, but these errors were encountered: