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 {
|
2012-02-17 13:03:27 +00:00
|
|
|
name = "mediastreamer-2.8.0";
|
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";
|
2012-02-17 13:03:27 +00:00
|
|
|
sha256 = "0h1qda2mjc76xirldlvpmzf57vcbgr113a9b0kw1xm5i58s0w34f";
|
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-02-17 13:03:27 +00:00
|
|
|
buildNativeInputs = [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
|
|
|
}
|