diff options
Diffstat (limited to 'graphics/osg/Makefile')
-rw-r--r-- | graphics/osg/Makefile | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index 6a17ad8f5a3..3987d84d197 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -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/openthreads.pc.in 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" |