Merge pull request #119117 from LeSuisse/mozjpeg-4.0.3
mozjpeg: 3.3.1 -> 4.0.3
This commit is contained in:
commit
963e98cdae
@ -1,18 +1,20 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libpng, nasm }:
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libpng, zlib, nasm }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.3.1";
|
version = "4.0.3";
|
||||||
pname = "mozjpeg";
|
pname = "mozjpeg";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mozilla";
|
owner = "mozilla";
|
||||||
repo = "mozjpeg";
|
repo = "mozjpeg";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1na68860asn8b82ny5ilwbhh4nyl9gvx2yxmm4wr2v1v95v51fky";
|
sha256 = "1wb2ys0yjy6hgpb9qvzjxs7sb2zzs44p6xf7n026mx5nx85hjbyv";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
cmakeFlags = [ "-DENABLE_STATIC=NO" "-DPNG_SUPPORTED=TRUE" ]; # See https://github.com/mozilla/mozjpeg/issues/351
|
||||||
buildInputs = [ libpng nasm ];
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [ libpng zlib nasm ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Mozilla JPEG Encoder Project";
|
description = "Mozilla JPEG Encoder Project";
|
||||||
|
Loading…
Reference in New Issue
Block a user