vcpkg/ports/osg/vcpkg.json
Connor Broyles 472e9f1a8b
[osg] Fix plugin installation and target locations (#26214)
* [osg] Install plugins directly to plugins folder

This change removes the stage in portfile.cmake which relocates the osg  plugins from bin/ to plugins/. Instead, the OsgMacroUtils.cmake file is patched to install directly to the plugins folder.

This has two primary effects. The first is correcting the exported target locations, as they still pointed to bin/ after moving the plugins. The second is fixing the process on non-Windows platforms, as the plugins were not being moved in those cases.

* update version

* update version

* update version

* [osg] Update version

* [osg] Update port version

* [osg] Fix port version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-10-08 22:11:08 -07:00

216 lines
4.6 KiB
JSON

{
"name": "osg",
"version": "3.6.5",
"port-version": 18,
"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"
]
}
]
}
}
}