vcpkg/ports/netgen/vcpkg.json
Michael ea0ae162c3
[netgen] Optional features to reduce dependencies (#37950)
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->

<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->


- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- ~~[ ] SHA512s are updated for each updated download.~~
- ~~[ ] The "supports" clause reflects platforms that may be fixed by
this new version.~~
- ~~[ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- ~~[ ] Any patches that are no longer applied are deleted from the
port's directory.~~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.


Also:
- fixes Android compilation which wasn't tested the last time this port
was modified
- Exclude `uwp` which was indirectly excluded by another optional
dependency

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-04-19 07:52:41 -04:00

71 lines
1.7 KiB
JSON

{
"name": "netgen",
"version": "6.2.2401",
"port-version": 1,
"description": "NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement.",
"homepage": "https://ngsolve.org/",
"license": "LGPL-2.1-or-later",
"supports": "arm64 | x64",
"dependencies": [
{
"name": "netgen",
"host": true,
"default-features": false
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"features": {
"cgns": {
"description": "CGNS file read/write support",
"dependencies": [
{
"name": "cgns",
"default-features": false
}
]
},
"jpeg": {
"description": "enable snapshots using library libjpeg",
"dependencies": [
"libjpeg-turbo"
]
},
"mpeg": {
"description": "enable video recording with FFmpeg",
"dependencies": [
{
"name": "ffmpeg",
"default-features": false,
"features": [
"avcodec"
]
}
]
},
"occ": {
"description": "build with OpenCascade geometry kernel interface",
"dependencies": [
{
"name": "opencascade",
"default-features": false
}
]
},
"python": {
"description": "Build python bindings",
"dependencies": [
"pybind11",
"python3"
]
}
}
}