git.iko.soy/typeable/nixpkgs
on master help sign in
freerdp: work around pkgconfig limitation

Fixes weston build against freerdp2 Closes https://github.com/NixOS/nixpkgs/pull/18556

commit3e20ba60a1aaa72479f68166bd1acf20fd6eb564 authorAlexander Ried <ried@mytum.de> dateTue 13 Sep 2016, 15:31 (10 years ago) parenta61af52
1 file changed+4−1
pkgs/applications/networking/remote/freerdp/unstable.nix+4−1
pkgs/applications/networking/remote/freerdp/unstable.nix+4−1
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
1515 sha256 = "1lydkh6by0sjy6dl57bzg7c11ccyp24s80pwxw9h5kmxkbw6mx5q";
1616 };
1717
18+ prePatch = ''
19+ substituteInPlace "libfreerdp/freerdp.pc.in" --replace "Requires:" "Requires: @WINPR_PKG_CONFIG_FILENAME@"
20+ '';
21+
1822 patches = [
1923 ] ++ stdenv.lib.optional (pcsclite != null)
2024 (substituteAll {
@@ -38,7 +42,6 @@ stdenv.mkDerivation rec {
3842 ++ stdenv.lib.optional buildServer "-DWITH_SERVER=ON"
3943 ++ stdenv.lib.optional optimize "-DWITH_SSE2=ON";
4044
41−
4245 meta = with stdenv.lib; {
4346 description = "A Remote Desktop Protocol Client";
4447 longDescription = ''