2011-06-07 21:49:25 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio, xorg,
|
2012-02-17 13:03:27 +00:00
|
|
|
libv4l, libtheora, intltool, libvpx, gsm }:
|
2008-02-07 11:07:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-16 21:21:21 +00:00
|
|
|
name = "mediastreamer-2.8.2";
|
2008-02-07 11:07:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-06-07 21:49:25 +00:00
|
|
|
url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz";
|
2013-02-16 21:21:21 +00:00
|
|
|
sha256 = "0csg9a4mwfw5j475q9d5klhy82jnpcqfrlbvw81nxnqki40bnbm6";
|
2008-02-07 11:07:27 +00:00
|
|
|
};
|
|
|
|
|
2011-06-07 21:49:25 +00:00
|
|
|
# TODO: make it load plugins from *_PLUGIN_PATH
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [pkgconfig intltool];
|
2008-02-10 17:34:49 +00:00
|
|
|
|
2011-06-07 21:49:25 +00:00
|
|
|
propagatedBuildInputs = [alsaLib ffmpeg speex ortp pulseaudio xorg.libX11
|
2012-02-17 13:03:27 +00:00
|
|
|
xorg.libXv xorg.libXext libv4l libtheora libvpx gsm ];
|
2008-02-07 11:07:27 +00:00
|
|
|
|
2011-06-07 21:49:25 +00:00
|
|
|
#patches = [ ./h264.patch ./plugins.patch ];
|
2008-02-10 17:34:49 +00:00
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
configureFlags = "--enable-external-ortp";
|
2008-02-07 11:07:27 +00:00
|
|
|
}
|