mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
graphics/osgearth: Update to 3.5
Changes: * New osgEarthCesium nodekit using the cesium-native SDK for 3D-Tiles integration * Upgrades to the TerrainConstraintLayer for better meshing, performance, and support for 3D model constraints * New TerrainMeshLayer for "bring your own" terrain surface meshing * Integration of spdlog logging SDK (optional) * Various updates to the osgearth_imgui panels * Updated Triton and Silverlining shader sets Reported by: portscout
This commit is contained in:
parent
f4b8a2d373
commit
30f031e854
@ -1,6 +1,5 @@
|
||||
PORTNAME= osgearth
|
||||
PORTVERSION= 3.4
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 3.5
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
CATEGORIES= graphics geography
|
||||
|
||||
@ -13,33 +12,42 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libgdal.so:graphics/gdal \
|
||||
libgeos.so:graphics/geos \
|
||||
libgeos_c.so:graphics/geos \
|
||||
libosg.so:graphics/osg \
|
||||
libprotoc.so:devel/protobuf \
|
||||
libprotobuf.so:devel/protobuf \
|
||||
libwebp.so:graphics/webp
|
||||
|
||||
USES= cmake compiler:c++11-lang gl pkgconfig sqlite
|
||||
|
||||
USES= cmake compiler:c++14-lang gl pkgconfig sqlite
|
||||
USE_CXXSTD= c++14
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= gwaldron ocornut:imgui Esri:lerc Tencent:rapidjson
|
||||
GH_PROJECT= imgui:imgui lerc:lerc rapidjson:rapidjson
|
||||
GH_TAGNAME= 9e8e5ac:imgui 19542a0:lerc f54b0e4:rapidjson
|
||||
|
||||
USE_CXXSTD= c++11
|
||||
USE_GL= gl
|
||||
USE_LDCONFIG= yes
|
||||
USE_GL+= gl glu
|
||||
|
||||
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \
|
||||
-DCMAKE_LIBRARY_PATH:PATH=${LOCALBASE}/lib \
|
||||
-DLIB_POSTFIX:STRING=""
|
||||
|
||||
LDFLAGS+= -Wl,--as-needed
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
OPTIONS_DEFINE= SPDLOG
|
||||
OPTIONS_DEFAULT= SPDLOG
|
||||
SPDLOG_DESC= Logging support via devel/spdlog
|
||||
|
||||
SPDLOG_LIB_DEPENDS= libspdlog.so:devel/spdlog
|
||||
|
||||
post-extract:
|
||||
.for sm in imgui lerc rapidjson
|
||||
@${MV} ${WRKSRC_${sm}}/* ${WRKSRC}/src/third_party/${sm}/
|
||||
.endfor
|
||||
|
||||
post-patch-SPDLOG-off:
|
||||
@${REINPLACE_CMD} '/find_package(spdlog)/d' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} != amd64
|
||||
|
@ -1,6 +1,6 @@
|
||||
TIMESTAMP = 1689531343
|
||||
SHA256 (gwaldron-osgearth-osgearth-3.4_GH0.tar.gz) = 2a5aabd6950c598b2310842dfa1e9cf085d54692a0c787cef5627530fcbe682e
|
||||
SIZE (gwaldron-osgearth-osgearth-3.4_GH0.tar.gz) = 119642993
|
||||
TIMESTAMP = 1698300300
|
||||
SHA256 (gwaldron-osgearth-osgearth-3.5_GH0.tar.gz) = 9204759f3df0d05356bdead71c13b9e9a086c9ebfa3daa93c149dd7aa664d378
|
||||
SIZE (gwaldron-osgearth-osgearth-3.5_GH0.tar.gz) = 119658258
|
||||
SHA256 (ocornut-imgui-9e8e5ac_GH0.tar.gz) = da877be818e7f4f20915c9982081f958bf5f68b26a5afde64c263427aff8097b
|
||||
SIZE (ocornut-imgui-9e8e5ac_GH0.tar.gz) = 1592220
|
||||
SHA256 (Esri-lerc-19542a0_GH0.tar.gz) = 5d48ae91b45343c68da336ef6996af3b9495452970185244e21253f4c711e529
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- CMakeLists.txt.orig 2023-07-17 15:47:49 UTC
|
||||
--- CMakeLists.txt.orig 2023-10-23 13:54:59 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -335,4 +335,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConf
|
||||
COMPATIBILITY SameMajorVersion )
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfig.cmake
|
||||
@@ -302,4 +302,4 @@ install(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfig.cmake
|
||||
${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfigVersion.cmake
|
||||
- DESTINATION ${CMAKE_INSTALL_PREFIX}/cmake )
|
||||
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules/osgEarth )
|
||||
DESTINATION
|
||||
- ${CMAKE_INSTALL_PREFIX}/cmake )
|
||||
+ ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules/osgEarth )
|
||||
|
@ -1,23 +1,19 @@
|
||||
bin/osgEarth_tests
|
||||
bin/osgearth_3pv
|
||||
bin/osgearth_annotation
|
||||
bin/osgearth_atlas
|
||||
bin/osgearth_bakefeaturetiles
|
||||
bin/osgearth_bindless
|
||||
bin/osgearth_boundarygen
|
||||
bin/osgearth_city
|
||||
bin/osgearth_clamp
|
||||
bin/osgearth_cluster
|
||||
bin/osgearth_conv
|
||||
bin/osgearth_createtile
|
||||
bin/osgearth_drawables
|
||||
bin/osgearth_eci
|
||||
bin/osgearth_ephemeris
|
||||
bin/osgearth_featurefilter
|
||||
bin/osgearth_features
|
||||
bin/osgearth_graticule
|
||||
bin/osgearth_heatmap
|
||||
bin/osgearth_horizon
|
||||
bin/osgearth_infinitescroll
|
||||
bin/osgearth_lights
|
||||
bin/osgearth_los
|
||||
@ -28,8 +24,6 @@ bin/osgearth_minimap
|
||||
bin/osgearth_mrt
|
||||
bin/osgearth_mvtindex
|
||||
bin/osgearth_occlusionculling
|
||||
bin/osgearth_overlayviewer
|
||||
bin/osgearth_shadercomp
|
||||
bin/osgearth_skyview
|
||||
bin/osgearth_terrainprofile
|
||||
bin/osgearth_tfs
|
||||
@ -62,7 +56,6 @@ include/osgEarth/BillboardSymbol
|
||||
include/osgEarth/Bing
|
||||
include/osgEarth/Bounds
|
||||
include/osgEarth/BufferFilter
|
||||
include/osgEarth/BuildConfig.h
|
||||
include/osgEarth/BuildGeometryFilter
|
||||
include/osgEarth/BuildTextFilter
|
||||
include/osgEarth/Cache
|
||||
@ -222,7 +215,6 @@ include/osgEarth/MVT
|
||||
include/osgEarth/Map
|
||||
include/osgEarth/MapboxGLGlyphManager
|
||||
include/osgEarth/MapCallback
|
||||
include/osgEarth/MapInfo
|
||||
include/osgEarth/MapModelChange
|
||||
include/osgEarth/MapNode
|
||||
include/osgEarth/MapNodeObserver
|
||||
@ -332,6 +324,7 @@ include/osgEarth/TerrainEffect
|
||||
include/osgEarth/TerrainEngineNode
|
||||
include/osgEarth/TerrainEngineRequirements
|
||||
include/osgEarth/TerrainLayer
|
||||
include/osgEarth/TerrainMeshLayer
|
||||
include/osgEarth/TerrainOptions
|
||||
include/osgEarth/TerrainProfile
|
||||
include/osgEarth/TerrainResources
|
||||
@ -362,6 +355,7 @@ include/osgEarth/TileSourceImageLayer
|
||||
include/osgEarth/TileVisitor
|
||||
include/osgEarth/TiledFeatureModelGraph
|
||||
include/osgEarth/TiledFeatureModelLayer
|
||||
include/osgEarth/TiledModelLayer
|
||||
include/osgEarth/TimeControl
|
||||
include/osgEarth/TimeSeriesImage
|
||||
include/osgEarth/TopologyGraph
|
||||
@ -382,7 +376,6 @@ include/osgEarth/VisibleLayer
|
||||
include/osgEarth/WFS
|
||||
include/osgEarth/WMS
|
||||
include/osgEarth/WindLayer
|
||||
include/osgEarth/WingedEdgeMesh
|
||||
include/osgEarth/WireLines
|
||||
include/osgEarth/XYZ
|
||||
include/osgEarth/XYZFeatureSource
|
||||
@ -430,7 +423,7 @@ include/osgEarthDrivers/scriptengine_javascript/duktape.h
|
||||
include/osgEarthDrivers/sky_gl/GLSkyOptions
|
||||
include/osgEarthDrivers/sky_simple/SimpleSkyOptions
|
||||
lib/libosgEarth.so
|
||||
lib/libosgEarth.so.148
|
||||
lib/libosgEarth.so.149
|
||||
lib/libosgEarth.so.%%PORTVERSION%%.0
|
||||
lib/osgPlugins-3.6.5/osgdb_earth.so
|
||||
lib/osgPlugins-3.6.5/osgdb_fastdxt.so
|
||||
|
Loading…
Reference in New Issue
Block a user