gnome.eog: Support WebP files
A hack until gdk-pixbuf learns to support multiple cache files.
This commit is contained in:
parent
b6804f78b7
commit
a8e19491dd
@ -22,6 +22,7 @@
|
||||
, shared-mime-info
|
||||
, wrapGAppsHook
|
||||
, librsvg
|
||||
, webp-pixbuf-loader
|
||||
, libexif
|
||||
, gobject-introspection
|
||||
, gi-docgen
|
||||
@ -78,6 +79,17 @@ stdenv.mkDerivation rec {
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# Pull in WebP support for gnome-backgrounds.
|
||||
# In postInstall to run before gappsWrapperArgsHook.
|
||||
export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||
extraLoaders = [
|
||||
librsvg
|
||||
webp-pixbuf-loader
|
||||
];
|
||||
}}"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# Thumbnailers
|
||||
|
Loading…
Reference in New Issue
Block a user