Changeset 133889 for trunk


Ignore:
Timestamp:
Mar 14, 2015, 9:30:19 PM (5 years ago)
Author:
mk@…
Message:

digikam: upgrade to current 4.8.0

Location:
trunk/dports/kde/digikam
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/digikam/Portfile

    r133618 r133889  
    77
    88name                digikam
    9 version             4.0.0
    10 revision            1
     9version             4.8.0
    1110categories          kde kde4
    1211license             GPL-2+
     
    1514platforms           darwin
    1615
    17 description         Photo Management Program
    18 long_description    Digital photo management program to import, organize, enhance, search and export your digital images.
     16description         Photo Management Programme
     17long_description    Digital photo management programme to import, organise, enhance, search and export your digital images.
    1918
    2019homepage            http://www.digikam.org/
    2120master_sites        kde:stable/digikam/
    2221
    23 checksums           rmd160 1ffc3e164772d031ff4b017598265bcd1934b919 \
    24                     sha256 984f7a47a3fdd5b5b30991b436848ed420fbcfffa01ffaa3abdf7202848b17ae
     22checksums           rmd160  93ceb3b3b98739254c97df5aefc2c3965a7a9011 \
     23                    sha256  e20f84508f35fddcaec3b931efbc604a95050ec08c6796b6bc60a61cd58fa390
    2524
    2625use_bzip2           yes
     
    3837                    port:opencv \
    3938                    port:marble
     39depends_lib-append  port:libpgf
    4040
    4141# Dependencies of kipi-plugins
     
    6969                    port:oxygen-icons \
    7070                    port:qt4-mac-sqlite3-plugin
    71 # Following dependencies are needed for Panorama and ExpoBlending tools, but
     71# Following dependency is needed for the Panorama (and ExpoBlending?) tool, but
    7272# cannot be installed on Intel Macs currently as far as I know. Also they need
    7373# wxWidgets which currently cannot be installed with XCode of OS X 10.7 or
    7474# newer.
     75# RJVB 20140918: hugin needs wxWidgets 3 nowadays, which introduces a dependency to another GUI framework. Users who
     76# want the Panorama tool can install hugin-app manually and then build digikam from source
     77# (or we could add yet another variant)
    7578#                   port:hugin-app \
    76 #                   port:enblend
    7779
    7880# kde4-baseapps is not universal
     
    8486compiler.blacklist-append   {clang < 318}
    8587
    86 # build fix due to lensfun 0.3.0 API changes (CCI support removed)
    87 # see http://sourceforge.net/p/lensfun/code/ci/f0c293162fb1480142073743c96ac7e6f4ba3628/
    88 patchfiles-append   patch-lensfun-0.3.0.diff
    89 
    9088# Configurations rules to compile fine #####################################
    9189
    92 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
    93                       -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
    94                       -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
    95                       -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \
    96                       -DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" \
    97                       -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
     90# 20140918: do we really need to specify the CMAKE_MODULE_PATH nowadays?
     91# -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \
     92# We do need to add ENABLE_KDEPIMLIBSSUPPORT though, otherwise the dependency on kdepimlibs4 is
     93# there for nothing!
     94# There also appears to be no (more) need to force-defined __KDE_HAVE_GCC_VISIBILITY
     95# -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY'
     96#-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\"
     97#-DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\"
     98#-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
     99
     100configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \
    98101                      -DOpenCV_DIR=${prefix}/lib/cmake \
     102                      -DDIGIKAMSC_COMPILE_LIBKGEOMAP:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE:BOOL=ON \
     103                      -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKFACE:BOOL=ON \
    99104                      -Wno-dev \
    100105                      ../${distname}
     
    107112    configure.args-append -DCMAKE_BUILD_TYPE=debugfull
    108113} else {
    109     configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug
     114    # RJVB: use RelWithDebInfo instead of releasewithdebug, and prevent stripping
     115    #configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug
     116    configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
    110117}
    111118
     
    123130
    124131if {[variant_isset translations]} {
    125     configure.args-append -DDIGIKAMSC_COMPILE_PO=on
     132    configure.args-append -DDIGIKAMSC_COMPILE_PO=ON
    126133} else {
    127     configure.args-append -DDIGIKAMSC_COMPILE_PO=off
     134    configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off
    128135}
    129136
Note: See TracChangeset for help on using the changeset viewer.