Commit Graph
2 Commits
Author SHA1 Message Date
zarzet 690da56e35 build(desktop): smaller desktop packages
- FFmpeg ships as shared libraries beside ffmpeg and ffprobe instead
  of two static programs that each carried every codec: the
  lgpl-shared builds on Windows and Linux (RUNPATH $ORIGIN on Linux)
  and a shared build on macOS without video decoders the app does not
  need.
- Bundles leave out assets the platform never loads: web helper
  files, glass shaders of other renderers and the licenses of
  Android-only libraries. The Skia glass shaders stay, as Linux runs
  without Impeller on NVIDIA.
- Runners compile for size, and Linux strips its libraries except
  libapp.so and the Flutter engine.
- Tighter compression: zstd for the AppImage, xz for the deb, LZMA2
  ultra for the installer, the highest zip level, and no .pdb or
  import libraries in the Windows zip.
- package_macos_dmg.sh packages a single architecture on request.

Untested here: needs a desktop build on each platform.
2026-11-22 00:21:30 +07:00
zarzet dbb59e7ae5 build(desktop): bundle the staged ffmpeg and ffprobe in desktop apps
An Xcode "Embed FFmpeg" phase copies build/ffmpeg/macos-universal (or
the host architecture) into Contents/Resources/ffmpeg and signs the
tools; MORNYE_REQUIRE_FFMPEG=1 turns a missing stage into an error.
Linux installs them into lib/ffmpeg and Windows into ffmpeg\, warning
when nothing is staged. A macOS integration test converts and probes
with the bundled tools.
2026-10-20 16:13:08 +07:00