2023-01-19 10:33:49 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
# SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
|
2022-10-10 11:35:41 +02:00
|
|
|
import sys
|
|
|
|
from pathlib import Path
|
2022-11-02 12:15:34 +01:00
|
|
|
from sys import stdout
|
2022-10-10 11:35:41 +02:00
|
|
|
|
2022-11-02 12:15:34 +01:00
|
|
|
stdout.reconfigure(encoding='utf-8')
|
|
|
|
|
2022-11-11 13:09:16 +01:00
|
|
|
# Defined by Qt
|
|
|
|
if sys.platform == "win32":
|
|
|
|
OS = "windows"
|
|
|
|
QT_PLATFORM = "msvc2019_64"
|
|
|
|
elif sys.platform == "darwin":
|
|
|
|
OS = "mac"
|
2022-11-12 14:12:34 +01:00
|
|
|
QT_PLATFORM = "macos"
|
2022-11-11 13:09:16 +01:00
|
|
|
elif sys.platform == "linux":
|
|
|
|
OS = "linux"
|
|
|
|
QT_PLATFORM = "gcc_64"
|
|
|
|
|
2023-01-22 16:29:20 +01:00
|
|
|
SCREENPLAY_VERSION = "0.15.0-RC4"
|
|
|
|
|
|
|
|
|
|
|
|
QT_PATH = Path.cwd().parent.parent.joinpath("aqt")
|
2023-01-27 10:04:51 +01:00
|
|
|
QT_VERSION = "6.5.0" if sys.platform != "linux" else "6.4.2"
|
2023-01-22 16:29:20 +01:00
|
|
|
QT_BIN_PATH = QT_PATH.joinpath(f"{QT_VERSION}/{QT_PLATFORM}/bin")
|
|
|
|
QT_TOOLS_PATH = QT_PATH.joinpath("Tools/")
|
|
|
|
QT_IFW_VERSION = "4.5"
|
|
|
|
|
|
|
|
VCPKG_VERSION = "2871ddd" # Master 11.11.2022
|
|
|
|
|
2022-10-14 11:54:00 +02:00
|
|
|
PYTHON_EXECUTABLE = "python" if sys.platform == "win32" else "python3"
|
2022-11-02 12:15:34 +01:00
|
|
|
FFMPEG_VERSION = "5.0.1"
|