From ab1757126aff4132e1ebda533589421b0807f3a0 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Wed, 4 Sep 2024 17:24:39 +0200 Subject: [PATCH] deps.ffmpeg: Remove MbedTLS CMake files from macOS FFmpeg package Once the project switches MbedTLS 3.6+, there needs to be a way to distinguish between older and newer versions on the obs-studio side. The path of least resistance is to use CMake package-based discovery for versions 3.6+ and find module-based discovery for older versions, which requires the older (current as of time of the commit) versions to not provide a CMake package as part of obs-deps. --- build-deps.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-deps.zsh b/build-deps.zsh index 7c9b352c8..d759eaabc 100755 --- a/build-deps.zsh +++ b/build-deps.zsh @@ -87,6 +87,7 @@ package() { rm -rf -- lib/^(*.dylib|*.a|*.so*|*.lib|*.framework|*.dSYM|cmake)(N) rm -rf -- lib/(libpcre*|libpng*|libfreetype.a)(N) + rm -rf -- lib/cmake/MbedTLS(N) rm -rf -- bin/^(*.exe|*.dll|*.pdb|swig)(N) if [[ ${PACKAGE_NAME} == ffmpeg ]] rm -rf -- lib/*.a(N)