Merge pull request #212842 from jtojnar/heif

gnome.eog: Add HEIF support
This commit is contained in:
Jan Tojnar 2023-02-03 14:38:25 +01:00 committed by GitHub
commit 165c01c706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 2 deletions

View file

@ -23,6 +23,7 @@
, wrapGAppsHook
, librsvg
, webp-pixbuf-loader
, libheif
, libexif
, gobject-introspection
, gi-docgen
@ -86,6 +87,7 @@ stdenv.mkDerivation rec {
extraLoaders = [
librsvg
webp-pixbuf-loader
libheif.out
];
}}"
'';

View file

@ -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;
};