vcpkg/ports/osg/vcpkg.json
Kai Pastor 62850c28d0
[vcpkg baseline][osg] Fix port dependencies and build errors (#26698)
* Don't depend on default features

* Use OpenEXR config

* Try to skip non-portable check_cxx_source_runs

* Ensure PKG_CONFIG_USE_CMAKE_PREFIX_PATH

* Use link libraries from pkg-config

* Revise feature-to-CMake mapping

* Update versions
2022-09-14 11:24:49 -07:00

216 lines
4.6 KiB
JSON

{
"name": "osg",
"version": "3.6.5",
"port-version": 16,
"description": "The OpenSceneGraph is an open source high performance 3D graphics toolkit.",
"homepage": "https://www.openscenegraph.com/",
"license": null,
"supports": "!uwp",
"dependencies": [
{
"name": "expat",
"platform": "windows"
},
"opengl-registry",
{
"name": "openimageio",
"default-features": false,
"platform": "osx"
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"default-features": [
"default-features",
"freetype",
"plugins"
],
"features": {
"collada": {
"description": "Support for Collada (.dae) files",
"dependencies": [
"collada-dom"
]
},
"default-features": {
"description": "Platform-dependent default features",
"dependencies": [
{
"name": "osg",
"default-features": false,
"features": [
"openexr"
],
"platform": "!uwp"
},
{
"name": "osg",
"default-features": false,
"features": [
"rest-http-device"
],
"platform": "!windows"
},
{
"name": "osg",
"default-features": false,
"features": [
"fontconfig"
],
"platform": "!android & !ios & !uwp"
},
{
"name": "osg",
"default-features": false,
"features": [
"nvtt"
],
"platform": "!x86 & !(windows & arm64) & !uwp"
}
]
},
"docs": {
"description": "Build OpenSceneGraph reference documentation using doxygen (use: make doc_openscenegraph doc_openthreads"
},
"examples": {
"description": "Enable to build OSG Examples",
"dependencies": [
{
"name": "libiconv",
"platform": "windows"
},
{
"name": "osg",
"default-features": false,
"features": [
"freetype"
]
},
"sdl2"
]
},
"fontconfig": {
"description": "Enable Fontconfig support for osgText",
"dependencies": [
"fontconfig",
{
"name": "osg",
"default-features": false,
"features": [
"freetype"
]
}
]
},
"freetype": {
"description": "Enable Freetype support",
"dependencies": [
{
"name": "freetype",
"default-features": false
}
]
},
"nvtt": {
"description": "Build texture processing tools plugin",
"dependencies": [
"nvtt"
]
},
"openexr": {
"description": "Build the exr plugin",
"dependencies": [
"openexr"
]
},
"packages": {
"description": "Set to ON to generate CPack configuration files and packaging targets"
},
"plugins": {
"description": "Build most OSG Plugins",
"dependencies": [
{
"name": "curl",
"default-features": false
},
{
"name": "gdal",
"default-features": false
},
{
"name": "giflib",
"platform": "windows"
},
{
"name": "jasper",
"default-features": false
},
"libgta",
{
"name": "libiconv",
"platform": "windows"
},
"libjpeg-turbo",
"libpng",
{
"name": "libxml2",
"platform": "windows"
},
{
"name": "tiff",
"default-features": false
}
]
},
"rest-http-device": {
"description": "Build RestHttpDevice plugin",
"supports": "!windows",
"dependencies": [
"boost-array",
"boost-asio",
"boost-bind",
"boost-core",
"boost-lexical-cast",
"boost-logic",
"boost-smart-ptr",
"boost-tuple"
]
},
"sdl1": {
"description": "Build SDL 1 plugin, and enable SDL 1 app features",
"dependencies": [
"sdl1"
]
},
"tools": {
"description": "Enable to build OSG Applications (e.g. osgviewer)",
"dependencies": [
{
"name": "curl",
"default-features": false
},
{
"name": "libiconv",
"platform": "windows"
},
"libjpeg-turbo",
"libpng",
{
"name": "osg",
"default-features": false,
"features": [
"freetype"
]
}
]
}
}
}