mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
31 lines
914 B
Nix
31 lines
914 B
Nix
{ stdenv, fetchurl, intltool, pkgconfig, gtk, libglade, libosip, libexosip
|
|
, speex, readline, mediastreamer, libsoup }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "linphone-3.5.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/linphone/3.5.x/sources/${name}.tar.gz";
|
|
sha256 = "0830iam7kgqphgk3q6qx93kp5wrf0gnm5air82jamy7377jxadys";
|
|
};
|
|
|
|
patches = [ ./fix-deprecated.patch ];
|
|
|
|
buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex libsoup ];
|
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
|
|
|
preConfigure = "rm -r mediastreamer2 oRTP";
|
|
|
|
configureFlags = "--enable-external-ortp --enable-external-mediastreamer";
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # I'm lazy to fix these for them
|
|
|
|
meta = {
|
|
homepage = http://www.linphone.org/;
|
|
description = "Open Source video SIP softphone";
|
|
license = "GPLv2+";
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
};
|
|
}
|