[146106] trunk/dports/graphics/OpenSceneGraph
devans at macports.org
devans at macports.org
Sat Feb 27 12:15:54 PST 2016
Revision: 146106
https://trac.macports.org/changeset/146106
Author: devans at macports.org
Date: 2016-02-27 12:15:54 -0800 (Sat, 27 Feb 2016)
Log Message:
-----------
OpenSceneGraph: various enhancements, increment revision.
* 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/Portfile
Removed Paths:
-------------
trunk/dports/graphics/OpenSceneGraph/files/
Modified: trunk/dports/graphics/OpenSceneGraph/Portfile
===================================================================
--- trunk/dports/graphics/OpenSceneGraph/Portfile 2016-02-27 18:56:18 UTC (rev 146105)
+++ trunk/dports/graphics/OpenSceneGraph/Portfile 2016-02-27 20:15:54 UTC (rev 146106)
@@ -4,9 +4,12 @@
PortSystem 1.0
PortGroup cmake 1.0
+cmake.out_of_source yes
+
name OpenSceneGraph
conflicts OpenSceneGraph-devel
version 3.4.0
+revision 1
platforms darwin
categories graphics
maintainers nomaintainer
@@ -25,9 +28,6 @@
checksums rmd160 6043321fc1c9b23f0e536c4e18a96a97d8b16c30 \
sha256 5c727d84755da276adf8c4a4a3a8ba9c9570fc4b4969f06f1d2e9f89b1e3040e
-# Tons of stuff was disabled originally, but leaving it in seems to work:
-#patchfiles patch-CMakeLists.txt.diff
-
depends_build-append port:pkgconfig
depends_lib port:freetype \
@@ -41,13 +41,36 @@
port:librsvg \
port:giflib \
port:tiff \
- port:boost
+ port:boost \
+ 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
+# 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/96d23db1/attachment.html>
More information about the macports-changes
mailing list