2010-04-30 22:40:11 +02:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2, eigen,
|
2012-01-19 21:28:09 +01:00
|
|
|
kdegraphics, lcms, jasper, libgphoto2, kdepimlibs, gettext, soprano, kdeedu,
|
2011-12-25 23:54:32 +01:00
|
|
|
liblqr1, lensfun, pkgconfig, qjson, libkdcraw, opencv, libkexiv2, libkipi, boost,
|
2012-01-19 21:28:09 +01:00
|
|
|
shared_desktop_ontologies, marble }:
|
2010-02-10 16:06:50 +01:00
|
|
|
|
2010-02-11 00:38:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-19 21:28:09 +01:00
|
|
|
name = "digikam-2.4.1";
|
2010-02-10 16:06:50 +01:00
|
|
|
|
2010-10-05 19:44:05 +02:00
|
|
|
src = fetchurl {
|
2010-02-11 00:38:02 +01:00
|
|
|
url = "mirror://sourceforge/digikam/${name}.tar.bz2";
|
2012-01-19 21:28:09 +01:00
|
|
|
sha256 = "0fyyhc26syd1d1m8jqyg2i66hwd523mh419ln8y944jkrjj6gadc";
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
|
|
|
|
2012-01-19 21:28:09 +01:00
|
|
|
buildInputs = [ cmake qt4 kdelibs kdegraphics automoc4 phonon qimageblitz qca2 eigen
|
|
|
|
lcms jasper libgphoto2 kdepimlibs gettext soprano kdeedu liblqr1 lensfun
|
|
|
|
pkgconfig qjson libkdcraw opencv libkexiv2 libkipi boost shared_desktop_ontologies
|
|
|
|
marble ];
|
2010-10-05 19:44:05 +02:00
|
|
|
|
2012-01-19 21:28:09 +01:00
|
|
|
KDEDIRS=kdeedu;
|
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:09 +01:00
|
|
|
preConfigure = ''
|
|
|
|
cp ${qjson}/share/apps/cmake/modules/FindQJSON.cmake cmake/modules;
|
|
|
|
cp ${marble}/share/apps/cmake/modules/FindMarble.cmake cmake/modules;
|
|
|
|
'';
|
2010-10-14 11:52:10 +02:00
|
|
|
|
2010-02-10 16:06:50 +01:00
|
|
|
meta = {
|
|
|
|
description = "Photo Management Program";
|
|
|
|
license = "GPL";
|
2010-02-11 00:38:02 +01:00
|
|
|
homepage = http://www.digikam.org;
|
2010-10-05 19:44:05 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric urkud ];
|
|
|
|
inherit (kdelibs.meta) platforms;
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
|
|
|
}
|