Unverified Commit a35aa542 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

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

parents 249b6eca cf616388
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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[@]}"