ffmpegthumbnailer: fix path in pkg-config file

main
Alexander Shpilkin 2 years ago committed by Artturin
parent 5b12efa3f2
commit ca049040de
  1. 6
      pkgs/development/libraries/ffmpegthumbnailer/default.nix

@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
buildInputs = [ ffmpeg libpng libjpeg ];
cmakeFlags = [ "-DENABLE_THUMBNAILER=ON" ];
# https://github.com/dirkvdb/ffmpegthumbnailer/issues/215
postPatch = ''
substituteInPlace libffmpegthumbnailer.pc.in \
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
meta = with lib; {
homepage = "https://github.com/dirkvdb/ffmpegthumbnailer";
description = "A lightweight video thumbnailer";

Loading…
Cancel
Save