mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-01 08:57:32 +08:00
FFmpeg, iOS: Automatically grab version string from source code
This patch allows us to automatically grab the FFmpeg version string from the source code directly, rather than having to explicitly specify a version string inside ffmpeg-installation-utils. Pick-to: 6.11 Change-Id: I657302ab8566592390a51c6f5c3ee989d66efaaa Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
This commit is contained in:
@@ -2,12 +2,8 @@
|
||||
# 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.3"
|
||||
}
|
||||
|
||||
download_ffmpeg() {
|
||||
local version="${1:-$(ffmpeg_version_default)}"
|
||||
local version="${1:-"n7.1.3"}"
|
||||
local sha1="${2:-27051817deec88bed3b9652d49f9127d22268d83}"
|
||||
|
||||
local ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
Reference in New Issue
Block a user