Skip to content

Commit

Permalink
msilbc: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Mar 13, 2017
1 parent d124722 commit 89747d3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkgs/development/libraries/msilbc/default.nix
Expand Up @@ -2,18 +2,19 @@

stdenv.mkDerivation rec {
name = "msilbc-2.0.3";

src = fetchurl {
url = "mirror://savannah/linphone/plugins/sources/${name}.tar.gz";
sha256 = "125yadpc0w1q84839dadin3ahs0gxxfas0zmc4c18mjmf58dmm7d";
};

# patchPhase = "sed -i /MS_FILTER_SET_FMTP/d ilbc.c";

propagatedBuildInputs = [ilbc mediastreamer];
propagatedBuildInputs = [ ilbc mediastreamer ];
nativeBuildInputs = [ pkgconfig ];

buildInputs = [pkgconfig];
configureFlags = "ILBC_LIBS=ilbc ILBC_CFLAGS=-I${ilbc}/include";
configureFlags = [
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
];

meta = {
platforms = stdenv.lib.platforms.linux;
Expand Down

0 comments on commit 89747d3

Please sign in to comment.