mirror of
https://github.com/citron-neo/emulator.git
synced 2026-07-05 15:21:57 -07:00
c2473a7a24
- Add download_with_retry() helper with exponential back-off (5s→10s→20s) replacing bare wget calls throughout the script - Convert three silent return-0 failure paths in rebuild_ffmpeg_pthread_free (download failure, extraction failure, zero libs installed) to hard errors; previously these allowed cmake to be invoked with a -DCITRON_FFMPEG_STATIC_DIR pointing to a directory that was never created, producing a fatal but misleading CMake error about a missing RELEASE file - Gate -DCITRON_FFMPEG_STATIC_DIR in build_common_cmake_args on the .llvm_static_built sentinel rather than FFMPEG_VERSION being set - Add .ffmpeg_src_ready sentinel written after clean extraction; Priority 1 source cache reuse now requires this sentinel so partial extractions are detected and wiped rather than silently reused - Verify tarball integrity with tar -tjf before extraction - Tighten MSYS2 path filter in CopyMinGWDeps.cmake from ([/\])msys64([/\]) to require a known system subdirectory (usr|clang64|ucrt64|mingw64|mingw32) after msys64; previously the broad match silently excluded all Qt DLLs when CPM_SOURCE_CACHE resided under the default MSYS2 home directory - Replace sequential git ls-remote loop (up to 11 round-trips) for BOLT tag discovery with a single call filtered by sort -V - Replace grep -oP lookbehind patterns for stage sentinel reads with awk -F= for portability across MSYS2 grep variants