libebur128: fix paths in pkg-config file

main
Alexander Shpilkin 2 years ago committed by Artturin
parent 4f7b421cc9
commit 52938dde0d
  1. 6
      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";

Loading…
Cancel
Save