xfce.tumbler: enable webp thumbnailer support

This commit is contained in:
Donovan Glover 2024-09-06 17:58:11 -04:00
parent 6423eb0fb7
commit cf616388d2
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -8,6 +8,7 @@
, libgsf
, poppler
, gst_all_1
, webp-pixbuf-loader
, libxfce4util
}:
@ -32,6 +33,12 @@ mkXfceDerivation {
poppler # technically the glib binding
];
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${webp-pixbuf-loader}/share"
)
'';
# WrapGAppsHook won't touch this binary automatically, so we wrap manually.
postFixup = ''
wrapProgram $out/lib/tumbler-1/tumblerd "''${gappsWrapperArgs[@]}"