2011-06-07 22:49:25 +01: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 22:49:25 +01: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 22:49:25 +01: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 22:49:25 +01: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 22:49:25 +01:00
|
|
|
#patches = [ ./h264.patch ./plugins.patch ];
|
2008-02-10 17:34:49 +00:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
configureFlags = "--enable-external-ortp";
|
2008-02-07 11:07:27 +00:00
|
|
|
}
|