FFmpeg: reduce the number of frameworks we create

to the same libraries we build e.g. on macOS. Also, clean up the
script a bit removing a duplicate configure option.

Pick-to: 6.9 6.8
Task-number: QTBUG-133502
Change-Id: If06aad102783bc3025155d3427aa68d87ad4d179
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
This commit is contained in:
Timur Pocheptsov
2025-02-19 11:42:06 +01:00
parent 5be87122b1
commit a4110ed94f

View File

@@ -46,7 +46,6 @@ build_ffmpeg_ios() {
--nm="$(xcrun --sdk ${target_sdk} --find nm)" \
--target-os=darwin \
--extra-ldflags="$minos" \
--enable-cross-compile \
--enable-shared \
--disable-static \
--install-name-dir='@rpath' \
@@ -172,7 +171,7 @@ create_xcframework() {
build_ffmpeg_ios "arm64-simulator"
build_ffmpeg_ios "arm64"
ffmpeg_libs="libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale"
ffmpeg_libs="libavcodec libavformat libavutil libswresample libswscale"
for name in $ffmpeg_libs; do
create_framework $name "arm64"