2012-02-17 14:03:33 +01:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, gtk, libglade, libosip, libexosip
|
2013-06-29 16:50:56 +02:00
|
|
|
, speex, readline, mediastreamer, libsoup, udev, libnotify }:
|
2013-02-16 21:48:47 +01:00
|
|
|
|
2011-08-18 14:52:41 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2013-06-29 16:50:56 +02:00
|
|
|
name = "linphone-3.6.1";
|
2011-01-13 21:49:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-06-29 16:50:56 +02:00
|
|
|
url = "mirror://savannah/linphone/3.6.x/sources/${name}.tar.gz";
|
|
|
|
sha256 = "186jm4nd4ggb0j8cs8wnpm4sy9cr7chq0c6kx2yc6y4k7qi83fh5";
|
2011-01-13 21:49:58 +01:00
|
|
|
};
|
|
|
|
|
2013-06-29 16:50:56 +02:00
|
|
|
buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex libsoup udev
|
|
|
|
libnotify ];
|
2011-01-13 21:49:58 +01:00
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
2012-02-17 14:03:33 +01:00
|
|
|
|
2013-06-29 16:50:56 +02:00
|
|
|
preConfigure = ''
|
|
|
|
rm -r mediastreamer2 oRTP
|
|
|
|
sed -i s,/bin/echo,echo, coreapi/Makefile*
|
|
|
|
'';
|
2013-02-16 21:48:47 +01:00
|
|
|
|
2012-02-17 14:03:33 +01:00
|
|
|
configureFlags = "--enable-external-ortp --enable-external-mediastreamer";
|
2012-02-10 11:13:48 +01:00
|
|
|
|
2013-04-18 10:17:41 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # I'm lazy to fix these for them
|
|
|
|
|
2011-01-13 21:49:58 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.linphone.org/;
|
|
|
|
description = "Open Source video SIP softphone";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-02-17 14:03:37 +01:00
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2014-08-22 12:54:02 +02:00
|
|
|
broken = true;
|
2011-01-13 21:49:58 +01:00
|
|
|
};
|
|
|
|
}
|