diff options
Diffstat (limited to 'vcpkg/ports/qtwebview')
| -rw-r--r-- | vcpkg/ports/qtwebview/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/qtwebview/vcpkg.json | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/vcpkg/ports/qtwebview/portfile.cmake b/vcpkg/ports/qtwebview/portfile.cmake new file mode 100644 index 0000000..697fec1 --- /dev/null +++ b/vcpkg/ports/qtwebview/portfile.cmake @@ -0,0 +1,18 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + +set(${PORT}_PATCHES) + + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS +FEATURES + "webengine" CMAKE_REQUIRE_FIND_PACKAGE_WebEngineCore +INVERTED_FEATURES + "webengine" CMAKE_DISABLE_FIND_PACKAGE_WebEngineCore +) + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + CONFIGURE_OPTIONS ${FEATURE_OPTIONS} + CONFIGURE_OPTIONS_MAYBE_UNUSED + CMAKE_REQUIRE_FIND_PACKAGE_WebEngineCore + ) diff --git a/vcpkg/ports/qtwebview/vcpkg.json b/vcpkg/ports/qtwebview/vcpkg.json new file mode 100644 index 0000000..218a1a7 --- /dev/null +++ b/vcpkg/ports/qtwebview/vcpkg.json @@ -0,0 +1,35 @@ +{ + "name": "qtwebview", + "version": "6.9.1", + "description": "Qt WebView provides a way to display web content in a QML application without necessarily including a full web browser stack by using native APIs where it makes sense.", + "homepage": "https://www.qt.io/", + "license": null, + "dependencies": [ + { + "name": "qtbase", + "default-features": false, + "features": [ + "gui" + ] + }, + { + "name": "qtdeclarative", + "default-features": false + } + ], + "features": { + "webengine": { + "description": "Build with Webengine", + "supports": "!static", + "dependencies": [ + { + "name": "qtwebengine", + "default-features": false, + "features": [ + "webengine" + ] + } + ] + } + } +} |