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