[qgis-o2] new port (#48923)

This commit is contained in:
Nick D'Ademo
2025-12-19 04:57:09 +11:00
committed by GitHub
parent 7331c9b906
commit 2b1b29ed11
4 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO qgis/o2
REF "v${VERSION}"
SHA512 3238ec24d5594d47db1885c15643853f7ed9c6fcb44be241833a01a1569ae89405f9daa37e46a3e02c230c54d3066d70bacf160a7f98c99e78eb68b2653f40e3
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Do2_WITH_KEYCHAIN=OFF
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

24
ports/qgis-o2/vcpkg.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "qgis-o2",
"version": "1.1",
"description": "OAuth 2.0 for Qt",
"homepage": "https://github.com/qgis/o2",
"license": "BSD-2-Clause",
"dependencies": [
{
"name": "qtbase",
"default-features": false,
"features": [
"network"
]
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@@ -7920,6 +7920,10 @@
"baseline": "2.1.1",
"port-version": 1
},
"qgis-o2": {
"baseline": "1.1",
"port-version": 0
},
"qhttpengine": {
"baseline": "1.0.2",
"port-version": 1

9
versions/q-/qgis-o2.json Normal file
View File

@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "f3058abc196cee0c6129f21e914fbede50b5b68c",
"version": "1.1",
"port-version": 0
}
]
}