Ticket #46317: digikam.diff
File digikam.diff, 5.1 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
/opt/local/site-ports/kde/digikam/
old new 6 6 PortGroup compiler_blacklist_versions 1.0 7 7 8 8 name digikam 9 version 4.0.0 9 version 4.6.0 10 revision 1 10 11 categories kde kde4 11 12 license GPL-2+ 12 13 maintainers hyper-world.de:jan openmaintainer \ 13 14 gmail.com:caulier.gilles 14 15 platforms darwin 15 16 16 description Photo Management Program 17 long_description Digital photo management program to import, organize, enhance, search and export your digital images.17 description Photo Management Programme 18 long_description Digital photo management programme to import, organise, enhance, search and export your digital images. 18 19 19 20 homepage http://www.digikam.org/ 20 21 master_sites kde:stable/digikam/ 21 22 22 checksums rmd160 1ffc3e164772d031ff4b017598265bcd1934b919 \ 23 sha256 984f7a47a3fdd5b5b30991b436848ed420fbcfffa01ffaa3abdf7202848b17ae 23 #checksums rmd160 540f243361aba3c95b675c05f84d8d60efab1948 \ 24 # sha256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9 25 checksums rmd160 f1c6a0108b7bdd3b3301bf96de48b66a89a7dc1d \ 26 sha256 b047a3172203e036c35f73dbb93cc7e71408c05bedaa8f7f1e0cc539a355a345 24 27 25 28 use_bzip2 yes 26 29 … … 35 38 port:jpeg \ 36 39 port:libpng \ 37 40 port:opencv \ 38 port:marble 41 port:marble 42 depends_lib-append port:libpgf 39 43 40 44 # Dependencies of kipi-plugins 41 45 … … 66 70 depends_run-append port:kde4-baseapps \ 67 71 port:kde4-runtime \ 68 72 port:oxygen-icons \ 69 port:qt4-mac-sqlite3-plugin 70 # Following dependenc ies are needed for Panorama and ExpoBlending tools, but73 port:qt4-mac-sqlite3-plugin 74 # Following dependency is needed for the Panorama (and ExpoBlending?) tool, but 71 75 # cannot be installed on Intel Macs currently as far as I know. Also they need 72 76 # wxWidgets which currently cannot be installed with XCode of OS X 10.7 or 73 77 # newer. 78 # RJVB 20140918: hugin needs wxWidgets 3 nowadays, which introduces a dependency to another GUI framework. Users who 79 # want the Panorama tool can install hugin-app manually and then build digikam from source 80 # (or we could add yet another variant) 74 81 # port:hugin-app \ 75 # port:enblend76 82 77 83 # kde4-baseapps is not universal 78 84 universal_variant no … … 84 90 85 91 # Configurations rules to compile fine ##################################### 86 92 87 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \ 88 -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \ 89 -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \ 90 -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \ 91 -DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" \ 92 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ 93 # 20140918: do we really need to specify the CMAKE_MODULE_PATH nowadays? 94 # -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \ 95 # We do need to add ENABLE_KDEPIMLIBSSUPPORT though, otherwise the dependency on kdepimlibs4 is 96 # there for nothing! 97 # There also appears to be no (more) need to force-defined __KDE_HAVE_GCC_VISIBILITY 98 # -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' 99 #-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" 100 #-DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" 101 #-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON 102 103 configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \ 93 104 -DOpenCV_DIR=${prefix}/lib/cmake \ 105 -DDIGIKAMSC_COMPILE_LIBKGEOMAP:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE:BOOL=ON \ 106 -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKFACE:BOOL=ON \ 94 107 -Wno-dev \ 95 108 ../${distname} 96 109 … … 101 114 if {[variant_isset debug]} { 102 115 configure.args-append -DCMAKE_BUILD_TYPE=debugfull 103 116 } else { 104 configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug 117 # RJVB: use RelWithDebInfo instead of releasewithdebug, and prevent stripping 118 #configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug 119 configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo 105 120 } 106 121 107 122 # Option to compile handbook … … 117 132 variant translations description {Build digiKam GUI translations} {} 118 133 119 134 if {[variant_isset translations]} { 120 configure.args-append -DDIGIKAMSC_COMPILE_PO= on135 configure.args-append -DDIGIKAMSC_COMPILE_PO=ON 121 136 } else { 122 configure.args-append -DDIGIKAMSC_C OMPILE_PO=off137 configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off 123 138 } 124 139 125 140 # Option to compile target using internal implementation of KdeGraphics shared libs maintained by digiKam team