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