digikam5: Add tools for panorama/stacking to PATH

This commit is contained in:
Moritz Ulrich 2016-09-18 17:28:13 +02:00
parent 9f2f523a59
commit a115cd5dbf

View File

@ -35,6 +35,11 @@
, opencv , opencv
, threadweaver , threadweaver
# For panorama and focus stacking
, enblend-enfuse
, hugin
, gnumake
, oxygen , oxygen
}: }:
@ -99,7 +104,9 @@ stdenv.mkDerivation rec {
--replace "/usr/bin/perl" "${perl}/bin/perl" \ --replace "/usr/bin/perl" "${perl}/bin/perl" \
--replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3" --replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3"
wrapQtProgram $out/bin/digikam wrapQtProgram $out/bin/digikam \
--prefix PATH : "${gnumake}/bin:${hugin}/bin:${enblend-enfuse}/bin"
wrapQtProgram $out/bin/showfoto wrapQtProgram $out/bin/showfoto
''; '';