Skip to content

Commit

Permalink
deps.ffmpeg: Remove MbedTLS CMake files from macOS FFmpeg package
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PatTheMav authored and RytoEX committed Sep 4, 2024
1 parent d6c028e commit ab17571
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-deps.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ab17571

Please sign in to comment.