Build static FFmpeg library on macOS

This patch modifies linux/ffmpeg-install.sh to work also for macOS.
The FFmpeg libraries are installed under /usr/local both for Linux
and macOS.

Since macOS x64 does not have the lzma lib for arm64 architecture
installed by default, I disable this libraries for FFmpeg. This
only affects the TIFF image decoder that we do not use.

Added the execute permission to the ubuntu scripts.

Change-Id: Ib8623c6a9bcdd24c89045ede0494839fb9cd2ecc
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Piotr Srebrny
2022-06-24 17:32:30 +02:00
parent e1d4acf4b0
commit 51c663d171
12 changed files with 79 additions and 26 deletions

View File

@@ -1 +1 @@
--disable-programs --disable-doc --disable-debug --disable-network --enable-pic
--disable-programs --disable-doc --disable-debug --disable-network --disable-lzma --enable-pic