2014-08-08 23:13:38 +04:00
|
|
|
{ stdenv, fetchurl, pkgconfig, ptlib, srtp, libtheora, speex
|
|
|
|
, ffmpeg, x264, cyrus_sasl, openldap, openssl, expat, unixODBC }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "opal-3.10.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/opal/3.10/${name}.tar.xz";
|
|
|
|
sha256 = "f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864";
|
2010-09-06 03:37:54 +04:00
|
|
|
};
|
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ ptlib srtp libtheora speex
|
2014-08-08 23:13:38 +04:00
|
|
|
ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
|
2014-08-09 00:30:24 +04:00
|
|
|
propagatedBuildInputs = [ speex ];
|
2014-08-08 23:13:38 +04:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-h323" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-09-02 20:49:18 +03:00
|
|
|
NIX_CFLAGS_COMPILE = "-D__STDC_CONSTANT_MACROS=1 -std=gnu++98";
|
2014-08-08 23:13:38 +04:00
|
|
|
|
|
|
|
patches = [ ./disable-samples-ftbfs.diff ./libav9.patch ./libav10.patch ];
|
2010-09-06 03:37:54 +04:00
|
|
|
|
2014-08-08 23:13:38 +04:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "VoIP library";
|
2014-08-08 23:13:38 +04:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2010-09-06 03:37:54 +04:00
|
|
|
};
|
2014-08-08 23:13:38 +04:00
|
|
|
|
2010-09-06 03:37:54 +04:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/opal";
|
|
|
|
};
|
|
|
|
};
|
2014-08-08 23:13:38 +04:00
|
|
|
}
|
2010-09-06 03:37:54 +04:00
|
|
|
|