[146109] trunk/dports/graphics/OpenSceneGraph-devel
devans at macports.org
devans at macports.org
Sat Feb 27 14:35:33 PST 2016
Revision: 146109
https://trac.macports.org/changeset/146109
Author: devans at macports.org
Date: 2016-02-27 14:35:33 -0800 (Sat, 27 Feb 2016)
Log Message:
-----------
OpenSceneGraph-devel: update to 3.5.1 git master as of 20160223 using github.
* use cmake.out_of_source (#47197)
* add dependency to enable gstreamer1 plugin support
* disable unwanted optional dependencies to avoid opportunistic configuration
* remove outdated patchfiles that are no longer used
Modified Paths:
--------------
trunk/dports/graphics/OpenSceneGraph-devel/Portfile
Removed Paths:
-------------
trunk/dports/graphics/OpenSceneGraph-devel/files/
Modified: trunk/dports/graphics/OpenSceneGraph-devel/Portfile
===================================================================
--- trunk/dports/graphics/OpenSceneGraph-devel/Portfile 2016-02-27 22:25:50 UTC (rev 146108)
+++ trunk/dports/graphics/OpenSceneGraph-devel/Portfile 2016-02-27 22:35:33 UTC (rev 146109)
@@ -2,13 +2,17 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
PortGroup cmake 1.0
+cmake.out_of_source yes
+
+set git_commit 0fa20f45154306b6aef6fd4a385db060769e8c4
+set git_date 20160223
+github.setup openscenegraph osg ${git_commit}
name OpenSceneGraph-devel
+version 3.5.1-${git_date}
conflicts OpenSceneGraph
-set my_name OpenSceneGraph
-version 3.3.2
-revision 1
platforms darwin
categories graphics
maintainers nomaintainer
@@ -20,16 +24,10 @@
modelling.
homepage http://www.openscenegraph.org/
-master_sites ${homepage}downloads/developer_releases/
-distname ${my_name}-${version}
-use_zip yes
+checksums rmd160 26431e366238ff0c2df19fae5b284a6eec5b9c36 \
+ sha256 87924283364ae12e75113864bc46be7d4af7504113e21d4ef296ec7f7d284f0a
-checksums rmd160 5dc562afc508faf31a67f0e1f7e75b7444263dd3 \
- sha256 759676cdccd0b88e60dc1f86ee143c7598a817506fce9a6d8a388998f4230099
-
-patchfiles patch-CMakeLists.txt.diff
-
depends_build-append port:pkgconfig
depends_lib port:freetype \
@@ -44,13 +42,36 @@
port:giflib \
port:tiff \
port:boost \
- port:lua
+ port:gstreamer1-gst-plugins-base
configure.args-append -DOSG_CONFIG_HAS_BEEN_RUN_BEFORE=YES \
-DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \
-DOSG_WINDOWING_SYSTEM=Cocoa \
-DOSG_USE_QT:BOOL=OFF
-livecheck.type regex
-livecheck.url ${homepage}downloads/developer_releases/
-livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+# disable unwanted optional dependencies to avoid opportunistic configuration
+# before cmake 2.8 this required patching CMakeLists.txt
+# TODO: add some of these back either directly or as variants after testing
+
+configure.args-append -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_FBX=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_Xine=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_Performer=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_GTA=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_OurDCMTK=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_SDL=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_Asio=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=1 \
+ -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=1
+
+variant qt5 description "with Qt5 support" {
+ configure.args-delete -DOSG_USE_QT:BOOL=OFF
+ configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=5
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160227/87b7282d/attachment.html>
More information about the macports-changes
mailing list