libwebp: 1.3.0 -> 1.3.1
https://github.com/webmproject/libwebp/releases/tag/v1.3.1
This commit is contained in:
parent
8277b539d3
commit
81b944e502
|
@ -1,5 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool
|
||||||
, fetchpatch
|
|
||||||
, threadingSupport ? true # multi-threading
|
, threadingSupport ? true # multi-threading
|
||||||
, openglSupport ? false, freeglut, libGL, libGLU # OpenGL (required for vwebp)
|
, openglSupport ? false, freeglut, libGL, libGLU # OpenGL (required for vwebp)
|
||||||
, pngSupport ? true, libpng # PNG image format
|
, pngSupport ? true, libpng # PNG image format
|
||||||
|
@ -28,24 +27,15 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libwebp";
|
pname = "libwebp";
|
||||||
version = "1.3.0";
|
version = "1.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "webmproject";
|
owner = "webmproject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-nhXkq+qKpaa75YQB/W/cRozslTIFPdXeqj1y6emQeHk=";
|
hash = "sha256-Q94avvKjPdwdGt5ADo30cf2V4T7MCTubDHJxTtbG4xQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://www.mozilla.org/en-US/security/advisories/mfsa2023-13/#MFSA-TMP-2023-0001
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/webmproject/libwebp/commit/a486d800b60d0af4cc0836bf7ed8f21e12974129.patch";
|
|
||||||
name = "fix-msfa-tmp-2023-0001.patch";
|
|
||||||
hash = "sha256-TRKXpNkYVzftBw09mX+WeQRhRoOzBgXFTNZBzSdCKvc=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(lib.enableFeature threadingSupport "threading")
|
(lib.enableFeature threadingSupport "threading")
|
||||||
(lib.enableFeature openglSupport "gl")
|
(lib.enableFeature openglSupport "gl")
|
||||||
|
|
Loading…
Reference in a new issue