2009-11-18 12:39:59 +03:00
|
|
|
{ stdenv, fetchurl, ilbc, mediastreamer, pkgconfig }:
|
|
|
|
|
2008-02-10 20:35:03 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2011-06-08 01:49:31 +04:00
|
|
|
name = "msilbc-2.0.3";
|
2009-11-18 12:39:59 +03:00
|
|
|
|
2008-02-10 20:35:03 +03:00
|
|
|
src = fetchurl {
|
2011-06-08 01:49:31 +04:00
|
|
|
url = "mirror://savannah/linphone/plugins/sources/${name}.tar.gz";
|
|
|
|
sha256 = "125yadpc0w1q84839dadin3ahs0gxxfas0zmc4c18mjmf58dmm7d";
|
2008-02-10 20:35:03 +03:00
|
|
|
};
|
|
|
|
|
2011-06-08 01:49:31 +04:00
|
|
|
# patchPhase = "sed -i /MS_FILTER_SET_FMTP/d ilbc.c";
|
2008-02-10 20:35:03 +03:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ilbc mediastreamer];
|
|
|
|
|
2011-06-08 01:49:31 +04:00
|
|
|
buildInputs = [pkgconfig];
|
|
|
|
configureFlags = "ILBC_LIBS=ilbc ILBC_CFLAGS=-I${ilbc}/include";
|
2008-02-10 20:35:03 +03:00
|
|
|
}
|