about summary refs log tree commit diff
path: root/pkgs/development/libraries/libebur128
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-05-09 11:18:19 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:44:36 +0300
commit52938dde0d15a662d5ef180ae8c7260a91173fe3 (patch)
tree44dc29eaa7e449430d10982803cfcc9d377b30e4 /pkgs/development/libraries/libebur128
parent4f7b421cc9be4cc12465ac59c549de72c29fbefe (diff)
libebur128: fix paths in pkg-config file
Diffstat (limited to 'pkgs/development/libraries/libebur128')
-rw-r--r--pkgs/development/libraries/libebur128/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libebur128/default.nix b/pkgs/development/libraries/libebur128/default.nix
index 656923da3d152..c91cb23189f70 100644
--- a/pkgs/development/libraries/libebur128/default.nix
+++ b/pkgs/development/libraries/libebur128/default.nix
@@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake pkg-config ];
   buildInputs = [ speexdsp ];
 
+  # https://github.com/jiixyj/libebur128/issues/121
+  postPatch = ''
+    substituteInPlace ebur128/libebur128.pc.cmake \
+      --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
+  '';
+
   meta = with lib; {
     description = "Implementation of the EBU R128 loudness standard";
     homepage = "https://github.com/jiixyj/libebur128";