imlib2: Add webp support
And better document why id3 is there In addition, review function signature formatting.
This commit is contained in:
parent
b0f9922f37
commit
968d075bd9
@ -1,6 +1,11 @@
|
|||||||
{ stdenv, fetchurl, libjpeg, libtiff, giflib, libpng, bzip2, pkgconfig
|
{ stdenv, fetchurl
|
||||||
, freetype, libid3tag
|
# Image file formats
|
||||||
, x11Support ? true, xlibsWrapper ? null }:
|
, libjpeg, libtiff, giflib, libpng, libwebp
|
||||||
|
# imlib2 can load images from ID3 tags.
|
||||||
|
, libid3tag
|
||||||
|
, freetype , bzip2, pkgconfig
|
||||||
|
, x11Support ? true, xlibsWrapper ? null
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional;
|
inherit (stdenv.lib) optional;
|
||||||
@ -14,8 +19,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0v8n3dswx7rxqfd0q03xwc7j2w1mv8lv18rdxv487a1xw5vklfad";
|
sha256 = "0v8n3dswx7rxqfd0q03xwc7j2w1mv8lv18rdxv487a1xw5vklfad";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libjpeg libtiff giflib libpng bzip2 freetype libid3tag ]
|
buildInputs = [
|
||||||
++ optional x11Support xlibsWrapper;
|
libjpeg libtiff giflib libpng libwebp
|
||||||
|
bzip2 freetype libid3tag
|
||||||
|
] ++ optional x11Support xlibsWrapper;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user