Commits

David B. Evans authored b63c5855018
OpenSceneGraph(-devel): address opportunistic configuration issues

* add available dependencies not otherwise disabled * sort dependencies for clarity (both enabled and disabled) * disable examples which introduce additional dependency issues * rebuild with new dependencies
No tags

graphics/OpenSceneGraph/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4 PortGroup github 1.0
5 5 PortGroup cmake 1.1
6 6
7 7 github.setup openscenegraph OpenSceneGraph 3.6.4 OpenSceneGraph-
8 +revision 1
8 9 conflicts OpenSceneGraph-devel
9 10 platforms darwin
10 11 categories graphics
11 12 maintainers nomaintainer
12 13 license wxWidgets-3
13 14 description high-performance 3D graphics toolkit
14 15
15 16 long_description ${name} is a high-performance 3D graphics toolkit useful in fields such as \
16 17 visual simulation, games, virtual reality, scientific visualization and \
17 18 modelling.
21 22 checksums rmd160 638ce92d43c94d3f36c926fe0471949f86adfe51 \
22 23 sha256 f9d0dfeb79c2febcef591434ed7a73ed7bff124a18b02a5397e88200042fb7f5 \
23 24 size 5771613
24 25
25 26 # respect MacPors compiler flags
26 27 # see https://trac.macports.org/ticket/45287
27 28 patchfiles-append patch-CMakeLists.txt.diff
28 29
29 30 depends_build-append port:pkgconfig
30 31
31 -depends_lib port:freetype \
32 - port:jasper \
33 - port:openexr \
34 - port:zlib \
35 - port:gdal \
32 +depends_lib port:boost \
36 33 port:curl \
34 + port:dcmtk \
37 35 path:lib/libavcodec.dylib:ffmpeg \
38 - port:poppler \
39 - port:librsvg \
36 + port:freetype \
37 + port:gdal \
40 38 port:giflib \
39 + port:gstreamer1-gst-plugins-base \
40 + port:jpeg \
41 + port:jasper \
42 + port:libpng \
43 + port:librsvg \
44 + port:openexr \
45 + port:poppler \
41 46 port:tiff \
42 - port:boost \
43 - port:gstreamer1-gst-plugins-base
47 + port:zlib
44 48
45 49 compiler.cxx_standard 2011
46 50
47 51 configure.args-append -DOSG_CONFIG_HAS_BEEN_RUN_BEFORE=YES \
48 52 -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \
49 - -DOSG_WINDOWING_SYSTEM=Cocoa
53 + -DOSG_WINDOWING_SYSTEM=Cocoa \
54 + -DBUILD_OSG_EXAMPLES=NO
50 55
51 56 # disable unwanted optional dependencies to avoid opportunistic configuration
52 57 # TODO: add some of these back either directly or as variants after testing
53 58
54 -configure.args-append -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1 \
59 +configure.args-append -DCMAKE_DISABLE_FIND_PACKAGE_Asio=1 \
55 60 -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1 \
61 + -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=1 \
62 + -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1 \
56 63 -DCMAKE_DISABLE_FIND_PACKAGE_FBX=1 \
57 - -DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1 \
58 64 -DCMAKE_DISABLE_FIND_PACKAGE_GTA=1 \
65 + -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \
66 + -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=1 \
59 67 -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1 \
68 + -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade=1 \
69 + -DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1 \
60 70 -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=1 \
61 71 -DCMAKE_DISABLE_FIND_PACKAGE_SDL=1 \
62 - -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \
63 - -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=1 \
64 72 -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=1 \
65 - -DCMAKE_DISABLE_FIND_PACKAGE_Asio=1 \
66 - -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=1 \
67 - -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade=1 \
68 - -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=1
73 + -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=1
69 74
70 75 github.livecheck.regex {(\d+(?:\.\d+)+)}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut