2010-05-01 00:40:11 +04:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2, eigen,
|
2012-01-20 00:28:13 +04:00
|
|
|
lcms, jasper, libgphoto2, kdepimlibs, gettext, soprano, libjpeg, libtiff,
|
2011-12-26 02:54:32 +04:00
|
|
|
liblqr1, lensfun, pkgconfig, qjson, libkdcraw, opencv, libkexiv2, libkipi, boost,
|
2012-02-22 02:16:33 +04:00
|
|
|
shared_desktop_ontologies, marble, mysql }:
|
2010-02-10 18:06:50 +03:00
|
|
|
|
2010-02-11 02:38:02 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-16 01:32:13 +04:00
|
|
|
name = "digikam-3.5.0";
|
2010-02-10 18:06:50 +03:00
|
|
|
|
2010-10-05 21:44:05 +04:00
|
|
|
src = fetchurl {
|
2013-05-30 20:46:30 +04:00
|
|
|
url = "http://download.kde.org/stable/digikam/${name}.tar.bz2";
|
2013-12-16 01:32:13 +04:00
|
|
|
sha256 = "0an4awlg0b8pwl6v8p5zfl3aghgnxck2pc322cyk6i6yznj2mgap";
|
2010-02-10 18:06:50 +03:00
|
|
|
};
|
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
2010-10-05 21:44:05 +04:00
|
|
|
|
2012-01-20 00:28:13 +04:00
|
|
|
buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff
|
|
|
|
jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw
|
|
|
|
opencv libkexiv2 libkipi boost shared_desktop_ontologies marble mysql ];
|
2010-10-12 11:49:24 +04:00
|
|
|
|
2011-12-26 02:54:32 +04:00
|
|
|
# Make digikam find some FindXXXX.cmake
|
2012-01-20 00:28:13 +04:00
|
|
|
KDEDIRS="${marble}:${qjson}";
|
|
|
|
|
2013-05-29 21:29:11 +04:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2010-02-10 18:06:50 +03:00
|
|
|
meta = {
|
|
|
|
description = "Photo Management Program";
|
|
|
|
license = "GPL";
|
2010-02-11 02:38:02 +03:00
|
|
|
homepage = http://www.digikam.org;
|
2010-10-05 21:44:05 +04:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric urkud ];
|
|
|
|
inherit (kdelibs.meta) platforms;
|
2010-02-10 18:06:50 +03:00
|
|
|
};
|
|
|
|
}
|