3
0
Fork 0
forked from mirrors/nixpkgs

Forgotten part of xsane: Use libpng specified, not the one propagated

svn path=/nixpkgs/trunk/; revision=32822
This commit is contained in:
Michael Raskin 2012-03-06 12:21:09 +00:00
parent 2989ce0cac
commit ef3a71007a

View file

@ -1,5 +1,5 @@
{stdenv, fetchurl, saneBackends, saneFrontends,
libX11, gtk, pkgconfig, libusb ? null}:
libX11, gtk, pkgconfig, libpng, libusb ? null}:
stdenv.mkDerivation {
name = "xsane-0.996";
@ -12,7 +12,7 @@ stdenv.mkDerivation {
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/xsane-back-gtk.c
'';
buildInputs = [saneBackends saneFrontends libX11 gtk pkgconfig ] ++
buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++
(if (libusb != null) then [libusb] else []);
meta = {