mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
zathura: add support for more image formats (#355248)
This commit is contained in:
commit
1a516ee240
@ -15,6 +15,9 @@
|
||||
gtk,
|
||||
girara,
|
||||
gettext,
|
||||
gnome,
|
||||
libheif,
|
||||
libjxl,
|
||||
libxml2,
|
||||
check,
|
||||
sqlite,
|
||||
@ -25,6 +28,7 @@
|
||||
file,
|
||||
librsvg,
|
||||
gtk-mac-integration,
|
||||
webp-pixbuf-loader,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -95,6 +99,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional stdenv.hostPlatform.isLinux libseccomp
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin gtk-mac-integration;
|
||||
|
||||
# add support for more image formats
|
||||
env.GDK_PIXBUF_MODULE_FILE = gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||
extraLoaders = [
|
||||
libheif.out
|
||||
libjxl
|
||||
librsvg
|
||||
webp-pixbuf-loader
|
||||
];
|
||||
};
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
Loading…
Reference in New Issue
Block a user