nixpkgs/pkgs/applications/graphics/digikam/default.nix

35 lines
1.2 KiB
Nix
Raw Normal View History

{ 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,
liblqr1, lensfun, pkgconfig, qjson, libkdcraw, opencv, libkexiv2, libkipi, boost,
shared_desktop_ontologies, marble, mysql, libpgf }:
stdenv.mkDerivation rec {
name = "digikam-4.6.0";
src = fetchurl {
2013-05-30 17:46:30 +01:00
url = "http://download.kde.org/stable/digikam/${name}.tar.bz2";
sha256 = "0id3anikki8c3rzqzapdbg00h577qwybknvkbz1kdq0348bs6ixh";
};
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
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 libpgf ];
# Make digikam find some FindXXXX.cmake
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;
meta = {
description = "Photo Management Program";
license = "GPL";
homepage = http://www.digikam.org;
maintainers = with stdenv.lib.maintainers; [ viric urkud ];
inherit (kdelibs.meta) platforms;
};
}