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:
parent
2989ce0cac
commit
ef3a71007a
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue