libwebp: 1.0.3 -> 1.1.0
https://github.com/webmproject/libwebp/releases/tag/v1.1.0
This commit is contained in:
parent
1882368e8a
commit
b02b2aa59e
1 changed files with 10 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl
|
{ stdenv, fetchFromGitHub, autoreconfHook, libtool
|
||||||
, threadingSupport ? true # multi-threading
|
, threadingSupport ? true # multi-threading
|
||||||
, openglSupport ? false, freeglut ? null, libGL ? null, libGLU ? null # OpenGL (required for vwebp)
|
, openglSupport ? false, freeglut ? null, libGL ? null, libGLU ? null # OpenGL (required for vwebp)
|
||||||
, pngSupport ? true, libpng ? null # PNG image format
|
, pngSupport ? true, libpng ? null # PNG image format
|
||||||
|
@ -27,13 +27,17 @@ in
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libwebp";
|
pname = "libwebp";
|
||||||
version = "1.0.3";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://downloads.webmproject.org/releases/webp/${pname}-${version}.tar.gz";
|
owner = "webmproject";
|
||||||
sha256 = "0kxk4sic34bln3k09mml7crvrmhj97swdk7b1ahbp5w6bj30f2p2";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1kl6qqa29ygqb2fpv140y59v539gdqx4vcf3mlaxhca2bks98qgm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prePatch = "patchShebangs .";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(mkFlag threadingSupport "threading")
|
(mkFlag threadingSupport "threading")
|
||||||
(mkFlag openglSupport "gl")
|
(mkFlag openglSupport "gl")
|
||||||
|
@ -50,6 +54,7 @@ stdenv.mkDerivation rec {
|
||||||
(mkFlag libwebpdecoderSupport "libwebpdecoder")
|
(mkFlag libwebpdecoderSupport "libwebpdecoder")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook libtool ];
|
||||||
buildInputs = [ ]
|
buildInputs = [ ]
|
||||||
++ optionals openglSupport [ freeglut libGL libGLU ]
|
++ optionals openglSupport [ freeglut libGL libGLU ]
|
||||||
++ optional pngSupport libpng
|
++ optional pngSupport libpng
|
||||||
|
|
Loading…
Reference in a new issue