Ticket #47772: digikam.diff
File digikam.diff, 4.0 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
kde/digikam/Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 1 35782 2015-05-03 00:08:42Z larryv@macports.org $2 # $Id: Portfile 123279 2014-08-07 22:29:18Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 PortGroup kde4 1.1 6 6 PortGroup compiler_blacklist_versions 1.0 7 7 8 8 name digikam 9 version 4. 9.09 version 4.10.0 10 10 categories kde kde4 11 11 license GPL-2+ 12 12 maintainers hyper-world.de:jan openmaintainer \ … … 19 19 homepage http://www.digikam.org/ 20 20 master_sites kde:stable/digikam/ 21 21 22 checksums rmd160 72e680f932aca65fe0d59a5c313b1d7950ec29ef \ 23 sha256 fa24591d183e1a782e053bfca43bb91149465d0f5e49926c7d6dd16f6321f07f 22 # checksums rmd160 93ceb3b3b98739254c97df5aefc2c3965a7a9011 \ 23 # sha256 e20f84508f35fddcaec3b931efbc604a95050ec08c6796b6bc60a61cd58fa390 24 checksums rmd160 5b7435cb5e4150ae6dbea7e98630080271254bc2 \ 25 sha256 4207e68b6221307111b66bb69485d3e88150df95dae014a99f6f161a3da0c725 24 26 25 27 use_bzip2 yes 26 28 … … 30 32 31 33 depends_lib-append port:kdelibs4 \ 32 34 port:kdepimlibs4 \ 33 port:qt4-mac \34 35 port:tiff \ 35 36 port:jpeg \ 36 37 port:libpng \ … … 45 46 port:libgpod \ 46 47 port:libxml2 \ 47 48 port:libxslt \ 48 port:qca \49 port:qjson \50 49 port:ImageMagick \ 51 50 path:include/eigen3/Eigen/Eigen:eigen3 52 51 … … 67 66 depends_run-append port:kde4-baseapps \ 68 67 port:kde4-runtime \ 69 68 port:oxygen-icons \ 70 port:qt4-mac-sqlite3-plugin 69 path:${qt_plugins_dir}/sqldrivers/libqsqlite.dylib:qt4-mac-sqlite3-plugin \ 70 port:gstreamer1-gst-libav \ 71 port:gstreamer1-gst-plugins-good 72 71 73 # Following dependency is needed for the Panorama (and ExpoBlending?) tool, but 72 74 # cannot be installed on Intel Macs currently as far as I know. Also they need 73 75 # wxWidgets which currently cannot be installed with XCode of OS X 10.7 or … … 165 167 166 168 # Option to check MySQL availability before compiling target 167 169 168 variant mysql_check description {Check MySQL availability before building digiKam} {} 169 170 if {[variant_isset mysql_check]} { 171 configure.args-append -DENABLE_INTERNALMYSQL=on 170 set use_msql no 171 configure.args-append -DENABLE_INTERNALMYSQL=off -DENABLE_MYSQLSUPPORT=off 172 172 173 depends_lib-append path:bin/mysql_config5:mysql5 \ 174 } else { 175 configure.args-append -DENABLE_INTERNALMYSQL=off 173 variant mysql_check description {Check MySQL availability before building digiKam} { 174 configure.args-delete -DENABLE_INTERNALMYSQL=off -DENABLE_MYSQLSUPPORT=off 175 configure.args-append -DENABLE_INTERNALMYSQL=on -DENABLE_MYSQLSUPPORT=on 176 depends_lib-append path:bin/mysql_config5:mysql5 \ 177 set use_msql yes 178 } 179 variant mariadb description {Use MariaDB instead of MySQL} { 180 configure.args-delete -DENABLE_INTERNALMYSQL=off -DENABLE_MYSQLSUPPORT=off 181 configure.args-append -DENABLE_INTERNALMYSQL=on -DENABLE_MYSQLSUPPORT=on 182 depends_lib-append port:mariadb 183 configure.env-append MYSQLD_PATH=${prefix}/lib/mariadb/bin MYSQL_TOOLS_PATH=${prefix}/lib/mariadb/bin 184 set use_msql yes 185 } 186 187 post-destroot { 188 if {${use_msql}} { 189 ln -s digikamdatabaseserver.app/Contents/MacOS/digikamdatabaseserver ${destroot}${prefix}/lib/kde4/libexec/digikamdatabaseserver 190 } 176 191 } 177 192 178 193 livecheck.type regex