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