mediastreamer: 2.10.0 -> 2.11.1
This commit is contained in:
parent
ac0a939b1f
commit
3b4a217cb7
1 changed files with 29 additions and 10 deletions
|
@ -1,20 +1,39 @@
|
|||
{ stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio,
|
||||
libv4l, libtheora, intltool, libvpx, gsm, mesa, libX11, libXv, libXext,
|
||||
glew, libopus, libupnp, vim }:
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, alsaLib, pulseaudio, speex, gsm
|
||||
, libopus, ffmpeg, libX11, libXv, mesa, glew, libtheora, libvpx, SDL, libupnp
|
||||
, ortp, libv4l, libpcap, srtp, vim
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mediastreamer-2.10.0";
|
||||
name = "mediastreamer-2.11.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz";
|
||||
sha256 = "1sp1vjcz0rx518l7cfmkb4802xa5wyylr2b5hxlpjk3ygg28g3c0";
|
||||
sha256 = "0gfv4k2rsyvyq838xjgsrxmmn0fkw40apqs8vakzjwzsz2c9z8pd";
|
||||
};
|
||||
|
||||
# TODO: make it load plugins from *_PLUGIN_PATH
|
||||
nativeBuildInputs = [pkgconfig intltool];
|
||||
postPatch = ''
|
||||
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
|
||||
libXv libXext libv4l libtheora libvpx gsm mesa glew libopus libupnp vim ];
|
||||
# TODO: make it load plugins from *_PLUGIN_PATH
|
||||
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…
Reference in a new issue