-
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5073 from opengisch/vcpkg-manifest-format
Format vcpkg manifest files
- Loading branch information
Showing
7 changed files
with
169 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ jobs: | |
run: | | ||
sudo apt install -y \ | ||
shellcheck | ||
. <(curl https://aka.ms/vcpkg-init.sh -L) | ||
- name: Run pre-commit hooks | ||
uses: pre-commit/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import subprocess | ||
import sys | ||
import os | ||
|
||
|
||
def main(): | ||
if sys.platform == "win32": | ||
cmd = ("vcpkg", "format-manifest", "--x-wait-for-lock", *sys.argv[1:]) | ||
else: | ||
vcpkg_exe = os.path.join(os.path.expanduser("~"), ".vcpkg", "vcpkg") | ||
if not os.path.isfile(vcpkg_exe): | ||
print( | ||
f"{vcpkg_exe} not found: bootstrap it by running \n\n . <(curl https://aka.ms/vcpkg-init.sh -L)\n\nSee https://github.com/microsoft/vcpkg-tool/blob/main/README.md#installuseremove" | ||
) | ||
return 1 | ||
cmd = (vcpkg_exe, "format-manifest", "--x-wait-for-lock", *sys.argv[1:]) | ||
return subprocess.call(cmd) | ||
|
||
|
||
if __name__ == "__main__": | ||
exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,147 +1,132 @@ | ||
{ | ||
"name": "qgis", | ||
"version-string": "current", | ||
"homepage": "https://qgis.org", | ||
"description": "QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)", | ||
"dependencies": [ | ||
"expat", | ||
{ | ||
"name": "qgis", | ||
"host": true, | ||
"default-features": false | ||
}, | ||
"draco", | ||
"libxml2", | ||
"libzip", | ||
"zlib", | ||
"libspatialindex", | ||
"libspatialite", | ||
{ | ||
"name": "gdal", | ||
"features":["poppler"] | ||
}, | ||
{ | ||
"name": "exiv2", | ||
"features": | ||
[ | ||
"xmp" | ||
] | ||
}, | ||
"gsl", | ||
"libpq", | ||
"protobuf", | ||
"proj", | ||
"geos", | ||
"jhasse-poly2tri", | ||
{ | ||
"name": "libtasn1", | ||
"platform": "ios | osx" | ||
}, | ||
{ | ||
"name": "qtbase", | ||
"features": | ||
[ | ||
"brotli", | ||
"concurrent", | ||
"default-features", | ||
"doubleconversion", | ||
"freetype", | ||
"gui", | ||
"harfbuzz", | ||
"jpeg", | ||
"network", | ||
{ | ||
"name":"openssl", | ||
"platform": "!ios" | ||
}, | ||
{ | ||
"name":"securetransport", | ||
"platform": "ios" | ||
}, | ||
"pcre2", | ||
"png", | ||
"sql", | ||
"sql-sqlite", | ||
"testlib", | ||
"thread", | ||
"widgets", | ||
"zstd" | ||
], | ||
"default-features": false | ||
}, | ||
"qtsvg", | ||
"qtlocation", | ||
{ | ||
"name": "qttools", | ||
"host": true | ||
}, | ||
{ | ||
"name": "qca", | ||
"default-features": false, | ||
"features": | ||
[ | ||
"ossl" | ||
] | ||
}, | ||
"qtkeychain-qt6" | ||
], | ||
"features": | ||
"name": "qgis", | ||
"version-string": "current", | ||
"description": "QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)", | ||
"homepage": "https://qgis.org", | ||
"dependencies": [ | ||
"draco", | ||
{ | ||
"opencl" : { | ||
"description": "Should OpenCL support be added", | ||
"dependencies": | ||
[ | ||
"opencl" | ||
] | ||
}, | ||
"server": | ||
{ | ||
"description": "Determines whether QGIS server should be built", | ||
"dependencies": | ||
[ | ||
"fastcgi" | ||
] | ||
}, | ||
"process": | ||
{ | ||
"description": "Determines whether the command line QGIS process tool should be built" | ||
}, | ||
"3d": | ||
{ | ||
"description": "Determines whether QGIS 3D library should be built", | ||
"dependencies": | ||
[ | ||
"qt3d" | ||
] | ||
}, | ||
"bindings": | ||
{ | ||
"description": "Determines whether Python bindings should be built" | ||
}, | ||
"gui": | ||
{ | ||
"description": "Determines whether the QGIS gui should be built", | ||
"dependencies": | ||
[ | ||
"qwt", | ||
"qscintilla" | ||
] | ||
}, | ||
"desktop": | ||
"name": "exiv2", | ||
"features": [ | ||
"xmp" | ||
] | ||
}, | ||
"expat", | ||
{ | ||
"name": "gdal", | ||
"features": [ | ||
"poppler" | ||
] | ||
}, | ||
"geos", | ||
"gsl", | ||
"jhasse-poly2tri", | ||
"libpq", | ||
"libspatialindex", | ||
"libspatialite", | ||
{ | ||
"name": "libtasn1", | ||
"platform": "ios | osx" | ||
}, | ||
"libxml2", | ||
"libzip", | ||
"proj", | ||
"protobuf", | ||
{ | ||
"name": "qca", | ||
"default-features": false, | ||
"features": [ | ||
"ossl" | ||
] | ||
}, | ||
{ | ||
"name": "qgis", | ||
"host": true, | ||
"default-features": false | ||
}, | ||
{ | ||
"name": "qtbase", | ||
"default-features": false, | ||
"features": [ | ||
"brotli", | ||
"concurrent", | ||
"default-features", | ||
"doubleconversion", | ||
"freetype", | ||
"gui", | ||
"harfbuzz", | ||
"jpeg", | ||
"network", | ||
{ | ||
"description": "Determines whether the QGIS desktop (main app) should be built" | ||
"name": "openssl", | ||
"platform": "!ios" | ||
}, | ||
"customwidgets": | ||
"pcre2", | ||
"png", | ||
{ | ||
"description": "Determines whether the QGIS custom widgets for QtCreator should be built" | ||
"name": "securetransport", | ||
"platform": "ios" | ||
}, | ||
"quick": | ||
{ | ||
"description": "Build the QGIS quick components for mobile interfaces", | ||
"dependencies": | ||
[ | ||
"qtdeclarative" | ||
] | ||
} | ||
"sql", | ||
"sql-sqlite", | ||
"testlib", | ||
"thread", | ||
"widgets", | ||
"zstd" | ||
] | ||
}, | ||
"qtkeychain-qt6", | ||
"qtlocation", | ||
"qtsvg", | ||
{ | ||
"name": "qttools", | ||
"host": true | ||
}, | ||
"zlib" | ||
], | ||
"features": { | ||
"3d": { | ||
"description": "Determines whether QGIS 3D library should be built", | ||
"dependencies": [ | ||
"qt3d" | ||
] | ||
}, | ||
"bindings": { | ||
"description": "Determines whether Python bindings should be built" | ||
}, | ||
"customwidgets": { | ||
"description": "Determines whether the QGIS custom widgets for QtCreator should be built" | ||
}, | ||
"desktop": { | ||
"description": "Determines whether the QGIS desktop (main app) should be built" | ||
}, | ||
"gui": { | ||
"description": "Determines whether the QGIS gui should be built", | ||
"dependencies": [ | ||
"qscintilla", | ||
"qwt" | ||
] | ||
}, | ||
"opencl": { | ||
"description": "Should OpenCL support be added", | ||
"dependencies": [ | ||
"opencl" | ||
] | ||
}, | ||
"process": { | ||
"description": "Determines whether the command line QGIS process tool should be built" | ||
}, | ||
"quick": { | ||
"description": "Build the QGIS quick components for mobile interfaces", | ||
"dependencies": [ | ||
"qtdeclarative" | ||
] | ||
}, | ||
"server": { | ||
"description": "Determines whether QGIS server should be built", | ||
"dependencies": [ | ||
"fastcgi" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f9cdfb2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Ta-daaa, freshly created APKs are available: arm64-android
Other architectures