3
0
Fork 0
forked from mirrors/nixpkgs

Geeqie: Use libchamplain.

svn path=/nixpkgs/trunk/; revision=22650
This commit is contained in:
Ludovic Courtès 2010-07-18 22:47:23 +00:00
parent cd06afd761
commit 3aee92f068
2 changed files with 15 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms
, intltool, gettext }:
, intltool, gettext, libchamplain }:
stdenv.mkDerivation rec {
name = "geeqie-1.0";
@ -9,7 +9,19 @@ stdenv.mkDerivation rec {
sha256 = "1p8z47cqdqqkn8b0fr5bqsfinz4dgqk4353s8f8d9ha6cik69bfi";
};
buildInputs = [ pkgconfig gtk libpng exiv2 lcms intltool gettext ];
preConfigure =
# XXX: Trick to have Geeqie use the version we have.
'' sed -i "configure" \
-e 's/champlain-0.4/champlain-0.6/g ;
s/champlain-gtk-0.4/champlain-gtk-0.6/g'
'';
configureFlags = [ "--enable-gps" ];
buildInputs =
[ pkgconfig gtk libpng exiv2 lcms intltool gettext
libchamplain
];
meta = {
description = "Geeqie, a lightweight GTK+ based image viewer";

View file

@ -8131,7 +8131,7 @@ let
geeqie = import ../applications/graphics/geeqie {
inherit fetchurl stdenv pkgconfig libpng lcms exiv2
intltool gettext;
intltool gettext libchamplain;
inherit (gtkLibs) gtk;
};