From 23079c0ece5b0756988d49b4851bb0390abef1e6 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 21 May 2026 21:25:25 +0100 Subject: [PATCH] fix(ffmpeg): only do git fetch for dependencies we're actually building Gentoo uses the system-wide versions, so these directories are empty, causing git to fail. Signed-off-by: James Le Cuirot --- a/third-party/build-deps/cmake/ffmpeg/_main.cmake +++ b/third-party/build-deps/cmake/ffmpeg/_main.cmake @@ -1,12 +1,3 @@ -# x265.pc will not be installed if their cmake cannot detect the latest tag -# SVT-AV1 cannot determine version if the git history is not available -foreach(repo "x265_git" "SVT-AV1") - execute_process( - COMMAND git -C "${CMAKE_CURRENT_SOURCE_DIR}/third-party/FFmpeg/${repo}" fetch --tags --depth=1 - COMMAND_ERROR_IS_FATAL ANY - ) -endforeach() - # the destination directory needs to be same level down as the original source directory file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/third-party/FFmpeg DESTINATION ${CMAKE_CURRENT_BINARY_DIR} PATTERN "Vulkan-Loader/tests" EXCLUDE) # vulkan loader test files contain emojis in file names which can fail