[112291] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 16 20:02:36 PDT 2013
Revision: 112291
https://trac.macports.org/changeset/112291
Author: ryandesign at macports.org
Date: 2013-10-16 20:02:36 -0700 (Wed, 16 Oct 2013)
Log Message:
-----------
libPyQGLViewer: new port, version 2.3.17 (#40741) based on libQGLViewer
Modified Paths:
--------------
trunk/dports/graphics/libPyQGLViewer/Portfile
trunk/dports/graphics/libPyQGLViewer/files/patch-QGLViewer.pro.diff
trunk/dports/graphics/libPyQGLViewer/files/patch-contribs.pro.diff
trunk/dports/graphics/libPyQGLViewer/files/patch-designerPlugin.pro.diff
Added Paths:
-----------
trunk/dports/graphics/libPyQGLViewer/
Modified: trunk/dports/graphics/libPyQGLViewer/Portfile
===================================================================
--- trunk/dports/graphics/libQGLViewer/Portfile 2013-10-17 01:54:30 UTC (rev 112290)
+++ trunk/dports/graphics/libPyQGLViewer/Portfile 2013-10-17 03:02:36 UTC (rev 112291)
@@ -2,14 +2,15 @@
# $Id$
PortSystem 1.0
+PortGroup qmake 1.0
-name libQGLViewer
-version 2.4.0
+name libPyQGLViewer
+version 2.3.17
platforms darwin
-maintainers raphael openmaintainer
+maintainers inria.fr:christophe.pradal openmaintainer
license {GPL-2+ Commercial}
categories graphics
-description A C++ library based on Qt that eases the creation of OpenGL \
+description A friendly fork of a C++ library based on Qt that eases the creation of OpenGL \
3D viewers
homepage http://www.libqglviewer.com/
long_description libQGLViewer is a C++ library based on Qt that eases the \
@@ -20,13 +21,16 @@
keyFrames, object selection, stereo display, screenshot saving \
and much more. It can be used by OpenGL beginners as well as \
to create complex applications, being fully customizable and \
- easy to extend.
+ easy to extend. \
+ It has been forked to allow running sip on it to create Python wrappers.
-master_sites ${homepage}src/
+conflicts libQGLViewer
-checksums rmd160 2283aefd96b8c20aa890899d19f869883fef612c \
- sha256 6135b97502bde59486e2398a6f0cedff6042dfcfd0e03892a471e85fc1fa362a
+master_sites https://gforge.inria.fr/frs/download.php/32979
+checksums rmd160 6451253bd9d6f347d1af73e7a48bc9d2d5cf48db \
+ sha256 94860a337879f63ad7598192f0d31da1d275af7bff8c910a0c0abd5b902887fb
+
patchfiles patch-QGLViewer.pro.diff \
patch-designerPlugin.pro.diff
# the terrain example does not compile on Lion; see #30886
@@ -36,18 +40,6 @@
variant universal {}
-variant x11 {}
-
-if {![variant_isset x11]} {
- PortGroup qmake 1.0
-} else {
- depends_lib-append port:qt4-x11
- configure.cmd ${prefix}/libexec/qt4-x11/bin/qmake
- configure.pre_args PREFIX=${prefix}
- configure.universal_args
- set qt_plugins_dir ${prefix}/libexec/qt4-x11/plugins/designer
-}
-
post-patch {
reinplace "s|@@QT_PLUGINS_DIR@@|${qt_plugins_dir}|g" ${worksrcpath}/designerPlugin/designerPlugin.pro
@@ -69,10 +61,10 @@
copy ${worksrcpath}/examples ${destroot}${applications_dir}/libQGLViewer\ Examples
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} \
- CHANGELOG \
- GPL_EXCEPTION \
- LICENCE \
- README \
+ changeLog.txt \
+ GPL_exception.txt \
+ licence.txt \
+ readMe.txt \
${destroot}${prefix}/share/doc/${name}
}
Modified: trunk/dports/graphics/libPyQGLViewer/files/patch-QGLViewer.pro.diff
===================================================================
--- trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff 2013-10-17 01:54:30 UTC (rev 112290)
+++ trunk/dports/graphics/libPyQGLViewer/files/patch-QGLViewer.pro.diff 2013-10-17 03:02:36 UTC (rev 112291)
@@ -1,11 +1,11 @@
---- QGLViewer/QGLViewer.pro.orig 2013-06-12 16:14:03.000000000 +0200
-+++ QGLViewer/QGLViewer.pro 2013-06-12 16:14:39.000000000 +0200
-@@ -239,7 +239,7 @@
+--- QGLViewer/QGLViewer.pro.orig 2012-06-06 23:24:23.000000000 +0200
++++ QGLViewer/QGLViewer.pro 2013-10-10 15:12:17.000000000 +0200
+@@ -235,7 +235,7 @@
# -------------------
macx|darwin-g++ {
# This setting creates a Mac framework. Comment out this line to create a dylib instead.
-- !staticlib: CONFIG *= lib_bundle
-+ #!staticlib: CONFIG *= lib_bundle
+- CONFIG *= lib_bundle
++ #CONFIG *= lib_bundle
include.files *= qglviewer.icns
Modified: trunk/dports/graphics/libPyQGLViewer/files/patch-contribs.pro.diff
===================================================================
--- trunk/dports/graphics/libQGLViewer/files/patch-contribs.pro.diff 2013-10-17 01:54:30 UTC (rev 112290)
+++ trunk/dports/graphics/libPyQGLViewer/files/patch-contribs.pro.diff 2013-10-17 03:02:36 UTC (rev 112291)
@@ -1,5 +1,5 @@
---- examples/contribs/contribs.pro.orig 2011-09-15 21:03:03.000000000 +0200
-+++ examples/contribs/contribs.pro 2011-09-15 21:03:24.000000000 +0200
+--- examples/contribs/contribs.pro.orig 2012-06-06 23:24:23.000000000 +0200
++++ examples/contribs/contribs.pro 2013-10-10 15:19:50.000000000 +0200
@@ -5,7 +5,6 @@
blobWar \
cornerAxis \
Modified: trunk/dports/graphics/libPyQGLViewer/files/patch-designerPlugin.pro.diff
===================================================================
--- trunk/dports/graphics/libQGLViewer/files/patch-designerPlugin.pro.diff 2013-10-17 01:54:30 UTC (rev 112290)
+++ trunk/dports/graphics/libPyQGLViewer/files/patch-designerPlugin.pro.diff 2013-10-17 03:02:36 UTC (rev 112291)
@@ -1,6 +1,6 @@
---- designerPlugin/designerPlugin.pro.orig 2013-06-12 16:17:08.000000000 +0200
-+++ designerPlugin/designerPlugin.pro 2013-06-12 16:17:29.000000000 +0200
-@@ -20,7 +20,7 @@
+--- designerPlugin/designerPlugin.pro.orig 2012-06-06 23:24:31.000000000 +0200
++++ designerPlugin/designerPlugin.pro 2013-10-10 15:17:32.000000000 +0200
+@@ -19,7 +19,7 @@
}
}
@@ -8,4 +8,4 @@
+target.path = @@QT_PLUGINS_DIR@@/designer
INSTALLS += target
- HEADERS = qglviewerPlugin.h
+ contains( QT_VERSION, "^4.*" ) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131016/f5ad37e0/attachment-0001.html>
More information about the macports-changes
mailing list