libquotient: fix paths in pkg-config file

main
Alexander Shpilkin 2 years ago committed by Artturin
parent 4c5e1c74ae
commit 50cee473ae
  1. 7
      pkgs/development/libraries/libquotient/default.nix

@ -20,6 +20,13 @@ mkDerivation rec {
"-DQuotient_ENABLE_E2EE=OFF"
];
# https://github.com/quotient-im/libQuotient/issues/551
postPatch = ''
substituteInPlace Quotient.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
meta = with lib; {
description = "A Qt5 library to write cross-platform clients for Matrix";
homepage = "https://matrix.org/docs/projects/sdk/quotient";

Loading…
Cancel
Save