Skip to content

Commit

Permalink
sane-backends: enable support for PNG
Browse files Browse the repository at this point in the history
  • Loading branch information
peti committed Dec 20, 2017
1 parent b693f98 commit c9bed89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/sane/backends/generic.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl
, avahi, libjpeg, libusb1, libv4l, net_snmp
, avahi, libjpeg, libusb1, libv4l, net_snmp, libpng
, gettext, pkgconfig

# List of { src name backend } attibute sets - see installFirmware below:
Expand All @@ -24,7 +24,7 @@ stdenv.mkDerivation {
++ stdenv.lib.optional (libusb1 != null) "--enable-libusb_1_0"
;

buildInputs = [ avahi libusb1 libv4l net_snmp ];
buildInputs = [ avahi libusb1 libv4l net_snmp libpng ];
nativeBuildInputs = [ gettext pkgconfig ];
enableParallelBuilding = true;

Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -19939,6 +19939,7 @@ with pkgs;

xsane = callPackage ../applications/graphics/sane/xsane.nix {
libpng = libpng12;
sane-backends = sane-backends.override { libpng = libpng12; };
};

xsw = callPackage ../applications/misc/xsw {
Expand Down

0 comments on commit c9bed89

Please sign in to comment.