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
1 changed files with 8 additions and 1 deletions

View File

@ -35,6 +35,11 @@
, opencv
, threadweaver
# For panorama and focus stacking
, enblend-enfuse
, hugin
, gnumake
, oxygen
}:
@ -99,7 +104,9 @@ stdenv.mkDerivation rec {
--replace "/usr/bin/perl" "${perl}/bin/perl" \
--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
'';