mirror of
https://github.com/kirbylink/mpv-natives
synced 2026-10-13 06:00:26 +02:00
mpv is dual-licensed (LGPL-2.1+/GPL-2+). We build it with -Dgpl=false and FFmpeg without --enable-gpl (every enabled feature - mjpeg/png encoders, spdif muxer, libdav1d, all decoders - is LGPL-available), so the resulting library is LGPL-2.1-or-later instead of GPL. That is the license path applications embedding libmpv in-process (via JNA, as jlibmpv does) need, since a GPL build's copyleft obligations would reach into them. Also ship a LICENSE-NOTICE.txt with each release and fix the release workflow's reference to the reusable workflows' job outputs (needs.<id>. <jobname>.outputs). Docs: README license section now states the LGPL position explicitly.