Rebuilding Setrika's FFmpeg CLI pair (macOS arm64) The exact unmodified source archive and detached PGP signature are included. Version: 9.0.2 Archive SHA256: 8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e Official URL: https://ffmpeg.org/releases/ffmpeg-9.0.2.tar.xz Pinned official release signing fingerprint: FCF986EA15E6E293A5644F10B4322F04D67658D8 Requirements: arm64 macOS, Apple Command Line Tools/SDK with clang and make, Python 3.12 or newer for the repository helper, GnuPG to check the signature. No encoder/codec libraries or Homebrew FFmpeg development libraries are needed. The build uses macOS system zlib and Secure Transport. Deployment target 11.0 is a compiler setting, not evidence that the binaries were tested on macOS 11. 1. Check SHA256 and use an isolated GnuPG home to import ffmpeg-devel.asc, verify its fingerprint matches the value above, and verify the .tar.xz.asc detached signature against the archive. The same fingerprint is published at https://ffmpeg.org/download.html . Keep source-verification.txt. 2. Extract ffmpeg-9.0.2.tar.xz. Create a separate empty build directory; do not edit the extracted tree. Source patches: none (changes.diff is empty). 3. In that build directory invoke ../ffmpeg-9.0.2/configure followed by every argument in BUILD.json's configure list (omit its leading ./configure). The prefix is /setrika-ffmpeg as a staging name, not a system install path. Set LC_ALL=C, SOURCE_DATE_EPOCH=1789699562 and ZERO_AR_DATE=1. Unset injected compiler/linker/include/library flags and set PKG_CONFIG_LIBDIR to an empty directory so unrelated external components cannot be detected. 4. Run make -j4, then make DESTDIR=/absolute/path/to/your/stage install. The outputs are stage/setrika-ffmpeg/bin/ffmpeg and ffprobe. FFmpeg's own libraries are statically included in these CLI executables; the application does not link them. Move/copy this pair together with the notices/source. 5. Run audit_setrika_ffmpeg.py --ffmpeg /path/to/ffmpeg --ffprobe /path/to/ffprobe --output AUDIT.json. Read its limited scope. It must reject GPL/nonfree/v3, external Homebrew dependencies and missing replay features. 6. Repeat the actual replay/preview/PTS smoke tests from the repository plan. A successful compile/audit alone is not behavioral or platform acceptance. Repository helper: python3 tools/build_setrika_ffmpeg.py --jobs 4 Its default output is .runtime/cetrika-dev/ffmpeg-lgpl/stage/setrika-ffmpeg. The included helper snapshots document this recipe; when using them directly, retain their repository-relative tools/ and assets/third-party/ffmpeg/ layout. The manual configure/make recipe above does not require Setrika source code. Builds are source/configuration reproducible, not promised byte-identical across Apple compiler/SDK versions. BUILD.json records compiler and output hashes. Windows cross/native build remains unqualified. Do not reuse the Mac artifacts or treat the macOS dependency audit as a Windows PE/DLL audit.