diff --git a/ports/qgis-o2/portfile.cmake b/ports/qgis-o2/portfile.cmake new file mode 100644 index 0000000000..f069f83004 --- /dev/null +++ b/ports/qgis-o2/portfile.cmake @@ -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") diff --git a/ports/qgis-o2/vcpkg.json b/ports/qgis-o2/vcpkg.json new file mode 100644 index 0000000000..9ccc567bf7 --- /dev/null +++ b/ports/qgis-o2/vcpkg.json @@ -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 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index f0bf1f43e1..72ca236c10 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/q-/qgis-o2.json b/versions/q-/qgis-o2.json new file mode 100644 index 0000000000..61b3326cc4 --- /dev/null +++ b/versions/q-/qgis-o2.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "f3058abc196cee0c6129f21e914fbede50b5b68c", + "version": "1.1", + "port-version": 0 + } + ] +}