Ticket #38442: digikam.diff
File digikam.diff, 3.3 KB (added by eborisch (Eric A. Borisch), 12 years ago) |
---|
-
Files/extra_kipi-plugins_CMakeLists.txt.patch
1 --- extra/kipi-plugins/CMakeLists.txt.orig 2013-03-18 12:02:07.000000000 -0500 2 +++ extra/kipi-plugins/CMakeLists.txt 2013-03-18 12:03:00.000000000 -0500 3 @@ -335,7 +335,7 @@ 4 PRINT_PLUGIN_COMPILE_STATUS("Calendar" KDEPIMLIBS_FOUND) 5 PRINT_PLUGIN_COMPILE_STATUS("GPSSync" KGEOMAP_FOUND) 6 PRINT_PLUGIN_COMPILE_STATUS("Mediawiki" MEDIAWIKI_FOUND) 7 -PRINT_PLUGIN_COMPILE_STATUS("Panorama" FLEX_FOUND AND BISON_FOUND) 8 +PRINT_PLUGIN_COMPILE_STATUS("Panorama" FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET) 9 PRINT_PLUGIN_COMPILE_STATUS("VideoSlideshow" ImageMagick_FOUND AND QTGSTREAMER_FOUND) 10 PRINT_PLUGIN_COMPILE_STATUS("Wallpaper" BUILD_WALLPAPER) 11 12 @@ -498,9 +498,9 @@ 13 ADD_SUBDIRECTORY(mediawiki) 14 ENDIF(MEDIAWIKI_FOUND) 15 16 - IF(FLEX_FOUND AND BISON_FOUND) 17 + IF(FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET) 18 ADD_SUBDIRECTORY(panorama) 19 - ENDIF(FLEX_FOUND AND BISON_FOUND) 20 + ENDIF(FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET) 21 22 IF(ImageMagick_FOUND AND QTGSTREAMER_FOUND) 23 ADD_SUBDIRECTORY(videoslideshow) -
Portfile
3 3 4 4 PortSystem 1.0 5 5 PortGroup kde4 1.1 6 PortGroup compiler_blacklist_versions 1.0 6 7 7 8 name digikam 8 version 2.9.09 revision 39 version 3.1.0 10 revision 0 10 11 categories kde kde4 11 12 license GPL-2+ 12 13 maintainers hyper-world.de:jan openmaintainer … … 16 17 long_description Digital photo management program to import, organize, enhance, search and export your digital images. 17 18 18 19 homepage http://www.digikam.org/ 19 master_sites sourceforge:project/digikam/digikam/${version}20 master_sites http://download.kde.org/stable/digikam 20 21 21 checksums rmd160 59bd82cd68f2e061f7eddff017056a331e5d0066 \ 22 sha256 73dd0f3820fc44bba7b72c98cab73d0391e98687674da8be11ff07590c703ba0 22 checksums \ 23 rmd160 511550a7ee37aac958a0d2e5afaa0a07aa1eab0e \ 24 sha256 f70fc84f3a680a855642fcc4664710116406bbe4068b0ad4d2cfb4127684c2aa 23 25 24 26 use_bzip2 yes 25 27 28 patchfiles extra_kipi-plugins_CMakeLists.txt.patch 29 26 30 # Dependencies of Digikam and kipi-plugins. 27 31 depends_lib-append port:kdelibs4 \ 28 32 port:libkdcraw \ … … 65 69 depends_run-append port:oxygen-icons port:qt4-mac-sqlite3-plugin 66 70 67 71 # gcc-4.0 is also blacklisted for opencv 68 # clang stumbles over CV_XADD macro, see #37184 69 compiler.blacklist gcc-4.0 clang72 compiler.blacklist gcc-4.0 73 compiler.blacklist-append {clang < 318} 70 74 71 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' -DOpenCV_DIR=${prefix}/lib/cmake ../${distname} 75 configure.args-append \ 76 -DOpenCV_DIR=${prefix}/lib/cmake \ 77 -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=off \ 78 -DCMAKE_BUILD_TYPE=release \ 79 ../${distname} 72 80