darktable: Add several missing dependencies. This makes the map and tethering modules available
This commit is contained in:
parent
5cffa00443
commit
70a5abd440
@ -1,9 +1,10 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl, libsoup, graphicsmagick, SDL, json_glib
|
||||||
, GConf, atk, cairo, cmake, curl, dbus_glib, exiv2, glib
|
, GConf, atk, cairo, cmake, curl, dbus_glib, exiv2, glib
|
||||||
, libgnome_keyring, gtk, ilmbase, intltool, lcms, lcms2
|
, libgnome_keyring, gtk, ilmbase, intltool, lcms, lcms2
|
||||||
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
|
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
|
||||||
, libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb
|
, libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb
|
||||||
, openexr, pixman, pkgconfig, sqlite, bash, libxslt }:
|
, openexr, pixman, pkgconfig, sqlite, bash, libxslt, openjpeg
|
||||||
|
, mesa }:
|
||||||
|
|
||||||
assert stdenv ? glibc;
|
assert stdenv ? glibc;
|
||||||
|
|
||||||
@ -21,6 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
ilmbase intltool lcms lcms2 lensfun libXau libXdmcp libexif
|
ilmbase intltool lcms lcms2 lensfun libXau libXdmcp libexif
|
||||||
libglade libgphoto2 libjpeg libpng libpthreadstubs libraw1394
|
libglade libgphoto2 libjpeg libpng libpthreadstubs libraw1394
|
||||||
librsvg libtiff libxcb openexr pixman pkgconfig sqlite libxslt
|
librsvg libtiff libxcb openexr pixman pkgconfig sqlite libxslt
|
||||||
|
libsoup graphicsmagick SDL json_glib openjpeg mesa
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -30,16 +32,16 @@ stdenv.mkDerivation rec {
|
|||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${atk}/include/atk-1.0"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${atk}/include/atk-1.0"
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${ilmbase}/include/OpenEXR"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${ilmbase}/include/OpenEXR"
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${openexr}/include/OpenEXR"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${openexr}/include/OpenEXR"
|
||||||
|
|
||||||
substituteInPlace tools/create_preferences.sh.in --replace '#!/usr/bin/env bash' '#!${bash}/bin/bash'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DPTHREAD_INCLUDE_DIR=${stdenv.glibc}/include"
|
"-DPTHREAD_INCLUDE_DIR=${stdenv.glibc}/include"
|
||||||
"-DPTHREAD_LIBRARY=${stdenv.glibc}/lib/libpthread.so"
|
"-DPTHREAD_LIBRARY=${stdenv.glibc}/lib/libpthread.so"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
"-DBINARY_PACKAGE_BUILD=1"
|
||||||
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
|
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
|
||||||
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk}/lib/gtk-2.0/include"
|
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk}/lib/gtk-2.0/include"
|
||||||
|
"-DBUILD_USERMANUAL=False"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -47,6 +49,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://darktable.sourceforge.net;
|
homepage = http://darktable.sourceforge.net;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu maintainers.rickynils ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user