mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
zathura: add support for more image formats
This commit is contained in:
parent
71091397cc
commit
49653722da
@ -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