mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 01:47:50 +08:00
47633daa65
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in scripts and portfiles by detection in CI. Sometimes the variables are used wrongly, and sometimes this isn't caught in PR review. This PR tries to catch those variables (when in the active code path in script mode). [This can happen to every contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122), even if he/she knows the rules ... vcpkg is raising the bar higher than usual, having to deal with targets and hosts even in script mode. (`b2-options.cmake` (boost fragment) shows where we get if we don't pay attention: the same code being used in script mode (`WIN32` meaning host) and in project mode (`WIN32` meaning target).) The new check doesn't break any user builds because it relies on command line options. However it changes the ABI hashes.
160 lines
3.1 KiB
JSON
160 lines
3.1 KiB
JSON
{
|
|
"$comment": "x86-windows is not within the upstream support matrix of Qt6",
|
|
"name": "qtwebengine",
|
|
"version": "6.7.0",
|
|
"port-version": 4,
|
|
"description": "Qt WebEngine provides functionality for rendering regions of dynamic web content.",
|
|
"homepage": "https://www.qt.io/",
|
|
"license": null,
|
|
"supports": "!static & !((x86 | arm) & windows)",
|
|
"dependencies": [
|
|
{
|
|
"name": "ffmpeg",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "fontconfig",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "freetype",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "glib",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "gperf",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "harfbuzz",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "icu",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "libevent",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "libjpeg-turbo",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "libpng",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "libvpx",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "libwebp",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "libxml2",
|
|
"default-features": false,
|
|
"features": [
|
|
"icu"
|
|
],
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "minizip",
|
|
"platform": "!windows"
|
|
},
|
|
"opengl",
|
|
{
|
|
"name": "opus",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "protobuf",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "qtbase",
|
|
"default-features": false,
|
|
"features": [
|
|
"gui",
|
|
"network",
|
|
"widgets"
|
|
]
|
|
},
|
|
{
|
|
"name": "qtdeclarative",
|
|
"default-features": false
|
|
},
|
|
{
|
|
"name": "qttools",
|
|
"default-features": false
|
|
},
|
|
{
|
|
"$comment": "Requires GN host tool build by the port itself! (special version check)",
|
|
"name": "qtwebengine",
|
|
"host": true,
|
|
"default-features": false
|
|
},
|
|
{
|
|
"name": "re2",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "snappy",
|
|
"platform": "!windows"
|
|
},
|
|
{
|
|
"name": "vcpkg-get-python-packages",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-tool-nodejs",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "zlib",
|
|
"platform": "!windows"
|
|
}
|
|
],
|
|
"default-features": [
|
|
"default-features"
|
|
],
|
|
"features": {
|
|
"default-features": {
|
|
"description": "Platform-dependent default features"
|
|
},
|
|
"geolocation": {
|
|
"description": "Build with Geolocation",
|
|
"dependencies": [
|
|
{
|
|
"name": "qtlocation",
|
|
"default-features": false
|
|
}
|
|
]
|
|
},
|
|
"proprietary-codecs": {
|
|
"description": "Enables the use of proprietary codecs such as h.264/h.265 and MP3."
|
|
},
|
|
"spellchecker": {
|
|
"description": "Provides a spellchecker"
|
|
},
|
|
"webchannel": {
|
|
"description": "Provides QtWebChannel integration",
|
|
"dependencies": [
|
|
{
|
|
"name": "qtwebchannel",
|
|
"default-features": false,
|
|
"features": [
|
|
"qml"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|