mirror of
https://github.com/kirbylink/mpv-natives
synced 2026-10-12 05:40:26 +02:00
Add a native x86_64 Linux build (ci/build-libmpv-linux.sh, build-linux.yml). Every dependency is static and linked into a single libmpv.so; only glibc/pthread/dl/m and the system zlib remain external. The Linux-only additions are the font stack (fontconfig -> expat, where macOS/Windows use CoreText/DirectWrite) and alsa audio output; gl is the plain render-API support (no X11/Wayland context, since jlibmpv supplies the GL context via JOGL). For consistency, ship a single native per platform and no public headers (jlibmpv loads the library via JNA and never compiles against it). Remove the accidental header/import-library copies from the Windows build and the phantom header copy from the macOS build.