pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/osg
Module Name: pkgsrc
Committed By: nia
Date: Sat Jan 16 14:44:50 UTC 2021
Modified Files:
pkgsrc/graphics/osg: Makefile PLIST buildlink3.mk distinfo options.mk
Removed Files:
pkgsrc/graphics/osg/patches: patch-ad patch-ae
Log Message:
osg: Update to 3.6.5
OpenSceneGraph 3.6 release
Updates include:
* OpenThreads::Affinity introduced to enable setting of processor affinity on viewer and database threads
* osgText rewritten to improve visual quality, add signed distance field support and full GLES2/3 and GL3/4 support
* Added VertexArrayObject support, enable full OpenGL Core Profile support under OSX.
* Added OpenCASCADE plugin
* Added STEP (.stp) plugin
* Improvements to FBX and COLLADA loaders
* Improvements to gles plugin to provide better Sketchfab support
* Added osgemscripten example
* Improvements to osgAnimation
* NodeVisitor ValueMap for storing values that can be stored and accessed across frames, such as update, event and cull traversals
* ShapeDrawable rewritten as an osg::Geometry to improve performance and flexibility
* Added osg::MultiDrawArrays support
* Added osgdeferred example that illustrates how to implement deferred rendering
* Added MultiDrawIndirect support
* Moved glDispatchCompute control out of osg::Program into a dedicated osg::DispatchCompute class to improve control of compute shaders
* KdTree support added for PolytopeIntersector, and ability to work with points, lines and polygons
* osgQt has been moved out to it's own dedicated osgQt github repository
* CMake build support for iOS bitcode builds
* CoverityScan testing introduced, fixes bring defect density to 0.0 per 1,0000 lines of code!
* Support for Codedoc automated documentation
* Support for Travis automated build system
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/graphics/osg/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/osg/PLIST
cvs rdiff -u -r1.93 -r1.94 pkgsrc/graphics/osg/buildlink3.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/graphics/osg/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/osg/options.mk
cvs rdiff -u -r1.3 -r0 pkgsrc/graphics/osg/patches/patch-ad
cvs rdiff -u -r1.2 -r0 pkgsrc/graphics/osg/patches/patch-ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/osg/Makefile
diff -u pkgsrc/graphics/osg/Makefile:1.120 pkgsrc/graphics/osg/Makefile:1.121
--- pkgsrc/graphics/osg/Makefile:1.120 Sat Nov 21 09:34:53 2020
+++ pkgsrc/graphics/osg/Makefile Sat Jan 16 14:44:50 2021
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.120 2020/11/21 09:34:53 wiz Exp $
+# $NetBSD: Makefile,v 1.121 2021/01/16 14:44:50 nia Exp $
-DISTNAME= osg-3.4.1
-PKGREVISION= 36
+DISTNAME= osg-3.6.5
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=openscenegraph/}
GITHUB_PROJECT= OpenSceneGraph
@@ -12,8 +11,6 @@ HOMEPAGE= http://www.openscenegraph.org/
COMMENT= High performance 3D graphics toolkit
LICENSE= gnu-lgpl-v2.1
-EXTRACT_USING= bsdtar
-
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
USE_CMAKE= yes
@@ -25,23 +22,27 @@ PKGCONFIG_OVERRIDE+= packaging/pkgconfig
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DDYNAMIC_OPENSCENEGRAPH=ON
CMAKE_ARGS+= -DOSG_USE_LOCAL_LUA_SOURCE=OFF
-CMAKE_ARGS+= -DOSG_USE_QT=OFF
CMAKE_ARGS+= -DBUILD_OSG_EXAMPLES=OFF
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Asio=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_SDL=TRUE # disable legacy SDL
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Lua51=TRUE # use Lua52
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GTA=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=TRUE
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Xine=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GLIB=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GStreamer=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_DCMTK=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_DirectShow=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_FBX=TRUE
+CMAKE_ARGS+= -DOSG_USE_LOCAL_LUA_SOURCE=OFF
-BUILDLINK_TRANSFORM+= rm:-pedantic
-
-PLIST_VARS+= quartz x11
+PLIST_VARS+= quartz notdarwin
.include "../../mk/bsd.prefs.mk"
@@ -49,17 +50,27 @@ PLIST_VARS+= quartz x11
CXXFLAGS+= -D__STDC_LIMIT_MACROS
.include "options.mk"
-
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jasper/buildlink3.mk"
+.include "../../graphics/ilmbase/buildlink3.mk"
+.include "../../graphics/openexr/buildlink3.mk"
+.include "../../lang/lua52/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
.if ${OPSYS} != "Darwin"
-PLIST.x11= yes
+PLIST.notdarwin= yes
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.else
-PLIST.quartz= yes
+PLIST.quartz= yes
.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/osg/PLIST
diff -u pkgsrc/graphics/osg/PLIST:1.6 pkgsrc/graphics/osg/PLIST:1.7
--- pkgsrc/graphics/osg/PLIST:1.6 Sat Aug 4 01:05:10 2018
+++ pkgsrc/graphics/osg/PLIST Sat Jan 16 14:44:50 2021
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2018/08/04 01:05:10 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/01/16 14:44:50 nia Exp $
bin/osgarchive
bin/osgconv
bin/osgfilecache
bin/osgversion
bin/osgviewer
bin/present3D
+include/OpenThreads/Affinity
include/OpenThreads/Atomic
include/OpenThreads/Barrier
include/OpenThreads/Block
@@ -22,10 +23,11 @@ include/osg/AnimationPath
include/osg/ApplicationUsage
include/osg/ArgumentParser
include/osg/Array
-include/osg/ArrayDispatchers
+include/osg/AttributeDispatchers
include/osg/AudioStream
include/osg/AutoTransform
include/osg/Billboard
+include/osg/BindImageTexture
include/osg/BlendColor
include/osg/BlendEquation
include/osg/BlendEquationi
@@ -53,6 +55,7 @@ include/osg/ColorMaski
include/osg/ColorMatrix
include/osg/ComputeBoundsVisitor
include/osg/Config
+include/osg/ContextData
include/osg/ConvexPlanarOccluder
include/osg/ConvexPlanarPolygon
include/osg/CoordinateSystemNode
@@ -63,6 +66,8 @@ include/osg/CullStack
include/osg/CullingSet
include/osg/DeleteHandler
include/osg/Depth
+include/osg/DepthRangeIndexed
+include/osg/DispatchCompute
include/osg/DisplaySettings
include/osg/DrawPixels
include/osg/Drawable
@@ -75,7 +80,6 @@ include/osg/FrameStamp
include/osg/FrontFace
include/osg/GL
include/osg/GL2Extensions
-include/osg/GLBeginEndAdapter
include/osg/GLDefines
include/osg/GLExtensions
include/osg/GLObjects
@@ -87,6 +91,7 @@ include/osg/GraphicsCostEstimator
include/osg/GraphicsThread
include/osg/Group
include/osg/Hint
+include/osg/Identifier
include/osg/Image
include/osg/ImageSequence
include/osg/ImageStream
@@ -131,6 +136,7 @@ include/osg/Polytope
include/osg/PositionAttitudeTransform
include/osg/PrimitiveRestartIndex
include/osg/PrimitiveSet
+include/osg/PrimitiveSetIndirect
include/osg/Program
include/osg/Projection
include/osg/ProxyNode
@@ -138,7 +144,9 @@ include/osg/Quat
include/osg/Referenced
include/osg/RenderInfo
include/osg/SampleMaski
+include/osg/Sampler
include/osg/Scissor
+include/osg/ScissorIndexed
include/osg/ScriptEngine
include/osg/Sequence
include/osg/ShadeModel
@@ -157,6 +165,7 @@ include/osg/Stencil
include/osg/StencilTwoSided
include/osg/Switch
include/osg/TemplatePrimitiveFunctor
+include/osg/TemplatePrimitiveIndexFunctor
include/osg/TexEnv
include/osg/TexEnvCombine
include/osg/TexEnvFilter
@@ -181,7 +190,9 @@ include/osg/TriangleLinePointIndexFuncto
include/osg/Types
include/osg/Uniform
include/osg/UserDataContainer
+include/osg/ValueMap
include/osg/ValueObject
+include/osg/ValueStack
include/osg/Vec2
include/osg/Vec2b
include/osg/Vec2d
@@ -210,14 +221,17 @@ include/osg/Vec4ub
include/osg/Vec4ui
include/osg/Vec4us
include/osg/Version
+include/osg/VertexArrayState
include/osg/VertexAttribDivisor
include/osg/VertexProgram
include/osg/View
include/osg/Viewport
+include/osg/ViewportIndexed
include/osg/buffered_value
include/osg/fast_back_stack
include/osg/io_utils
include/osg/observer_ptr
+include/osg/os_utils
include/osg/ref_ptr
include/osgAnimation/Action
include/osgAnimation/ActionAnimation
@@ -241,6 +255,8 @@ include/osgAnimation/Interpolator
include/osgAnimation/Keyframe
include/osgAnimation/LinkVisitor
include/osgAnimation/MorphGeometry
+include/osgAnimation/MorphTransformHardware
+include/osgAnimation/MorphTransformSoftware
include/osgAnimation/RigGeometry
include/osgAnimation/RigTransform
include/osgAnimation/RigTransformHardware
@@ -431,14 +447,12 @@ include/osgShadow/LightSpacePerspectiveS
include/osgShadow/MinimalCullBoundsShadowMap
include/osgShadow/MinimalDrawBoundsShadowMap
include/osgShadow/MinimalShadowMap
-include/osgShadow/OccluderGeometry
include/osgShadow/ParallelSplitShadowMap
include/osgShadow/ProjectionShadowMap
include/osgShadow/ShadowMap
include/osgShadow/ShadowSettings
include/osgShadow/ShadowTechnique
include/osgShadow/ShadowTexture
-include/osgShadow/ShadowVolume
include/osgShadow/ShadowedScene
include/osgShadow/SoftShadowMap
include/osgShadow/StandardShadowMap
@@ -565,9 +579,9 @@ include/osgViewer/ViewerEventHandlers
${PLIST.quartz}include/osgViewer/api/Carbon/GraphicsHandleCarbon
${PLIST.quartz}include/osgViewer/api/Carbon/GraphicsWindowCarbon
${PLIST.quartz}include/osgViewer/api/Carbon/PixelBufferCarbon
-${PLIST.x11}include/osgViewer/api/X11/GraphicsHandleX11
-${PLIST.x11}include/osgViewer/api/X11/GraphicsWindowX11
-${PLIST.x11}include/osgViewer/api/X11/PixelBufferX11
+${PLIST.notdarwin}include/osgViewer/api/X11/GraphicsHandleX11
+${PLIST.notdarwin}include/osgViewer/api/X11/GraphicsWindowX11
+${PLIST.notdarwin}include/osgViewer/api/X11/PixelBufferX11
include/osgViewer/config/AcrossAllScreens
include/osgViewer/config/PanoramicSphericalDisplay
include/osgViewer/config/SingleScreen
@@ -612,58 +626,58 @@ include/osgWidget/Widget
include/osgWidget/Window
include/osgWidget/WindowManager
lib/libOpenThreads.so
-lib/libOpenThreads.so.20
-lib/libOpenThreads.so.3.3.0
+lib/libOpenThreads.so.21
+lib/libOpenThreads.so.3.3.1
lib/libosg.so
-lib/libosg.so.131
+lib/libosg.so.161
lib/libosg.so.${PKGVERSION}
lib/libosgAnimation.so
-lib/libosgAnimation.so.131
+lib/libosgAnimation.so.161
lib/libosgAnimation.so.${PKGVERSION}
lib/libosgDB.so
-lib/libosgDB.so.131
+lib/libosgDB.so.161
lib/libosgDB.so.${PKGVERSION}
lib/libosgFX.so
-lib/libosgFX.so.131
+lib/libosgFX.so.161
lib/libosgFX.so.${PKGVERSION}
lib/libosgGA.so
-lib/libosgGA.so.131
+lib/libosgGA.so.161
lib/libosgGA.so.${PKGVERSION}
lib/libosgManipulator.so
-lib/libosgManipulator.so.131
+lib/libosgManipulator.so.161
lib/libosgManipulator.so.${PKGVERSION}
lib/libosgParticle.so
-lib/libosgParticle.so.131
+lib/libosgParticle.so.161
lib/libosgParticle.so.${PKGVERSION}
lib/libosgPresentation.so
-lib/libosgPresentation.so.131
+lib/libosgPresentation.so.161
lib/libosgPresentation.so.${PKGVERSION}
lib/libosgShadow.so
-lib/libosgShadow.so.131
+lib/libosgShadow.so.161
lib/libosgShadow.so.${PKGVERSION}
lib/libosgSim.so
-lib/libosgSim.so.131
+lib/libosgSim.so.161
lib/libosgSim.so.${PKGVERSION}
lib/libosgTerrain.so
-lib/libosgTerrain.so.131
+lib/libosgTerrain.so.161
lib/libosgTerrain.so.${PKGVERSION}
lib/libosgText.so
-lib/libosgText.so.131
+lib/libosgText.so.161
lib/libosgText.so.${PKGVERSION}
lib/libosgUI.so
-lib/libosgUI.so.131
+lib/libosgUI.so.161
lib/libosgUI.so.${PKGVERSION}
lib/libosgUtil.so
-lib/libosgUtil.so.131
+lib/libosgUtil.so.161
lib/libosgUtil.so.${PKGVERSION}
lib/libosgViewer.so
-lib/libosgViewer.so.131
+lib/libosgViewer.so.161
lib/libosgViewer.so.${PKGVERSION}
lib/libosgVolume.so
-lib/libosgVolume.so.131
+lib/libosgVolume.so.161
lib/libosgVolume.so.${PKGVERSION}
lib/libosgWidget.so
-lib/libosgWidget.so.131
+lib/libosgWidget.so.161
lib/libosgWidget.so.${PKGVERSION}
lib/osgPlugins-${PKGVERSION}/osgdb_3dc.so
lib/osgPlugins-${PKGVERSION}/osgdb_3ds.so
@@ -672,7 +686,7 @@ lib/osgPlugins-${PKGVERSION}/osgdb_bmp.s
lib/osgPlugins-${PKGVERSION}/osgdb_bsp.so
lib/osgPlugins-${PKGVERSION}/osgdb_bvh.so
lib/osgPlugins-${PKGVERSION}/osgdb_cfg.so
-${PLIST.curl}lib/osgPlugins-${PKGVERSION}/osgdb_curl.so
+lib/osgPlugins-${PKGVERSION}/osgdb_curl.so
lib/osgPlugins-${PKGVERSION}/osgdb_dds.so
lib/osgPlugins-${PKGVERSION}/osgdb_deprecated_osg.so
lib/osgPlugins-${PKGVERSION}/osgdb_deprecated_osganimation.so
@@ -686,24 +700,22 @@ lib/osgPlugins-${PKGVERSION}/osgdb_depre
lib/osgPlugins-${PKGVERSION}/osgdb_deprecated_osgvolume.so
lib/osgPlugins-${PKGVERSION}/osgdb_deprecated_osgwidget.so
lib/osgPlugins-${PKGVERSION}/osgdb_dot.so
-lib/osgPlugins-${PKGVERSION}/osgdb_dw.so
lib/osgPlugins-${PKGVERSION}/osgdb_dxf.so
-${PLIST.openexr}lib/osgPlugins-${PKGVERSION}/osgdb_exr.so
-${PLIST.ffmpeg}lib/osgPlugins-${PKGVERSION}/osgdb_ffmpeg.so
-${PLIST.freetype}lib/osgPlugins-${PKGVERSION}/osgdb_freetype.so
+lib/osgPlugins-${PKGVERSION}/osgdb_exr.so
+lib/osgPlugins-${PKGVERSION}/osgdb_ffmpeg.so
+lib/osgPlugins-${PKGVERSION}/osgdb_freetype.so
${PLIST.gdal}lib/osgPlugins-${PKGVERSION}/osgdb_gdal.so
-${PLIST.x11}lib/osgPlugins-${PKGVERSION}/osgdb_gif.so
+${PLIST.notdarwin}lib/osgPlugins-${PKGVERSION}/osgdb_gif.so
lib/osgPlugins-${PKGVERSION}/osgdb_gles.so
lib/osgPlugins-${PKGVERSION}/osgdb_glsl.so
lib/osgPlugins-${PKGVERSION}/osgdb_gz.so
lib/osgPlugins-${PKGVERSION}/osgdb_hdr.so
-${PLIST.quartz}lib/osgPlugins-${PKGVERSION}/osgdb_imageio.so
lib/osgPlugins-${PKGVERSION}/osgdb_ive.so
-${PLIST.jasper}lib/osgPlugins-${PKGVERSION}/osgdb_jp2.so
-${PLIST.x11}lib/osgPlugins-${PKGVERSION}/osgdb_jpeg.so
+lib/osgPlugins-${PKGVERSION}/osgdb_jp2.so
+${PLIST.notdarwin}lib/osgPlugins-${PKGVERSION}/osgdb_jpeg.so
lib/osgPlugins-${PKGVERSION}/osgdb_ktx.so
lib/osgPlugins-${PKGVERSION}/osgdb_logo.so
-${PLIST.lua}lib/osgPlugins-${PKGVERSION}/osgdb_lua.so
+lib/osgPlugins-${PKGVERSION}/osgdb_lua.so
lib/osgPlugins-${PKGVERSION}/osgdb_lwo.so
lib/osgPlugins-${PKGVERSION}/osgdb_lws.so
lib/osgPlugins-${PKGVERSION}/osgdb_md2.so
@@ -724,7 +736,7 @@ lib/osgPlugins-${PKGVERSION}/osgdb_p3d.s
${PLIST.pdf}lib/osgPlugins-${PKGVERSION}/osgdb_pdf.so
lib/osgPlugins-${PKGVERSION}/osgdb_pic.so
lib/osgPlugins-${PKGVERSION}/osgdb_ply.so
-${PLIST.x11}lib/osgPlugins-${PKGVERSION}/osgdb_png.so
+${PLIST.notdarwin}lib/osgPlugins-${PKGVERSION}/osgdb_png.so
lib/osgPlugins-${PKGVERSION}/osgdb_pnm.so
lib/osgPlugins-${PKGVERSION}/osgdb_pov.so
lib/osgPlugins-${PKGVERSION}/osgdb_pvr.so
@@ -752,7 +764,7 @@ ${PLIST.svg}lib/osgPlugins-${PKGVERSION}
lib/osgPlugins-${PKGVERSION}/osgdb_tf.so
lib/osgPlugins-${PKGVERSION}/osgdb_tga.so
lib/osgPlugins-${PKGVERSION}/osgdb_tgz.so
-${PLIST.x11}lib/osgPlugins-${PKGVERSION}/osgdb_tiff.so
+${PLIST.notdarwin}lib/osgPlugins-${PKGVERSION}/osgdb_tiff.so
lib/osgPlugins-${PKGVERSION}/osgdb_trans.so
lib/osgPlugins-${PKGVERSION}/osgdb_trk.so
lib/osgPlugins-${PKGVERSION}/osgdb_txf.so
Index: pkgsrc/graphics/osg/buildlink3.mk
diff -u pkgsrc/graphics/osg/buildlink3.mk:1.93 pkgsrc/graphics/osg/buildlink3.mk:1.94
--- pkgsrc/graphics/osg/buildlink3.mk:1.93 Sat Nov 21 09:34:53 2020
+++ pkgsrc/graphics/osg/buildlink3.mk Sat Jan 16 14:44:50 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.93 2020/11/21 09:34:53 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.94 2021/01/16 14:44:50 nia Exp $
BUILDLINK_TREE+= osg
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= osg
OSG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.osg+= osg>=2.8.3
-BUILDLINK_ABI_DEPENDS.osg+= osg>=3.4.1nb36
+BUILDLINK_ABI_DEPENDS.osg+= osg>=3.6.5
BUILDLINK_PKGSRCDIR.osg?= ../../graphics/osg
.include "../../mk/bsd.fast.prefs.mk"
@@ -23,45 +23,25 @@ BUILDLINK_PKGSRCDIR.osg?= ../../graphics
pkgbase := osg
.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.osg:Mcurl)
-.include "../../www/curl/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.osg:Mffmpeg)
-.include "../../multimedia/ffmpeg4/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.osg:Mfreetype)
.include "../../graphics/freetype2/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.osg:Mgdal)
-.include "../../geography/gdal-lib/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.osg:Mjasper)
.include "../../graphics/jasper/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.osg:Mlua)
+.include "../../graphics/openexr/buildlink3.mk"
.include "../../lang/lua52/buildlink3.mk"
-.endif
+.include "../../www/curl/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
-.if !empty(PKG_BUILD_OPTIONS.osg:Mopenexr)
-.include "../../graphics/openexr/buildlink3.mk"
+.if ${PKG_BUILD_OPTIONS.osg:Mgdal}
+.include "../../geography/gdal-lib/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.osg:Mpdf)
+.if ${PKG_BUILD_OPTIONS.osg:Mpdf}
.include "../../print/poppler-glib/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.osg:Msvg)
+.if ${PKG_BUILD_OPTIONS.osg:Msvg}
.include "../../graphics/librsvg/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.osg:Mlibxml2)
-.include "../../textproc/libxml2/buildlink3.mk"
-.endif
.endif # OSG_BUILDLINK3_MK
BUILDLINK_TREE+= -osg
Index: pkgsrc/graphics/osg/distinfo
diff -u pkgsrc/graphics/osg/distinfo:1.12 pkgsrc/graphics/osg/distinfo:1.13
--- pkgsrc/graphics/osg/distinfo:1.12 Mon Aug 6 11:12:27 2018
+++ pkgsrc/graphics/osg/distinfo Sat Jan 16 14:44:50 2021
@@ -1,13 +1,11 @@
-$NetBSD: distinfo,v 1.12 2018/08/06 11:12:27 jperkin Exp $
+$NetBSD: distinfo,v 1.13 2021/01/16 14:44:50 nia Exp $
-SHA1 (osg-3.4.1.tar.gz) = 6fc56846f5790d85dd8139aecb958701f4f4e630
-RMD160 (osg-3.4.1.tar.gz) = 299ab7131433e7f36f0da10eb102014bce26ec83
-SHA512 (osg-3.4.1.tar.gz) = 4a65625e208d24256b5564bbe9d6f557758b51fae0acf85d1f71968a237fec299088536830fc862d25e02039de9ea13176b298a68aaa644eac958acbe1f4e143
-Size (osg-3.4.1.tar.gz) = 5686385 bytes
+SHA1 (osg-3.6.5.tar.gz) = aef898a4e48dc235d8f1a5fd3f753fd2cb7b7861
+RMD160 (osg-3.6.5.tar.gz) = 1b9e1fd9250f5c3de85966d94edf5be393fa3928
+SHA512 (osg-3.6.5.tar.gz) = 7002fa30a3bcf6551d2e1050b4ca75a3736013fd190e4f50953717406864da1952deb09f530bc8c5ddf6e4b90204baec7dbc283f497829846d46d561f66feb4b
+Size (osg-3.6.5.tar.gz) = 5780762 bytes
SHA1 (patch-CMakeModules_FindFFmpeg.cmake) = cb533fdfa7cc569b6e226e1ab422ef36d5d31c3a
SHA1 (patch-ab) = 0bb683599daae3b2718693f9df8077b0333a410b
-SHA1 (patch-ad) = 909075cabe15541b182794b4fdf5baa038f07ed3
-SHA1 (patch-ae) = ca2f8a6cd509a914f9b643429e8384faf476f2c8
SHA1 (patch-applications_present3D_Cluster.cpp) = 017b1d9b42760cad8deb77d7330b04f75aa0e814
SHA1 (patch-src_osgPlugins_osc_ip_posix_NetworkingUtils.cpp) = 5748636ed17d23a0a595d38b2b392e773840a102
SHA1 (patch-src_osgPlugins_osc_osc_OscHostEndianness.h) = 4202df06c8ab49fa5f3787cc1c59e9f247d1a21b
Index: pkgsrc/graphics/osg/options.mk
diff -u pkgsrc/graphics/osg/options.mk:1.1 pkgsrc/graphics/osg/options.mk:1.2
--- pkgsrc/graphics/osg/options.mk:1.1 Sat Aug 4 01:05:10 2018
+++ pkgsrc/graphics/osg/options.mk Sat Jan 16 14:44:50 2021
@@ -1,35 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2018/08/04 01:05:10 nia Exp $
+# $NetBSD: options.mk,v 1.2 2021/01/16 14:44:50 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.osg
-PKG_SUPPORTED_OPTIONS+= curl ffmpeg freetype gdal jasper libxml2 lua
-PKG_SUPPORTED_OPTIONS+= openexr pdf sdl2 svg xrandr
-PKG_SUGGESTED_OPTIONS+= ffmpeg freetype xrandr
-
-PLIST_VARS+= curl ffmpeg freetype gdal jasper lua openexr pdf svg
+PKG_SUPPORTED_OPTIONS+= gdal pdf svg
+PLIST_VARS+= gdal pdf svg
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mcurl)
-.include "../../www/curl/buildlink3.mk"
-PLIST.curl= yes
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_CURL=TRUE
-.endif
-
-.if !empty(PKG_OPTIONS:Mffmpeg)
-.include "../../multimedia/ffmpeg4/buildlink3.mk"
-PLIST.ffmpeg= yes
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_FFmpeg=TRUE
-.endif
-
-.if !empty(PKG_OPTIONS:Mfreetype)
-.include "../../graphics/freetype2/buildlink3.mk"
-PLIST.freetype= yes
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Freetype=TRUE
-.endif
-
.if !empty(PKG_OPTIONS:Mgdal)
.include "../../geography/gdal-lib/buildlink3.mk"
PLIST.gdal= yes
@@ -37,27 +13,6 @@ PLIST.gdal= yes
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GDAL=TRUE
.endif
-.if !empty(PKG_OPTIONS:Mjasper)
-.include "../../graphics/jasper/buildlink3.mk"
-PLIST.jasper= yes
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Jasper=TRUE
-.endif
-
-.if !empty(PKG_OPTIONS:Mlua)
-.include "../../lang/lua52/buildlink3.mk"
-PLIST.lua= yes
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Lua52=TRUE
-.endif
-
-.if !empty(PKG_OPTIONS:Mopenexr)
-.include "../../graphics/openexr/buildlink3.mk"
-PLIST.openexr= yes
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_OpenEXR=TRUE
-.endif
-
.if !empty(PKG_OPTIONS:Mpdf)
.include "../../print/poppler-glib/buildlink3.mk"
PLIST.pdf= yes
@@ -65,28 +20,9 @@ PLIST.pdf= yes
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Poppler-glib=TRUE
.endif
-.if !empty(PKG_OPTIONS:Msdl2)
-.include "../../devel/SDL2/buildlink3.mk"
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=TRUE
-.endif
-
.if !empty(PKG_OPTIONS:Msvg)
.include "../../graphics/librsvg/buildlink3.mk"
PLIST.svg= yes
.else
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_RSVG=TRUE
.endif
-
-.if !empty(PKG_OPTIONS:Mxrandr)
-.include "../../x11/libXrandr/buildlink3.mk"
-CMAKE_ARGS+= -DOSGVIEWER_USE_XRANDR:BOOL=ON
-.else
-CMAKE_ARGS+= -DOSGVIEWER_USE_XRANDR:BOOL=OFF
-.endif
-
-.if !empty(PKG_OPTIONS:Mlibxml2)
-.include "../../textproc/libxml2/buildlink3.mk"
-.else
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=TRUE
-.endif
Home |
Main Index |
Thread Index |
Old Index