From ad64f05e39f59152cacf43f5015a0f5439ce9bb6 Mon Sep 17 00:00:00 2001 From: Mengna Li <95600143+Adela0814@users.noreply.github.com> Date: Sat, 20 Aug 2022 04:39:16 +0800 Subject: [PATCH] [wxwidgets] Add feature webview2 (#26405) * add feature webview * update --- ports/wxwidgets/portfile.cmake | 1 + ports/wxwidgets/vcpkg.json | 8 +++++++- versions/baseline.json | 2 +- versions/w-/wxwidgets.json | 5 +++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ports/wxwidgets/portfile.cmake b/ports/wxwidgets/portfile.cmake index 4d3aef825c..5bee63f32b 100644 --- a/ports/wxwidgets/portfile.cmake +++ b/ports/wxwidgets/portfile.cmake @@ -36,6 +36,7 @@ vcpkg_check_features( FEATURES sound wxUSE_SOUND fonts wxUSE_PRIVATE_FONTS + webview wxUSE_WEBVIEW_EDGE ) set(OPTIONS_RELEASE "") diff --git a/ports/wxwidgets/vcpkg.json b/ports/wxwidgets/vcpkg.json index a44afe12e6..de290c2cf6 100644 --- a/ports/wxwidgets/vcpkg.json +++ b/ports/wxwidgets/vcpkg.json @@ -1,7 +1,7 @@ { "name": "wxwidgets", "version": "3.2.0", - "port-version": 1, + "port-version": 2, "description": [ "Widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications. ", "Set WXWIDGETS_USE_STL in a custom triplet to build with the wxUSE_STL build option.", @@ -65,6 +65,12 @@ "platform": "!windows & !osx" } ] + }, + "webview": { + "description": "The Edge backend uses Microsoft's Edge WebView2", + "dependencies": [ + "webview2" + ] } } } diff --git a/versions/baseline.json b/versions/baseline.json index 796cfba601..85d421bdb6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7706,7 +7706,7 @@ }, "wxwidgets": { "baseline": "3.2.0", - "port-version": 1 + "port-version": 2 }, "x-plane": { "baseline": "3.0.3", diff --git a/versions/w-/wxwidgets.json b/versions/w-/wxwidgets.json index b9ea32ebfa..19a6f9457a 100644 --- a/versions/w-/wxwidgets.json +++ b/versions/w-/wxwidgets.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "39e102a05ff8b8e2f8a137b1f3bbe8e44f88a8ad", + "version": "3.2.0", + "port-version": 2 + }, { "git-tree": "0d78ddc0e26a382e0eeca82b767dfbed70dda82e", "version": "3.2.0",