mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
libpng: 1.6.16 -> 1.6.18
Also enable apng by default
This commit is contained in:
parent
666629f30b
commit
8164d28315
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurl, zlib, apngSupport ? false }:
|
||||
{ stdenv, fetchurl, zlib, apngSupport ? true }:
|
||||
|
||||
assert zlib != null;
|
||||
|
||||
let
|
||||
version = "1.6.16";
|
||||
sha256 = "0q5ygy15jkpqbj5701ywrjzqp4nl5yz3r4g58h2p0kiycggm9xs2";
|
||||
version = "1.6.18";
|
||||
sha256 = "0qq96rf31483kxz32h6l6921hy6p2v2pfqfvc74km229g4xw241f";
|
||||
patch_src = fetchurl {
|
||||
url = "mirror://sourceforge/libpng-apng/libpng-${version}-apng.patch.gz";
|
||||
sha256 = "1sf27a5gvwvcm4wsf2pyq87d3g4l2fym8cirq9sli54bi753ikbh";
|
||||
sha256 = "0g2ljh2vhclas1hacys1c4gk6l6hyy6sngb2yvdsnjz50nyq16kv";
|
||||
};
|
||||
whenPatched = stdenv.lib.optionalString apngSupport;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user