Skip to content

Commit

Permalink
libkeyfinder: fix paths in pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshpilkin committed May 17, 2022
1 parent 34c8d45 commit 5b3e94c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/libraries/audio/libkeyfinder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ stdenv.mkDerivation rec {

doCheck = true;

# https://github.com/mixxxdj/libkeyfinder/issues/21
postPatch = ''
substituteInPlace packaging/libkeyfinder.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';

meta = with lib; {
description = "Musical key detection for digital audio (C++ library)";
homepage = "https://mixxxdj.github.io/libkeyfinder/";
Expand Down

0 comments on commit 5b3e94c

Please sign in to comment.