xfce.tumbler: enable webp thumbnailer support (#340364)

This commit is contained in:
Bobby Rong
2024-09-08 11:12:28 +08:00
committed by GitHub
@@ -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[@]}"