-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osg] Add feature examples and plugins, fix configure options (#10082)
* [osg] Add feature examples and plugins, fix configure options * [osg] Add feature tools, packages and docs * [osgearth] Set dependency to osg[plugins] * [osgearth] bump version * [osg] Fix dependency * [osg] Remove feature plugins dependency nvtt * [osg] Remove empty folder * [osg] Fix dependency sdl and liblas * [osg] Fix install issue * [osg] Fix dependency nvtt * [osg] Re-fix dependency nvtt * [osg] Fix judgment when selecting nvtt * [osg] Create tools folder based on conditions * [osg] Fix typo * update baseline * re-trigger ci test * re-trigger ci test
- Loading branch information
Showing
6 changed files
with
115 additions
and
28 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 |
---|---|---|
@@ -1,9 +1,27 @@ | ||
Source: osg | ||
Version: 3.6.4-1 | ||
Version: 3.6.4-2 | ||
Homepage: https://github.com/openscenegraph/OpenSceneGraph | ||
Description: The OpenSceneGraph is an open source high performance 3D graphics toolkit. | ||
Build-Depends: freetype, jasper, openexr, zlib, gdal, giflib, libjpeg-turbo, libpng, tiff, fontconfig, sdl2, boost-asio (!windows), libxml2 (windows), giflib (windows), freeglut (windows), expat (windows), libiconv (windows) | ||
Build-Depends: zlib, fontconfig, boost-asio (!windows), freeglut (windows), expat (windows), openimageio (osx) | ||
|
||
Feature: collada | ||
Description: Support for Collada (.dae) files | ||
Build-Depends: collada-dom | ||
|
||
Feature: tools | ||
Description: Enable to build OSG Applications (e.g. osgviewer) | ||
Build-Depends: freetype, sdl1, curl, libjpeg-turbo, libpng, libiconv (windows) | ||
|
||
Feature: examples | ||
Description: Enable to build OSG Examples | ||
Build-Depends: freetype, sdl1, sdl2, libiconv (windows) | ||
|
||
Feature: plugins | ||
Description: Build OSG Plugins - Disable for compile testing examples on a time limit | ||
Build-Depends: freetype, sdl1, curl, openexr, ilmbase, gdal, giflib (windows), jasper, libjpeg-turbo, libpng, tiff, libxml2 (windows), libiconv (windows), libgta, liblas, nvtt | ||
|
||
Feature: packages | ||
Description: Set to ON to generate CPack configuration files and packaging targets | ||
|
||
Feature: docs | ||
Description: Build OpenSceneGraph reference documentation using doxygen (use: make doc_openscenegraph doc_openthreads |
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,16 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index b84fa06..a991670 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -765,7 +765,10 @@ ELSE() | ||
ENDIF() | ||
FIND_PACKAGE(ZeroConf) | ||
|
||
- FIND_PACKAGE(LIBLAS) | ||
+ FIND_PACKAGE(liblas CONFIG) | ||
+ set(LIBLAS_FOUND ${liblas_FOUND}) | ||
+ set(LIBLAS_LIBRARY liblas) | ||
+ set(LIBLASC_LIBRARY liblas_c) | ||
|
||
IF (NOT(OSG_USE_LOCAL_LUA_SOURCE)) | ||
FIND_PACKAGE(Lua52) |
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,14 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index a991670..5b530c5 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -759,7 +759,9 @@ ELSE() | ||
FIND_PACKAGE(RSVG) | ||
FIND_PACKAGE(GtkGl) | ||
FIND_PACKAGE(DirectInput) | ||
+ if (ENABLE_NVTT) | ||
FIND_PACKAGE(NVTT) | ||
+ endif() | ||
IF (NOT WIN32) | ||
FIND_PACKAGE(Asio) | ||
ENDIF() |
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,4 +1,4 @@ | ||
Source: osgearth | ||
Version: 2.10.2 | ||
Version: 2.10.2-1 | ||
Description: osgEarth - Dynamic map generation toolkit for OpenSceneGraph Copyright 2015 Pelican Mapping. | ||
Build-Depends: osg | ||
Build-Depends: osg[plugins] |