[saucer] build against Qt6 (#30368)

This commit is contained in:
مهدي شينون (Mehdi Chinoune) 2023-03-25 07:05:39 +01:00 committed by GitHub
parent a35209a4ee
commit 7ae1d8ffd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 5 deletions

View File

@ -11,9 +11,18 @@ vcpkg_from_github(
fix-source-generation.patch
)
if(VCPKG_TARGET_IS_WINDOWS)
set(BACKEND_OPTION "-Dsaucer_backend=WebView2")
else()
set(BACKEND_OPTION "-Dsaucer_backend=Qt6")
endif()
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS -Dsaucer_prefer_remote=OFF -Dsaucer_remote_webview2=OFF
OPTIONS
${BACKEND_OPTION}
-Dsaucer_prefer_remote=OFF
-Dsaucer_remote_webview2=OFF
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "saucer",
"version": "1.0.1",
"port-version": 2,
"port-version": 3,
"description": "Next-gen desktop apps with web-frontend in C++",
"homepage": "https://saucer.github.io/",
"license": "MIT",
@ -12,11 +12,11 @@
"lockpp",
"nlohmann-json",
{
"name": "qt5-webchannel",
"name": "qtwebchannel",
"platform": "!windows"
},
{
"name": "qt5-webengine",
"name": "qtwebengine",
"platform": "!windows"
},
"tl-expected",

View File

@ -7078,7 +7078,7 @@
},
"saucer": {
"baseline": "1.0.1",
"port-version": 2
"port-version": 3
},
"sbp": {
"baseline": "3.4.10",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "15c87104efda5c84346ed7a7302713283e82eaaa",
"version": "1.0.1",
"port-version": 3
},
{
"git-tree": "ce7e88eac61c5e370dbf6d5dc7ad56dbdded879d",
"version": "1.0.1",