mediastreamer: 2.10.0 -> 2.11.1
This commit is contained in:
parent
ac0a939b1f
commit
3b4a217cb7
@ -1,20 +1,39 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio,
|
{ stdenv, fetchurl, pkgconfig, intltool, alsaLib, pulseaudio, speex, gsm
|
||||||
libv4l, libtheora, intltool, libvpx, gsm, mesa, libX11, libXv, libXext,
|
, libopus, ffmpeg, libX11, libXv, mesa, glew, libtheora, libvpx, SDL, libupnp
|
||||||
glew, libopus, libupnp, vim }:
|
, ortp, libv4l, libpcap, srtp, vim
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mediastreamer-2.10.0";
|
name = "mediastreamer-2.11.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz";
|
url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz";
|
||||||
sha256 = "1sp1vjcz0rx518l7cfmkb4802xa5wyylr2b5hxlpjk3ygg28g3c0";
|
sha256 = "0gfv4k2rsyvyq838xjgsrxmmn0fkw40apqs8vakzjwzsz2c9z8pd";
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: make it load plugins from *_PLUGIN_PATH
|
postPatch = ''
|
||||||
nativeBuildInputs = [pkgconfig intltool];
|
sed -i "s/\(SRTP_LIBS=\"\$SRTP_LIBS -lsrtp\"\)/SRTP_LIBS=\"$(pkg-config --libs-only-l libsrtp)\"/g" configure
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ alsaLib ffmpeg speex ortp pulseaudio libX11
|
# TODO: make it load plugins from *_PLUGIN_PATH
|
||||||
libXv libXext libv4l libtheora libvpx gsm mesa glew libopus libupnp vim ];
|
nativeBuildInputs = [ pkgconfig intltool ];
|
||||||
|
|
||||||
configureFlags = "--enable-external-ortp";
|
propagatedBuildInputs = [
|
||||||
|
alsaLib pulseaudio speex gsm libopus
|
||||||
|
ffmpeg libX11 libXv mesa glew libtheora libvpx SDL libupnp
|
||||||
|
ortp libv4l libpcap srtp
|
||||||
|
vim
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-external-ortp"
|
||||||
|
"--with-srtp=${srtp}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "a powerful and lightweight streaming engine specialized for voice/video telephony applications";
|
||||||
|
homepage = http://www.linphone.org/technical-corner/mediastreamer2/overview;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user