[65645] trunk/dports/graphics/libQGLViewer

raphael at macports.org raphael at macports.org
Mon Mar 29 12:24:59 PDT 2010


Revision: 65645
          http://trac.macports.org/changeset/65645
Author:   raphael at macports.org
Date:     2010-03-29 12:24:57 -0700 (Mon, 29 Mar 2010)
Log Message:
-----------
libQGLViewer: update to 2.3.5

Modified Paths:
--------------
    trunk/dports/graphics/libQGLViewer/Portfile
    trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff

Modified: trunk/dports/graphics/libQGLViewer/Portfile
===================================================================
--- trunk/dports/graphics/libQGLViewer/Portfile	2010-03-29 19:05:05 UTC (rev 65644)
+++ trunk/dports/graphics/libQGLViewer/Portfile	2010-03-29 19:24:57 UTC (rev 65645)
@@ -4,7 +4,7 @@
 PortSystem                      1.0
 
 name                            libQGLViewer
-version                         2.3.4
+version                         2.3.5
 platforms                       darwin
 maintainers                     raphael openmaintainer
 license                         GPL-2+ Commercial
@@ -23,11 +23,21 @@
                                 easy to extend.
 
 master_sites                    ${homepage}src/
-checksums                       md5     0424149bafda8083d49632a3d59ba51e \
-                                sha1    c55812adf4c41407cef649c589cec7dbce3c837f \
-                                rmd160  29cb66fee423d106b19356b46096512dce5496e0
+checksums                       md5     e47223379ddac202d18553c93c9249f0 \
+                                sha1    420b853183615550ec3c337c9487d21902170b06 \
+                                rmd160  62beedc09e4905b11063d16d3f062c72c4cc6647
+
+depends_build                   port:libicns
 depends_lib                     path:bin/qmake-mac:qt4-mac
 
+post-extract {                  system "/usr/bin/sips -p 128 128 \
+                                            ${worksrcpath}/doc/images/qglviewer.small.png \
+                                            --out ${worksrcpath}/QGLViewer/qglviewer.png && \
+                                        ${prefix}/bin/png2icns \
+                                            ${worksrcpath}/QGLViewer/qglviewer.icns \
+                                            ${worksrcpath}/QGLViewer/qglviewer.png"
+}
+
 patchfiles                      patch-QGLViewer.pro.diff \
                                 patch-designerPlugin.pro.diff
 post-patch {                    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/QGLViewer/QGLViewer.pro
@@ -38,7 +48,8 @@
 
 configure.cmd                   qmake-mac
 configure.pre_args              PREFIX=${destroot}${prefix} \
-                                DOC_DIR=${destroot}${prefix}/share/doc/${name}
+                                DOC_DIR=${destroot}${prefix}/share/doc/${name} \
+                                -after QMAKE_POST_LINK=
 
 use_parallel_build              no
 

Modified: trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff
===================================================================
--- trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff	2010-03-29 19:05:05 UTC (rev 65644)
+++ trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff	2010-03-29 19:24:57 UTC (rev 65645)
@@ -1,18 +1,20 @@
---- QGLViewer/QGLViewer.pro.orig	2009-10-19 17:09:48.000000000 +0200
-+++ QGLViewer/QGLViewer.pro	2009-10-19 17:10:49.000000000 +0200
+--- QGLViewer/QGLViewer.pro.orig	2010-03-15 17:09:49.000000000 +0100
++++ QGLViewer/QGLViewer.pro	2010-03-15 17:11:20.000000000 +0100
 @@ -13,6 +13,7 @@
- VERSION = 2.3.4
+ VERSION = 2.3.5
  CONFIG -= debug debug_and_release
- CONFIG *= release qt opengl warn_on shared thread create_prl rtti
+ CONFIG *= release qt opengl warn_on shared thread create_prl rtti no_keywords
 +QMAKE_LFLAGS_SONAME = -Wl,-install_name,@@PREFIX@@/lib/
  
- HEADERS = qglviewer.h \
+ QGL_HEADERS = qglviewer.h \
  	  camera.h \
-@@ -214,7 +215,6 @@
- 
+@@ -231,9 +232,6 @@
  #		--  M a c O S X  --
+ #               -------------------
  macx|darwin-g++ {
+-  # This option is used to create a mac framework. Comment out to create a dylib instead.
 -  CONFIG *= lib_bundle
-   # GLUT for Macintosh architecture
-   !isEmpty( USE_GLUT ) {
-     QMAKE_LIBS_OPENGL -= -lglut
+-
+   include.files *= qglviewer.icns
+ 
+   lib_bundle {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100329/a7eec866/attachment.html>


More information about the macports-changes mailing list