2010-04-30 21:40:11 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2, eigen,
|
2015-03-15 13:42:22 +00:00
|
|
|
lcms, jasper, libgphoto2, kdepimlibs, gettext, soprano, libjpeg, libtiff, libusb1,
|
2011-12-25 22:54:32 +00:00
|
|
|
liblqr1, lensfun, pkgconfig, qjson, libkdcraw, opencv, libkexiv2, libkipi, boost,
|
2015-01-23 09:26:00 +00:00
|
|
|
shared_desktop_ontologies, marble, mysql, libpgf }:
|
2010-02-10 15:06:50 +00:00
|
|
|
|
2010-02-10 23:38:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-23 09:26:00 +00:00
|
|
|
name = "digikam-4.6.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-01-23 09:26:00 +00:00
|
|
|
sha256 = "0id3anikki8c3rzqzapdbg00h577qwybknvkbz1kdq0348bs6ixh";
|
2010-02-10 15:06:50 +00:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
2010-10-05 18:44:05 +01:00
|
|
|
|
2012-01-19 20:28:13 +00:00
|
|
|
buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff
|
|
|
|
jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw
|
2015-01-23 09:26:00 +00:00
|
|
|
opencv libkexiv2 libkipi boost shared_desktop_ontologies marble mysql libpgf ];
|
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:42:22 +00:00
|
|
|
cmakeFlags = "-DLIBUSB_LIBRARIES=${libusb1}/lib -DLIBUSB_INCLUDE_DIR=${libusb1}/include/libusb-1.0";
|
|
|
|
|
2013-05-29 18:29:11 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2010-02-10 15:06:50 +00:00
|
|
|
meta = {
|
|
|
|
description = "Photo Management Program";
|
|
|
|
license = "GPL";
|
2010-02-10 23:38:02 +00:00
|
|
|
homepage = http://www.digikam.org;
|
2010-10-05 18:44:05 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric urkud ];
|
|
|
|
inherit (kdelibs.meta) platforms;
|
2010-02-10 15:06:50 +00:00
|
|
|
};
|
|
|
|
}
|