v0.97.0: macOS port (Round 129): OS-aware paths, config and cookies; Mac now-playing, packaging (PyInstaller .app, dmg build, signing notes, CI workflow) and docs
macOS / Tests (AppleSilicon) (push) Canceled after 0s
macOS / Tests (Intel) (push) Canceled after 0s
macOS / Build (AppleSilicon) (push) Canceled after 0s
macOS / Build (Intel) (push) Canceled after 0s
macOS / Publish the GitHub Release (push) Canceled after 0s

This commit is contained in:
2026-11-17 22:41:48 -08:00
parent b78b6c5275
commit f21c31940f
66 changed files with 6047 additions and 164 deletions
+54
View File
@@ -0,0 +1,54 @@
# Third-party software in LinTunes.app
LinTunes.app is built with PyInstaller and carries the Python libraries
LinTunes depends on, plus two command-line tools. Their license texts are
in `Contents/Resources/licenses/` inside the app.
## Command-line tools (Contents/MacOS)
| Tool | Version | Where it comes from | License |
|---|---|---|---|
| `ffmpeg`, `ffprobe` | 9.0.2 | Static build by Martin Riedl, <https://ffmpeg.martin-riedl.de>, release builds for macOS arm64 and amd64 | **GPL-3.0-or-later** (configured `--enable-gpl --enable-version3`, with libmp3lame, libopus, libvorbis, x264, x265 and others) |
| `fpcalc` | 1.6.2 | Chromaprint's own release binaries, <https://github.com/acoustid/chromaprint/releases/tag/v1.6.2> | LGPL-2.1-or-later as a whole; Chromaprint's own code MIT (`chromaprint-LICENSE.md`) |
The exact download URLs and their SHA-256 hashes are pinned in
`packaging/mac/tools.json`; `packaging/mac/fetch_tools.py` refuses any file
whose hash differs.
**Source for the GPL'd ffmpeg binary.** FFmpeg 9.0.2's source is at
<https://ffmpeg.org/releases/> (`ffmpeg-9.0.2.tar.xz`), and the script that
built this binary, with every library version it used, is at
<https://git.martin-riedl.de/ffmpeg/build-script>. If either goes away,
whoever distributes LinTunes.app must still be able to provide the
corresponding source on request for three years (GPL-3.0 §6) — keep a copy
of both with each release.
LinTunes runs these as separate programs (it never links them), so their
licenses cover the binaries themselves.
## Python and libraries bundled by PyInstaller
| Component | License |
|---|---|
| Python | PSF License |
| PyQt6 | **GPL-3.0** (Riverbank's GPL edition) |
| Qt 6 (from the PyQt6-Qt6 wheel), including Qt Multimedia and the FFmpeg libraries it ships | LGPL-3.0 (FFmpeg libraries in the wheel: LGPL-2.1+) |
| numpy | BSD-3-Clause |
| mutagen | GPL-2.0-or-later |
| requests, certifi | Apache-2.0, MPL-2.0 |
| pychromecast, casttube | MIT |
| pyatv, and its dependencies (aiohttp, cryptography, zeroconf, protobuf, pydantic, srptools, miniaudio, …) | MIT / Apache-2.0 / BSD / LGPL-2.1 (zeroconf) |
| pyobjc | MIT |
Because PyQt6 and mutagen are GPL, the app as distributed is a GPL
combination: LinTunes itself must be offered under GPL-3.0-compatible terms
for the .dmg to be redistributable (see docs/mac-release.md).
## Not bundled
- `yt-dlp` (File › Import from URL): install it yourself, `brew install
yt-dlp`. YouTube changes often enough that a copy frozen inside the app
would stop working within weeks, and the app's own copy can't update
itself inside a signed bundle.
- Syncthing (Cassette), Demucs and Spleeter (DJ vocals): installed
separately, as on Linux.