Ticket #46721: hugin-app-2014.0.0.diff
File hugin-app-2014.0.0.diff, 3.1 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
6 6 PortGroup wxWidgets 1.0 7 7 8 8 name hugin-app 9 version 2013.0.0 10 revision 7 9 version 2014.0.0 11 10 set branch [join [lrange [split ${version} .] 0 1] .] 12 11 categories graphics 13 12 maintainers nomaintainer … … 28 27 wxWidgets.use wxWidgets-3.0 29 28 30 29 depends_build-append port:pkgconfig 30 31 31 depends_lib port:boost \ 32 32 port:exiv2 \ 33 33 port:flann \ … … 40 40 port:libpng \ 41 41 port:libxml2 \ 42 42 port:openexr \ 43 port:p5.16-image-exiftool \ 43 44 port:swig-python \ 44 45 port:tclap \ 45 46 port:tiff \ … … 46 47 port:python27 \ 47 48 port:${wxWidgets.port} 48 49 50 depends_run port:enblend 49 51 52 post-extract { 53 # DOS to UNIX line endings. 54 reinplace -W ${worksrcpath} "s|\r||g" src/tools/ParseExp.cpp 55 } 56 50 57 # TODO dependencies: 51 58 # - freeglut or glut, the OpenGL utility toolkit 52 59 # - optionally, lapack … … 60 67 61 68 # TODO: try to see where MAC_SELF_CONTAINED_BUNDLE gets defined 62 69 63 # patch-src-foreign-vigra-vigra-cachedfileimage.hxx.patch - https://bugs.launchpad.net/bugs/121358664 # patch-src-foreign-zthread-include-zthread-Guard.h.diff - https://bugs.launchpad.net/bugs/121358565 70 # patch-src-hugin1-hugin1.pch.diff - moderately helps with compiler issues 66 patchfiles patch-src-foreign-vigra-vigra-cachedfileimage.hxx.patch \ 67 patch-src-foreign-zthread-include-zthread-Guard.h.diff \ 68 patch-src-hugin1-hugin1.pch.diff \ 69 patch-src-hugin1-icpfind-AutoCtrlPointCreator.cpp.diff 71 patchfiles-append patch-src-hugin1-hugin1.pch.diff 72 patchfiles-append patch-src-hugin1-icpfind-AutoCtrlPointCreator.cpp.diff 73 patchfiles-append patch-src-tools-ParseExp.cpp.diff 70 74 71 depends_run port:enblend\72 port:p5.16-image-exiftool75 checksums rmd160 2184d85f2dd5ada20884bd80f2e4d18c99db294e \ 76 sha256 f098aa0ede44010d3bb2bb38693177533fd776c45063a338c4c483d7e471ec29 73 77 74 checksums rmd160 73261aa925d6284c6950c84fbfdd77e8b0a2ee7d \75 sha256 484e1ed58fa6fe4bae1f423967101549345bcca2653b992afbc0ed9ec0dbebd576 77 78 # Per the README: "Hugin can be compiled with gcc-4.4.4, gcc-4.5.1, and gcc-4.6" 78 79 compiler.blacklist gcc-* apple-gcc-* macports-gcc-4.2 macports-gcc-4.3 79 80 81 configure.env PATH="${prefix}/libexec/perl5.16:$env(PATH)" 82 80 83 # TODO: fix this 81 84 configure.args-append -DINSTALL_OSX_BUNDLE_DIR=${applications_dir} \ 82 85 -DPYTHON_EXECUTABLE=${frameworks_dir}/Python.framework/Versions/2.7/bin/python \