summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-05-09 15:58:02 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:44:36 +0300
commitca049040de130c77f671fef17442ab60da465c0b (patch)
tree838e59f9e2e4608e0a517c69fa7620a17f422c1f
parent5b12efa3f2480cbcc960755812e80ac177bfecf5 (diff)
downloadnixpkgs-ca049040de130c77f671fef17442ab60da465c0b.tar
nixpkgs-ca049040de130c77f671fef17442ab60da465c0b.tar.gz
nixpkgs-ca049040de130c77f671fef17442ab60da465c0b.tar.bz2
nixpkgs-ca049040de130c77f671fef17442ab60da465c0b.tar.lz
nixpkgs-ca049040de130c77f671fef17442ab60da465c0b.tar.xz
nixpkgs-ca049040de130c77f671fef17442ab60da465c0b.tar.zst
nixpkgs-ca049040de130c77f671fef17442ab60da465c0b.zip
ffmpegthumbnailer: fix path in pkg-config file
-rw-r--r--pkgs/development/libraries/ffmpegthumbnailer/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ffmpegthumbnailer/default.nix b/pkgs/development/libraries/ffmpegthumbnailer/default.nix
index cb7b8214c57..bfe8f80032d 100644
--- a/pkgs/development/libraries/ffmpegthumbnailer/default.nix
+++ b/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";