1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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

undefined
This commit is contained in:
Jan Tojnar 2024-09-11 07:47:16 +02:00 committed by GitHub
commit 62f0186c41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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