2015-03-15 14:55:32 +01:00
|
|
|
{ stdenv, fetchurl, automoc4, boost, shared_desktop_ontologies, cmake
|
|
|
|
, eigen, lcms, gettext, jasper, kdelibs, kdepimlibs, lensfun
|
|
|
|
, libgphoto2, libjpeg, libkdcraw, libkexiv2, libkipi, libpgf, libtiff
|
|
|
|
, libusb1, liblqr1, marble, mysql, opencv, phonon, pkgconfig, qca2
|
|
|
|
, qimageblitz, qjson, qt4, soprano
|
|
|
|
}:
|
2010-02-10 16:06:50 +01:00
|
|
|
|
2010-02-11 00:38:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-30 17:38:03 +02:00
|
|
|
name = "digikam-4.12.0";
|
2010-02-10 16:06:50 +01:00
|
|
|
|
2010-10-05 19:44:05 +02:00
|
|
|
src = fetchurl {
|
2013-05-30 18:46:30 +02:00
|
|
|
url = "http://download.kde.org/stable/digikam/${name}.tar.bz2";
|
2015-08-30 17:38:03 +02:00
|
|
|
sha256 = "081ldsaf3frf5khznjd3sxkjmi4dyp6w6nqnc2a0agkk0kxkl10m";
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
2010-10-05 19:44:05 +02:00
|
|
|
|
2015-03-15 14:55:32 +01:00
|
|
|
buildInputs = [
|
|
|
|
boost eigen gettext jasper kdelibs kdepimlibs lcms lensfun
|
|
|
|
libgphoto2 libjpeg libkdcraw libkexiv2 libkipi liblqr1 libpgf
|
2015-04-02 01:39:50 +02:00
|
|
|
libtiff marble mysql.lib opencv phonon qca2 qimageblitz qjson qt4
|
2015-03-15 14:55:32 +01:00
|
|
|
shared_desktop_ontologies soprano
|
|
|
|
];
|
2010-10-12 09:49:24 +02:00
|
|
|
|
2011-12-25 23:54:32 +01:00
|
|
|
# Make digikam find some FindXXXX.cmake
|
2012-01-19 21:28:13 +01:00
|
|
|
KDEDIRS="${marble}:${qjson}";
|
|
|
|
|
2015-03-15 14:55:32 +01:00
|
|
|
# Help digiKam find libusb, otherwise gphoto2 support is disabled
|
2015-05-18 11:56:06 +02:00
|
|
|
cmakeFlags = "-DLIBUSB_LIBRARIES=${libusb1}/lib -DLIBUSB_INCLUDE_DIR=${libusb1}/include/libusb-1.0 -DDIGIKAMSC_COMPILE_LIBKFACE=ON";
|
2015-03-15 14:42:22 +01:00
|
|
|
|
2013-05-29 19:29:11 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2010-02-10 16:06:50 +01:00
|
|
|
meta = {
|
|
|
|
description = "Photo Management Program";
|
2015-03-15 14:55:32 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-02-11 00:38:02 +01:00
|
|
|
homepage = http://www.digikam.org;
|
2015-03-15 14:55:32 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ goibhniu viric urkud ];
|
2010-10-05 19:44:05 +02:00
|
|
|
inherit (kdelibs.meta) platforms;
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
|
|
|
}
|