source: trunk/dports/graphics/OpenSceneGraph-devel/Portfile

Last change on this file was 148894, checked in by mcalhoun@…, 14 months ago

openexr, ilmbase: update version to 2.2.0
revbump dependencies since library name changes
homepage states that new features "should be available to applications without code modifications"
merge openexr and ilmbase into one Portfile since versions now seem linked
fixes #44620, #44619, #49965, and #49966; maintainer timeout

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
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# $Id: Portfile 148894 2016-05-22 14:26:15Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               github 1.0
6PortGroup               cmake 1.0
7
8cmake.out_of_source     yes
9
10set git_commit          ae9b9c57b65723fa0cbd4d55bbe7e235e32d89b5
11set git_date            20160421
12github.setup            openscenegraph OpenSceneGraph ${git_commit}
13name                    OpenSceneGraph-devel
14version                 3.5.2-${git_date}
15revision                3
16conflicts               OpenSceneGraph
17platforms               darwin
18categories              graphics
19maintainers             nomaintainer
20license                 wxWidgets-3
21description             high-performance 3D graphics toolkit
22
23long_description        ${name} is a high-performance 3D graphics toolkit useful in fields such as \
24                        visual simulation, games, virtual reality, scientific visualization and \
25                        modelling.
26
27homepage                http://www.openscenegraph.org/
28
29checksums               rmd160  1ac55d70177d5919abe870b0dd24e0f9da94b582 \
30                        sha256  284ed34823d8ea4d9fb130ff6ddbbda4b2b0f1daaef71b0aeba602c27b48e01d
31
32depends_build-append    port:pkgconfig
33
34depends_lib             port:freetype \
35                        port:jasper \
36                        port:openexr \
37                        port:zlib \
38                        port:gdal \
39                        port:curl \
40                        path:lib/libavcodec.dylib:ffmpeg \
41                        port:poppler \
42                        port:librsvg \
43                        port:giflib \
44                        port:tiff \
45                        port:boost \
46                        port:gstreamer1-gst-plugins-base
47
48patchfiles              patch-ffmpeg-3.0.diff
49
50configure.args-append   -DOSG_CONFIG_HAS_BEEN_RUN_BEFORE=YES \
51                        -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \
52                        -DOSG_WINDOWING_SYSTEM=Cocoa \
53                        -DOSG_USE_QT:BOOL=OFF
54
55# disable unwanted optional dependencies to avoid opportunistic configuration
56# before cmake 2.8 this required patching CMakeLists.txt
57# TODO: add some of these back either directly or as variants after testing
58
59configure.args-append   -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1 \
60                        -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1 \
61                        -DCMAKE_DISABLE_FIND_PACKAGE_FBX=1 \
62                        -DCMAKE_DISABLE_FIND_PACKAGE_Xine=1 \
63                        -DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1 \
64                        -DCMAKE_DISABLE_FIND_PACKAGE_Performer=1 \
65                        -DCMAKE_DISABLE_FIND_PACKAGE_GTA=1 \
66                        -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1 \
67                        -DCMAKE_DISABLE_FIND_PACKAGE_OurDCMTK=1 \
68                        -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=1 \
69                        -DCMAKE_DISABLE_FIND_PACKAGE_SDL=1 \
70                        -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \
71                        -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=1 \
72                        -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=1 \
73                        -DCMAKE_DISABLE_FIND_PACKAGE_Asio=1 \
74                        -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=1 \
75                        -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=1
76
77variant qt5 description "with Qt5 support" {
78    configure.args-delete -DOSG_USE_QT:BOOL=OFF
79    configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=5
80}
Note: See TracBrowser for help on using the repository browser.