2009-11-18 10:39:59 +01:00
|
|
|
{ stdenv, fetchurl, ilbc, mediastreamer, pkgconfig }:
|
|
|
|
|
2008-02-10 18:35:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 16:48:21 +01:00
|
|
|
name = "msilbc-2.1.2";
|
2017-03-11 15:05:23 +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";
|
2018-02-27 16:48:21 +01:00
|
|
|
sha256 = "07j02y994ybh274fp7ydjvi76h34y2c34ndwjpjfcwwr03b48cfp";
|
2008-02-10 18:35:03 +01:00
|
|
|
};
|
|
|
|
|
2017-03-11 15:05:23 +01:00
|
|
|
propagatedBuildInputs = [ ilbc mediastreamer ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2008-02-10 18:35:03 +01:00
|
|
|
|
2017-03-11 15:05:23 +01:00
|
|
|
configureFlags = [
|
|
|
|
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
|
|
|
|
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
|
|
|
|
];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
2018-10-23 20:04:29 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Mediastreamer plugin for the iLBC audio codec";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2008-02-10 18:35:03 +01:00
|
|
|
}
|