Unverified Commit c98764d5 authored by ash's avatar ash Committed by GitHub
Browse files

xfce.tumbler: backport PDF thumbnail generation fix (#399755)

parent 919cb291
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{
  lib,
  mkXfceDerivation,
  fetchpatch,
  ffmpegthumbnailer,
  gdk-pixbuf,
  glib,
@@ -25,6 +26,16 @@ mkXfceDerivation {

  sha256 = "sha256-GmEMdG8Ikd4Tq/1ntCHiN0S7ehUXqzMX7OtXsycLd6E=";

  patches = [
    # Fixes PDF previews staying low resolution
    # https://gitlab.xfce.org/xfce/tumbler/-/merge_requests/35
    (fetchpatch {
      name = "only-use-embedded-pdf-thumbnail-if-resolution-suffices.patch";
      url = "https://gitlab.xfce.org/xfce/tumbler/-/commit/69a704e0f4e622861ce4007f6f3f4f6f6b962689.patch";
      hash = "sha256-aFJoWWzTaikqCw6C1LH+BFxst/uKkOGT1QK9Mx8/8/c=";
    })
  ];

  buildInputs = [
    libxfce4util
    ffmpegthumbnailer