Ticket #46974: digikam-480.diff

File digikam-480.diff, 5.0 KB (added by RJVB (René Bertin), 10 years ago)
  • trunk/dports/kde/digikam/Portfile

    diff --git a/trunk/dports/kde/digikam/Portfile b/trunk/dports/kde/digikam/Portfile
    a b  
    66PortGroup           compiler_blacklist_versions 1.0
    77
    88name                digikam
    9 version             4.0.0
     9version             4.8.0
     10revision            1
    1011categories          kde kde4
    1112license             GPL-2+
    1213maintainers         hyper-world.de:jan openmaintainer \
     
    1314                    gmail.com:caulier.gilles
    1415platforms           darwin
    1516
    16 description         Photo Management Program
    17 long_description    Digital photo management program to import, organize, enhance, search and export your digital images.
     17description         Photo Management Programme
     18long_description    Digital photo management programme to import, organise, enhance, search and export your digital images.
    1819
    1920homepage            http://www.digikam.org/
    2021master_sites        kde:stable/digikam/
    2122
    22 checksums           rmd160 1ffc3e164772d031ff4b017598265bcd1934b919 \
    23                     sha256 984f7a47a3fdd5b5b30991b436848ed420fbcfffa01ffaa3abdf7202848b17ae
     23checksums           rmd160  93ceb3b3b98739254c97df5aefc2c3965a7a9011 \
     24                    sha256  e20f84508f35fddcaec3b931efbc604a95050ec08c6796b6bc60a61cd58fa390
    2425
    2526use_bzip2           yes
    2627
     
    3536                    port:jpeg \
    3637                    port:libpng \
    3738                    port:opencv \
    38                     port:marble
     39                    port:marble
     40depends_lib-append  port:libpgf
    3941
    4042# Dependencies of kipi-plugins
    4143
     
    6668depends_run-append  port:kde4-baseapps \
    6769                    port:kde4-runtime \
    6870                    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
    7173# cannot be installed on Intel Macs currently as far as I know. Also they need
    7274# wxWidgets which currently cannot be installed with XCode of OS X 10.7 or
    7375# 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)
    7479#                   port:hugin-app \
    75 #                   port:enblend
    7680
    7781# kde4-baseapps is not universal
    7882universal_variant   no
     
    8488
    8589# Configurations rules to compile fine #####################################
    8690
    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
     101configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \
    93102                      -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 \
    94105                      -Wno-dev \
    95106                      ../${distname}
    96107
     
    101112if {[variant_isset debug]} {
    102113    configure.args-append -DCMAKE_BUILD_TYPE=debugfull
    103114} 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
    105117}
    106118
    107119# Option to compile handbook
     
    117129variant translations description {Build digiKam GUI translations} {}
    118130
    119131if {[variant_isset translations]} {
    120     configure.args-append -DDIGIKAMSC_COMPILE_PO=on
     132    configure.args-append -DDIGIKAMSC_COMPILE_PO=ON
    121133} else {
    122     configure.args-append -DDIGIKAMSC_COMPILE_PO=off
     134    configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off
    123135}
    124136
    125137# Option to compile target using internal implementation of KdeGraphics shared libs maintained by digiKam team