Unverified Commit 62f0186c authored by Jan Tojnar's avatar Jan Tojnar Committed by GitHub
Browse files

ffmpegthumbnailer: Make thumbnailer file point to absolute path (#340624)

undefined
parents d2df1fd9 8dcc6f23
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ stdenv.mkDerivation rec {
      --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
  '';

  postInstall = ''
    substituteInPlace $out/share/thumbnailers/ffmpegthumbnailer.thumbnailer \
      --replace-fail '=ffmpegthumbnailer' "=$out/bin/ffmpegthumbnailer"
  '';

  meta = with lib; {
    description = "Lightweight video thumbnailer";
    longDescription = "FFmpegthumbnailer is a lightweight video