* gphoto updated to 2.4.2.

svn path=/nixpkgs/trunk/; revision=12900
This commit is contained in:
Eelco Dolstra 2008-09-22 17:06:31 +00:00
parent 8d679b6351
commit ba6845d03e
3 changed files with 19 additions and 12 deletions

View file

@ -1,16 +1,21 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
, libjpeg, readline, libtool
}:
stdenv.mkDerivation rec {
name = "gphoto2-2.4.0";
name = "gphoto2-2.4.2";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
sha256 = "1rf4w5m35dsi8dkwwnh4wg70xivdi9j79f2dy3rq90p1v8sar9ca";
sha256 = "0wna84rli816d830hirdv3ficr3q16zs471l725rgsdvc4pqrvy9";
};
buildInputs = [pkgconfig libgphoto2 libexif popt gettext];
# There is a bug in 2.4.0 configure.ac (in their m4 macroses)
patchPhase = "sed -e 's@_tmp=true@_tmp=false@' -i configure configure.ac";
buildInputs = [pkgconfig libgphoto2 libexif popt gettext libjpeg readline libtool];
# There is a bug in 2.4.0 configure.ac (in their m4 macroses)
#patchPhase = "sed -e 's@_tmp=true@_tmp=false@' -i configure configure.ac";
meta = {
homepage = http://www.gphoto.org;
homepage = http://www.gphoto.org/;
};
}

View file

@ -1,15 +1,16 @@
args: with args;
{stdenv, fetchurl, pkgconfig, libusb, libtool, libexif, libjpeg, gettext}:
stdenv.mkDerivation rec {
name = "libgphoto2-2.4.0";
name = "libgphoto2-2.4.2";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
sha256 = "0yfvpgfly774jnjrfqjf89h99az3sgvzkfpb9diygpk8hmx6phhd";
sha256 = "09jjfh9c7s02dxkwwr8j3kaqffsyiiz7ncbkmdvav1i14xdna6gk";
};
buildInputs = [pkgconfig libusb libtool libexif libjpeg gettext];
meta = {
license = "LGPL-2";
license = "LGPL-2";
};
}

View file

@ -6288,7 +6288,8 @@ let
};
gphoto2 = import ../applications/misc/gphoto2 {
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt readline gettext;
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt gettext
libjpeg readline libtool;
};
gqview = import ../applications/graphics/gqview {