# ffmpeg_lgpl.conf — SOURCED by scripts/build_ffmpeg_lgpl.sh and scripts/fetch_deps_mac.sh. # The ONE definition of the FFmpeg the mac app ships: version, source tarball, and configure line. # It also goes, verbatim, into the LGPL source package (scripts/make_ffmpeg_source_package.sh), # so what we build and what we offer as "the corresponding source" can never disagree. # # LGPL-2.1-or-later ONLY: no --enable-gpl / --enable-version3 / --enable-nonfree, no GPL external # library. MINIMAL: every encoder and muxer is off except the ones the app asks for by name # (scripts/ffmpeg_lgpl_components.json — the gate check_ffmpeg_license.py compares the code, this # line and the built dylibs against it). Decoders, demuxers, parsers, bsfs and protocols stay the # default set: footage must keep decoding exactly as before (A/B md5 in the 2026-09-30 commit). # libavdevice / libavfilter / the CLI programs are not linked by the app and are not built. FF_LGPL_VER="8.1.1" FF_LGPL_URL="https://ffmpeg.org/releases/ffmpeg-8.1.1.tar.xz" FF_LGPL_SHA="b6863adde98898f42602017462871b5f6333e65aec803fdd7a6308639c52edf3" # == Homebrew's ffmpeg.rb # Upstream's detached signature of that tarball, and the FFmpeg release signing key it must verify # against (https://ffmpeg.org/ffmpeg-devel.asc). Published next to the tarball so anyone can check it. FF_LGPL_ASC_URL="https://ffmpeg.org/releases/ffmpeg-8.1.1.tar.xz.asc" FF_LGPL_ASC_SHA="34e2109f97bededb42a3cb5e7b9a7bb67dd6fe4749a7bce630ec1c833caa2b37" FF_LGPL_SIGNING_KEY_URL="https://ffmpeg.org/ffmpeg-devel.asc" FF_LGPL_SIGNING_FPR="FCF986EA15E6E293A5644F10B4322F04D67658D8" # "FFmpeg release signing key " FF_LGPL_ABI=62 FF_LGPL_BREW_DEPS=(pkgconf dav1d libvpx opus) # BSD-2 / BSD-3 / BSD-3 — bundled by build_app.sh FF_LGPL_CONFIGURE=( --prefix=/enchant/ffmpeg-lgpl --install-name-dir=@rpath --enable-shared --disable-static --enable-pthreads --cc=clang --disable-autodetect --disable-programs --disable-doc --disable-avdevice --disable-avfilter --enable-zlib --enable-bzlib --enable-iconv --extra-libs=-liconv --enable-videotoolbox --enable-audiotoolbox --enable-neon --enable-libdav1d --enable-libopus --enable-libvpx --disable-encoders --enable-encoder=h264_videotoolbox,dnxhd,pcm_s16le --disable-muxers --enable-muxer=mov )