2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl, ilbc, mediastreamer, pkgconfig }:
|
|
|
|
|
2008-02-10 17:35:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2011-06-07 22:49:31 +01:00
|
|
|
name = "msilbc-2.0.3";
|
2017-03-11 14:05:23 +00:00
|
|
|
|
2008-02-10 17:35:03 +00:00
|
|
|
src = fetchurl {
|
2011-06-07 22:49:31 +01:00
|
|
|
url = "mirror://savannah/linphone/plugins/sources/${name}.tar.gz";
|
|
|
|
sha256 = "125yadpc0w1q84839dadin3ahs0gxxfas0zmc4c18mjmf58dmm7d";
|
2008-02-10 17:35:03 +00:00
|
|
|
};
|
|
|
|
|
2017-03-11 14:05:23 +00:00
|
|
|
propagatedBuildInputs = [ ilbc mediastreamer ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2008-02-10 17:35:03 +00:00
|
|
|
|
2017-03-11 14:05:23 +00:00
|
|
|
configureFlags = [
|
|
|
|
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
|
|
|
|
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
|
|
|
|
];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2008-02-10 17:35:03 +00:00
|
|
|
}
|