* Allow geeqie to find exiv2 and exiftran, necessary to losslessly

rotate JPEG images.

svn path=/nixpkgs/trunk/; revision=25590
This commit is contained in:
Eelco Dolstra 2011-01-16 16:42:08 +00:00
parent 56ea89a61e
commit 3e3dc422ac

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms { stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms
, intltool, gettext, libchamplain }: , intltool, gettext, libchamplain, fbida }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "geeqie-1.0"; name = "geeqie-1.0";
@ -23,6 +23,14 @@ stdenv.mkDerivation rec {
libchamplain libchamplain
]; ];
postInstall =
''
# Allow geeqie to find exiv2 and exiftran, necessary to
# losslessly rotate JPEG images.
sed -i $out/lib/geeqie/geeqie-rotate \
-e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH'
'';
meta = { meta = {
description = "Geeqie, a lightweight GTK+ based image viewer"; description = "Geeqie, a lightweight GTK+ based image viewer";