diff --git a/trunk/dports/kde/digikam/Portfile b/trunk/dports/kde/digikam/Portfile
a
|
b
|
|
6 | 6 | PortGroup compiler_blacklist_versions 1.0 |
7 | 7 | |
8 | 8 | name digikam |
9 | | version 4.0.0 |
| 9 | version 4.8.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 93ceb3b3b98739254c97df5aefc2c3965a7a9011 \ |
| 24 | sha256 e20f84508f35fddcaec3b931efbc604a95050ec08c6796b6bc60a61cd58fa390 |
24 | 25 | |
25 | 26 | use_bzip2 yes |
26 | 27 | |
… |
… |
|
35 | 36 | port:jpeg \ |
36 | 37 | port:libpng \ |
37 | 38 | port:opencv \ |
38 | | port:marble |
| 39 | port:marble |
| 40 | depends_lib-append port:libpgf |
39 | 41 | |
40 | 42 | # Dependencies of kipi-plugins |
41 | 43 | |
… |
… |
|
66 | 68 | depends_run-append port:kde4-baseapps \ |
67 | 69 | port:kde4-runtime \ |
68 | 70 | port:oxygen-icons \ |
69 | | port:qt4-mac-sqlite3-plugin |
70 | | # Following dependencies are needed for Panorama and ExpoBlending tools, but |
| 71 | port:qt4-mac-sqlite3-plugin |
| 72 | # Following dependency is needed for the Panorama (and ExpoBlending?) tool, but |
71 | 73 | # cannot be installed on Intel Macs currently as far as I know. Also they need |
72 | 74 | # wxWidgets which currently cannot be installed with XCode of OS X 10.7 or |
73 | 75 | # newer. |
| 76 | # RJVB 20140918: hugin needs wxWidgets 3 nowadays, which introduces a dependency to another GUI framework. Users who |
| 77 | # want the Panorama tool can install hugin-app manually and then build digikam from source |
| 78 | # (or we could add yet another variant) |
74 | 79 | # port:hugin-app \ |
75 | | # port:enblend |
76 | 80 | |
77 | 81 | # kde4-baseapps is not universal |
78 | 82 | universal_variant no |
… |
… |
|
84 | 88 | |
85 | 89 | # Configurations rules to compile fine ##################################### |
86 | 90 | |
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 \ |
| 91 | # 20140918: do we really need to specify the CMAKE_MODULE_PATH nowadays? |
| 92 | # -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \ |
| 93 | # We do need to add ENABLE_KDEPIMLIBSSUPPORT though, otherwise the dependency on kdepimlibs4 is |
| 94 | # there for nothing! |
| 95 | # There also appears to be no (more) need to force-define __KDE_HAVE_GCC_VISIBILITY |
| 96 | # -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' |
| 97 | #-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" |
| 98 | #-DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" |
| 99 | #-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON |
| 100 | |
| 101 | configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \ |
93 | 102 | -DOpenCV_DIR=${prefix}/lib/cmake \ |
| 103 | -DDIGIKAMSC_COMPILE_LIBKGEOMAP:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE:BOOL=ON \ |
| 104 | -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKFACE:BOOL=ON \ |
94 | 105 | -Wno-dev \ |
95 | 106 | ../${distname} |
96 | 107 | |
… |
… |
|
101 | 112 | if {[variant_isset debug]} { |
102 | 113 | configure.args-append -DCMAKE_BUILD_TYPE=debugfull |
103 | 114 | } else { |
104 | | configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug |
| 115 | # RJVB: use RelWithDebInfo instead of releasewithdebug, and prevent stripping |
| 116 | configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo |
105 | 117 | } |
106 | 118 | |
107 | 119 | # Option to compile handbook |
… |
… |
|
117 | 129 | variant translations description {Build digiKam GUI translations} {} |
118 | 130 | |
119 | 131 | if {[variant_isset translations]} { |
120 | | configure.args-append -DDIGIKAMSC_COMPILE_PO=on |
| 132 | configure.args-append -DDIGIKAMSC_COMPILE_PO=ON |
121 | 133 | } else { |
122 | | configure.args-append -DDIGIKAMSC_COMPILE_PO=off |
| 134 | configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off |
123 | 135 | } |
124 | 136 | |
125 | 137 | # Option to compile target using internal implementation of KdeGraphics shared libs maintained by digiKam team |