summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/exosip/3.x.nix17
-rw-r--r--pkgs/development/libraries/libzrtpcpp/default.nix8
-rw-r--r--pkgs/development/libraries/mediastreamer/default.nix15
-rw-r--r--pkgs/development/libraries/ortp/default.nix10
-rw-r--r--pkgs/development/libraries/osip/3.nix17
-rw-r--r--pkgs/development/libraries/srtp/default.nix6
-rw-r--r--pkgs/development/libraries/srtp/linphone.nix15
7 files changed, 71 insertions, 17 deletions
diff --git a/pkgs/development/libraries/exosip/3.x.nix b/pkgs/development/libraries/exosip/3.x.nix
new file mode 100644
index 00000000000..d850618ecdf
--- /dev/null
+++ b/pkgs/development/libraries/exosip/3.x.nix
@@ -0,0 +1,17 @@
+{stdenv, fetchurl, libosip, openssl, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  version = "3.6.0";
+  src = fetchurl {
+    url = "http://download.savannah.gnu.org/releases/exosip/libeXosip2-${version}.tar.gz";
+    sha256 = "0r1mj8x5991bgwf03bx1ajn5kbbmw1136jabw2pn7dls9h41mnli";
+  };
+  name = "libexosip2-${version}";
+
+  buildInputs = [ libosip openssl pkgconfig ];
+      
+  meta = {
+    license = "GPLv2+";
+    description = "Library that hides the complexity of using the SIP protocol";
+  };
+}
diff --git a/pkgs/development/libraries/libzrtpcpp/default.nix b/pkgs/development/libraries/libzrtpcpp/default.nix
index 02741bc6fa1..e6c4cafcd55 100644
--- a/pkgs/development/libraries/libzrtpcpp/default.nix
+++ b/pkgs/development/libraries/libzrtpcpp/default.nix
@@ -1,11 +1,11 @@
 { stdenv, fetchurl, cmake, openssl, pkgconfig, ccrtp }:
 
 stdenv.mkDerivation rec {
-  name = "libzrtpcpp-2.0.0";
+  name = "libzrtpcpp-2.3.3";
 
   src = fetchurl {
     url = "mirror://gnu/ccrtp/${name}.tar.gz";
-    sha256 = "05yw8n5xpj0jxkvzgsvn3xkxirpypc1japy9k1jqs9301fgb1a3i";
+    sha256 = "1p8i3qb4j1r64r7miva8hamaszk42kncpy1x5xlq1l0465h01rvg";
   };
 
   # We disallow 'lib64', or pkgconfig will not find it.
@@ -13,7 +13,9 @@ stdenv.mkDerivation rec {
     sed -i s/lib64/lib/ CMakeLists.txt
   '';
 
-  buildInputs = [ cmake openssl pkgconfig ccrtp ];
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  propagatedBuildInputs = [ openssl ccrtp ];
 
   meta = { 
     description = "GNU RTP stack for the zrtp protocol developed by Phil Zimmermann";
diff --git a/pkgs/development/libraries/mediastreamer/default.nix b/pkgs/development/libraries/mediastreamer/default.nix
index 4aa78570b2f..3b1fd9faa6b 100644
--- a/pkgs/development/libraries/mediastreamer/default.nix
+++ b/pkgs/development/libraries/mediastreamer/default.nix
@@ -1,21 +1,20 @@
-{ stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio, xorg,
-  libv4l, libtheora, intltool, libvpx, gsm }:
+{ stdenv, fetchurl, pkgconfig, alsaLib, ffmpeg, speex, ortp, pulseaudio,
+libv4l, libtheora, intltool, libvpx, gsm, mesa, libX11, libXv, libXext,
+glew, libopus, libupnp, vim }:
 
 stdenv.mkDerivation rec {
-  name = "mediastreamer-2.8.2";
+  name = "mediastreamer-2.9.0";
 
   src = fetchurl {
     url = "mirror://savannah/linphone/mediastreamer/${name}.tar.gz";
-    sha256 = "0csg9a4mwfw5j475q9d5klhy82jnpcqfrlbvw81nxnqki40bnbm6";
+    sha256 = "1mdcaqkcdwzlj7hy3bz0ipkrrqiw1cgy01in8f24rfra9i2bjif2";
   };
 
 # TODO: make it load plugins from *_PLUGIN_PATH
   nativeBuildInputs = [pkgconfig intltool];
 
-  propagatedBuildInputs = [alsaLib ffmpeg speex ortp pulseaudio xorg.libX11
-    xorg.libXv xorg.libXext libv4l libtheora libvpx gsm ];
-
-#patches = [ ./h264.patch ./plugins.patch ];
+  propagatedBuildInputs = [ alsaLib ffmpeg speex ortp pulseaudio libX11
+    libXv libXext libv4l libtheora libvpx gsm mesa glew libopus libupnp vim ];
 
   configureFlags = "--enable-external-ortp";
 }
diff --git a/pkgs/development/libraries/ortp/default.nix b/pkgs/development/libraries/ortp/default.nix
index 255d9198105..ff7536de403 100644
--- a/pkgs/development/libraries/ortp/default.nix
+++ b/pkgs/development/libraries/ortp/default.nix
@@ -1,13 +1,17 @@
-{stdenv, fetchurl}:
+{stdenv, fetchurl, srtp, libzrtpcpp, pkgconfig }:
 
 stdenv.mkDerivation rec {
-  name = "ortp-0.18.0";
+  name = "ortp-0.22.0";
 
   src = fetchurl {
     url = "mirror://savannah/linphone/ortp/sources/${name}.tar.gz";
-    sha256 = "1cgx9xid0abk3cad3xjdvx7p9whinlhrviphyrd9zkhhx7ddkih2";
+    sha256 = "02rdm6ymgblbx8fnjfvivkl4qkgbdizrf35fyb0vln9m7jdy4dvf";
   };
 
+  configureFlags = "--enable-zrtp";
+
+  propagatedBuildInputs = [ srtp libzrtpcpp pkgconfig ];
+
   meta = {
     description = "A Real-Time Transport Protocol (RFC3550) stack";
     homepage = http://www.linphone.org/index.php/eng/code_review/ortp;
diff --git a/pkgs/development/libraries/osip/3.nix b/pkgs/development/libraries/osip/3.nix
new file mode 100644
index 00000000000..2c1b148251c
--- /dev/null
+++ b/pkgs/development/libraries/osip/3.nix
@@ -0,0 +1,17 @@
+{stdenv, fetchurl}:
+stdenv.mkDerivation rec {
+  version = "3.6.0";
+  src = fetchurl {
+    url = "mirror://gnu/osip/libosip2-${version}.tar.gz";
+    sha256 = "1kcndqvsyxgbhkksgydvvjw15znfq6jiznvw058d21h5fq68p8f9";
+  };
+  name = "libosip2-${version}";
+
+  meta = {
+    license = "LGPLv2.1+";
+    homepage = http://www.gnu.org/software/osip/;
+    description = "The GNU oSIP library, an implementation of the Session Initiation Protocol (SIP)";
+    maintainers = with stdenv.lib.maintainers; [ raskin ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}
diff --git a/pkgs/development/libraries/srtp/default.nix b/pkgs/development/libraries/srtp/default.nix
index 1b8b654ca80..ee264a4e956 100644
--- a/pkgs/development/libraries/srtp/default.nix
+++ b/pkgs/development/libraries/srtp/default.nix
@@ -11,10 +11,10 @@ let
     (builtins.attrNames (builtins.removeAttrs x helperArgNames));
   sourceInfo = rec {
     baseName="srtp";
-    version="1.4.2";
+    version="1.4.4";
     name="${baseName}-${version}";
-    url="http://srtp.sourceforge.net/${name}.tgz";
-    hash="1497mcxharnhiccjhny30g4wlv28ckdxhj14jrwvdnnvhl80jf43";
+    url="mirror://sourceforge/${name}.tgz";
+    hash="057k191hx7sf84wdvc8wr1nk4whhrvbg1vv3r4nyswjir6qwphnr";
   };
 in
 rec {
diff --git a/pkgs/development/libraries/srtp/linphone.nix b/pkgs/development/libraries/srtp/linphone.nix
new file mode 100644
index 00000000000..9108be5e30c
--- /dev/null
+++ b/pkgs/development/libraries/srtp/linphone.nix
@@ -0,0 +1,15 @@
+{ stdenv, fetchgit, automake, autoconf, libtool }:
+
+stdenv.mkDerivation {
+  name = "srtp-linphone-git-20130530-1c9bd9065";
+
+  src = fetchgit {
+    url = git://git.linphone.org/srtp.git;
+    rev = "1c9bd9065";
+    sha256 = "0r4wbrih8bggs69fnfmzm17z1pp1zp8x9qwcckcq6wc54b16d9g3";
+  };
+
+  preConfigure = "autoreconf -vfi";
+
+  buildInputs = [ automake autoconf libtool ];
+}