git.iko.soy/typeable/nixpkgs
on master help sign in
mediastreamer: 2.10.0 -> 2.11.1
commit3b4a217cb71a0cdac8033edcf516bcb1f1d0d343 authorWilliam A. Kennington III <william@wkennington.com> dateMon 6 Apr 2015, 15:06 (12 years ago) parentac0a939
1 file changed+29−10
pkgs/development/libraries/mediastreamer/default.nix+29−10
pkgs/development/libraries/mediastreamer/default.nix+29−10
@@ -1,20 +1,39 @@
1−{ stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio,
2−libv4l, libtheora, intltool, libvpx, gsm, mesa, libX11, libXv, libXext,
3−glew, libopus, libupnp, vim }:
1+{ stdenv, fetchurl, pkgconfig, intltool, alsaLib, pulseaudio, speex, gsm
2+, libopus, ffmpeg, libX11, libXv, mesa, glew, libtheora, libvpx, SDL, libupnp
3+, ortp, libv4l, libpcap, srtp, vim
4+}:
45
56stdenv.mkDerivation rec {
6− name = "mediastreamer-2.10.0";
7+ name = "mediastreamer-2.11.1";
78
89 src = fetchurl {
910 url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz";
10− sha256 = "1sp1vjcz0rx518l7cfmkb4802xa5wyylr2b5hxlpjk3ygg28g3c0";
11+ sha256 = "0gfv4k2rsyvyq838xjgsrxmmn0fkw40apqs8vakzjwzsz2c9z8pd";
1112 };
1213
13−# TODO: make it load plugins from *_PLUGIN_PATH
14− nativeBuildInputs = [pkgconfig intltool];
14+ postPatch = ''
15+ sed -i "s/\(SRTP_LIBS=\"\$SRTP_LIBS -lsrtp\"\)/SRTP_LIBS=\"$(pkg-config --libs-only-l libsrtp)\"/g" configure
16+ '';
1517
16− propagatedBuildInputs = [ alsaLib ffmpeg speex ortp pulseaudio libX11
17− libXv libXext libv4l libtheora libvpx gsm mesa glew libopus libupnp vim ];
18+ # TODO: make it load plugins from *_PLUGIN_PATH
19+ nativeBuildInputs = [ pkgconfig intltool ];
1820
19− configureFlags = "--enable-external-ortp";
21+ propagatedBuildInputs = [
22+ alsaLib pulseaudio speex gsm libopus
23+ ffmpeg libX11 libXv mesa glew libtheora libvpx SDL libupnp
24+ ortp libv4l libpcap srtp
25+ vim
26+ ];
27+
28+ configureFlags = [
29+ "--enable-external-ortp"
30+ "--with-srtp=${srtp}"
31+ ];
32+
33+ meta = with stdenv.lib; {
34+ description = "a powerful and lightweight streaming engine specialized for voice/video telephony applications";
35+ homepage = http://www.linphone.org/technical-corner/mediastreamer2/overview;
36+ license = licenses.gpl2;
37+ platforms = platforms.linux;
38+ };
2039}