mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
libheif: install gdk-pixbuf loader
Also split the inputs for cleaner diffs in the future. Minimal closure increase: 213.2M → 234.2M
This commit is contained in:
parent
1b1f50645a
commit
d855d69184
@ -10,6 +10,7 @@
|
||||
, libpng
|
||||
, libjpeg
|
||||
, libaom
|
||||
, gdk-pixbuf
|
||||
|
||||
# for passthru.tests
|
||||
, gimp
|
||||
@ -32,11 +33,27 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-JwPeSNUc++z6RfMe0qAuXdekzLWR/MCmsT+Ykvp9a/s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ dav1d rav1e libde265 x265 libpng libjpeg libaom ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dav1d
|
||||
rav1e
|
||||
libde265
|
||||
x265
|
||||
libpng
|
||||
libjpeg
|
||||
libaom
|
||||
gdk-pixbuf
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Fix installation path for gdk-pixbuf module
|
||||
PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${placeholder "out"}/${gdk-pixbuf.moduleDir}";
|
||||
|
||||
passthru.tests = {
|
||||
inherit gimp imagemagick imlib2Full imv vips;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user