mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 04:15:11 +00:00
cmake: Adjust minimum libOBS version to 27.0.0-rc2
This commit is contained in:
parent
96c7b101e5
commit
9ed02fe079
1 changed files with 24 additions and 8 deletions
|
@ -359,12 +359,12 @@ if(NOT ${PREFIX}OBS_NATIVE)
|
|||
set(_DOWNLOAD_OBS_URL "${${PREFIX}DOWNLOAD_OBS_URL}")
|
||||
set(_DOWNLOAD_OBS_HASH "${${PREFIX}DOWNLOAD_OBS_HASH}")
|
||||
else()
|
||||
set(_DOWNLOAD_OBS_VERSION "26.1.0-ci")
|
||||
set(_DOWNLOAD_OBS_VERSION "27.0.0-rc2-ci")
|
||||
if (D_PLATFORM_WINDOWS)
|
||||
if (D_PLATFORM_ARCH_X86)
|
||||
set(_DOWNLOAD_OBS_URL "https://github.com/Xaymar/obs-studio/releases/download/${_DOWNLOAD_OBS_VERSION}/obs-studio-x64-0.0.0.0-windows-${D_PLATFORM_BITS}.7z")
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_OBS_HASH "SHA256=EA9EE4CCEC0A19605C0768F1F4C21391A919CF0886F7A7CC94D63A95402CFD9B")
|
||||
set(_DOWNLOAD_OBS_HASH "SHA256=0D5A1E208ECF90B2ADD8895941D95E2D403538E17CBBC9A6FF4246953662A98F")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
|
@ -377,7 +377,7 @@ if(NOT ${PREFIX}OBS_NATIVE)
|
|||
if (D_PLATFORM_ARCH_X86)
|
||||
set(_DOWNLOAD_OBS_URL "https://github.com/Xaymar/obs-studio/releases/download/${_DOWNLOAD_OBS_VERSION}/obs-studio-x64-0.0.0.0-ubuntu-${D_PLATFORM_BITS}.7z")
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_OBS_HASH "SHA256=2B2793CDD0C3F5940924665022E31A76C10E34174073BF7B221325C11E764DF5")
|
||||
set(_DOWNLOAD_OBS_HASH "SHA256=0AA62167EC8B6E2161EDD2E3A5C66190C4A416551288EC7F847D8612AF98D090")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
|
@ -390,7 +390,7 @@ if(NOT ${PREFIX}OBS_NATIVE)
|
|||
if (D_PLATFORM_ARCH_X86)
|
||||
set(_DOWNLOAD_OBS_URL "https://github.com/Xaymar/obs-studio/releases/download/${_DOWNLOAD_OBS_VERSION}/obs-studio-x64-0.0.0.0-macos-${D_PLATFORM_BITS}.7z")
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_OBS_HASH "SHA256=34ABD3E574C62DA4E026E5DE271B93AB5151927E564F77264A59456F6ABCBDD0")
|
||||
set(_DOWNLOAD_OBS_HASH "SHA256=A87AA77FEEB451C5768647CFBE6E64230DB75FE2CD4AF899390C6D5B7199C832")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
|
@ -452,9 +452,17 @@ if(STANDALONE AND NOT D_PLATFORM_LINUX)
|
|||
endif()
|
||||
elseif(D_PLATFORM_MAC)
|
||||
if (D_PLATFORM_ARCH_X86)
|
||||
set(_DOWNLOAD_OBSDEPS_URL "https://github.com/Xaymar/obs-studio/releases/download/26.1.0/deps_macos_x86.tar.gz")
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_OBSDEPS_HASH "SHA256=B316DD7802E0DEAE2BD43F52D4C8BD52EF893D203B90148C2AB851A00AA733FF")
|
||||
set(_DOWNLOAD_OBSDEPS_URL "https://github.com/obsproject/obs-deps/releases/download/2021-03-25/macos-deps-x86_64-2021-03-25.tar.gz")
|
||||
set(_DOWNLOAD_OBSDEPS_HASH "SHA256=1C409374BCAB9D5CEEAFC121AA327E13AB222096718AF62F2648302DF62898D6")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
endif()
|
||||
elseif(D_PLATFORM_ARCH_ARM)
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_OBSDEPS_URL "https://github.com/obsproject/obs-deps/releases/download/2021-03-25/macos-deps-arm64-2021-03-25.tar.gz")
|
||||
set(_DOWNLOAD_OBSDEPS_HASH "SHA256=C0EC57D360AF190E372D6BB883134FA26B1A7E49840DD146B172B48D548B55BC")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
|
@ -523,9 +531,17 @@ if(STANDALONE AND NOT D_PLATFORM_LINUX)
|
|||
endif()
|
||||
elseif(D_PLATFORM_MAC)
|
||||
if (D_PLATFORM_ARCH_X86)
|
||||
set(_DOWNLOAD_QT_URL "https://github.com/obsproject/obs-deps/releases/download/2020-12-22/macos-qt-5.15.2-2020-12-22.tar.gz")
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_QT_HASH "SHA256=5BA0BC722F54391FE27508D6DB57EC63BDA22DAD890F5960145C731C1BB837ED")
|
||||
set(_DOWNLOAD_QT_URL "https://github.com/obsproject/obs-deps/releases/download/2021-03-25/macos-qt-5.15.2_x86_64-2021-03-25.tar.gz")
|
||||
set(_DOWNLOAD_QT_HASH "SHA256=FFABB54624B931EA3FCC06BED244895F50CEFC95DE09D792D280C46D4F91D4C5")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
endif()
|
||||
elseif(D_PLATFORM_ARCH_ARM)
|
||||
if (D_PLATFORM_BITS EQUAL 64)
|
||||
set(_DOWNLOAD_QT_URL "https://github.com/obsproject/obs-deps/releases/download/2021-03-25/macos-qt-5.15.2_arm64-2021-03-25.tar.gz")
|
||||
set(_DOWNLOAD_QT_HASH "SHA256=366BA8AC0FA0CAC440AFB9ED1C2EF5932E50091DC43BDE8B5C4B490082B6F19F")
|
||||
else()
|
||||
message(FATAL_ERROR "${LOGPREFIX} Platform '${D_PLATFORM_OS}' with architecture '${D_PLATFORM_ARCH}' and bitness '${D_PLATFORM_BITS}' is not supported.")
|
||||
return()
|
||||
|
|
Loading…
Reference in a new issue