mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-24 21:57:45 +08:00
FFmpeg, iOS: Automatically grab FFmpeg version in Info.plist manifest
Our iOS FFmpeg provisioning includes build info.plist manifest files for the FFMpeg framework files. This manifest includes the version of FFmpeg that we are deploying. This version string is currently hardcoded and does not match the version we are actually building. This patch changes the 'install-ffmpeg-ios.sh' script to programmatically grab the FFmpeg version from our related scripts, and inserts it in the info.plist manifest. Pick-to: 6.10 Task-number: QTBUG-136480 Change-Id: Iafeaade2ff6f2a933a0ba48749af459eef37ab51 Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
This commit is contained in:
@@ -2,8 +2,12 @@
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
ffmpeg_version_default() {
|
||||
echo "n7.1.2"
|
||||
}
|
||||
|
||||
download_ffmpeg() {
|
||||
local version="${1:-n7.1.2}"
|
||||
local version="${1:-$(ffmpeg_version_default)}"
|
||||
local sha1="${2:-1e4e937facdbde15943dd093121836bf69f27c7c}"
|
||||
|
||||
local ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
Reference in New Issue
Block a user