Commit Graph

3 Commits

Author SHA1 Message Date
Kai Pastor
e8e206e64f
[osgearth] Fix core installation (#31125)
* [osgearth] Test core

* [osgearth] Fix core

* Require C++11

* Finish PR
2023-04-26 17:08:20 -07:00
plevy
35fb7a05a7
[osgearth] Update osgEarth to release 3.3 (#24886)
* Updated portfile and patches for the osgEarth 3.3 release

* Updated portfile and patches for the osgEarth 3.3 release

* Update version database

* Update vcpkg.json

* added license

* re-formatted

* re-formmatted again

* update port

* Update version database

* Update versions/baseline.json

upstream osgearth changed, set port back to 0

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* updated version

* Update portfile.cmake

added cleanup

* updated version

* Update find-package.patch

fix Blosc

* Update find-package.patch

fix Blosc again

* version update

* Removed optional dependencies and submodule downloads

* update version

* Remove downloaded imgui in case it was not cleaned, better comments, and only download imgui if tools enabled

* updated version

* Update versions/o-/osgearth.json

* Update versions/o-/osgearth.json

Co-authored-by: Paul Levy <plevy@pelicanmapping.com>
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-07-06 14:45:30 -07:00
Kai Pastor
0d27810d17
[osg] Cleanup, export unofficial config (#24720)
* Revise portfile

* Plugins are a default feature; fix disabling

* Remove line continuations from pc file

vcpkg_fixup_pkgconfig cannot handle it.

* Control nvtt plugin via feature

* Control dae plugin, not find_package

* Control fontconfig via feature

Use CMake's (3.14) find module for which vcpkg provides a wrapper.
OSG links to Fontconfig::Fontconfig.
OSG default is to use Fontconfig except for ios and android.

* Control freetype via feature

Use CMake's find module for which vcpkg provides a wrapper.
OSG links to FREETYPE_LIBRARIES.

* Control RestHttpDevice via feature

Only this plugin needs boost.

* Drop unused liblas dependency

* Drop unused coin dependency

Coin was meant to be used for the inventor plugin,
but this plugin is disabled.

* Control sdl1 via feature

* Enable apps on linux

* Disable apps and docs for debug

* Drop example application patch

* Use option, not patch, to disable DLL versioning

* Fix osg plugin PDB installation

* Prefer <Pkg>_LIBRARIES for linking

<Pkg>_LIBRARIES carries debug+release config and transitive usage requirements.

* Curl patches are obsolete now.

We leverage CURL_LIBRARIES via link-libraries.patch.

* Add unofficial config export

* Use toolchain's windows version

Fixes mingw build.

* Avoid extra dependency lookups

* Silence warnings about plugin control variables

* Define OSG_LIBRARY_STATIC

* Revise copying of plugins

* Control OpenEXR via feature

Unblock uwp.

* Allow jasper without opengl

* [osgearth] Remove obsolete geos patching

The build uses exported geos config.

* [osgearth] Serialize linking to avoid OOM errors

* [osgearth] Fix minor portfile issues

* [osgearth] Prefer <Pkg>_LIBRARIES for linking

<Pkg>_LIBRARIES carries debug+release config and transitive usage requirements.

* [osgearth] Use unofficial osg config

* [osgearth] Fix lib installation dir

* [osgearth] Revise OSGEARTH_LIBRARY_STATIC

* [osgearth] Revise find_package patching

* [osgearth] Revise copying of plugins

* [osgearth] Disable tools for debug variant

* [osgearth] Control Blend2D via feature

* Update versions

* Fix plugin lookup

* Update versions

* CR request

* Update versions

* [osgearth] Remove tools from default features

* Update versions
2022-06-20 13:49:37 -07:00