2014-09-09 20:26:49 +00:00
|
|
|
{ stdenv, glib, fetchurl, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
2014-08-08 20:30:24 +00:00
|
|
|
, perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi, autoreconfHook
|
|
|
|
, libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, gnome3, boost, libsecret
|
|
|
|
, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib, hicolor_icon_theme
|
2014-08-10 16:24:25 +00:00
|
|
|
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
|
2010-09-05 23:37:54 +00:00
|
|
|
|
2014-08-08 20:30:24 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ekiga-4.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/ekiga/4.0/${name}.tar.xz";
|
|
|
|
sha256 = "5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b";
|
2010-09-05 23:37:54 +00:00
|
|
|
};
|
|
|
|
|
2014-08-08 20:30:24 +00:00
|
|
|
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
|
|
|
|
perl perlXMLParser evolution_data_server gnome_doc_utils avahi
|
|
|
|
libsigcxx gtk dbus_glib libnotify libXext xextproto sqlite
|
2015-05-19 12:40:04 +00:00
|
|
|
gnome3.libsoup glib gnome3.defaultIconTheme boost
|
2014-09-19 17:56:08 +00:00
|
|
|
autoreconfHook pkgconfig libxml2 videoproto unixODBC db nspr
|
|
|
|
nss zlib libsecret libXrandr randrproto which libxslt libtasn1
|
|
|
|
gmp nettle makeWrapper ];
|
2014-08-08 20:30:24 +00:00
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
2015-07-21 11:20:22 +00:00
|
|
|
substituteInPlace configure.ac --replace gnome-icon-theme adwaita-icon-theme
|
2014-08-08 20:30:24 +00:00
|
|
|
'';
|
2010-09-05 23:37:54 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
2016-04-16 17:41:33 +00:00
|
|
|
"--with-ldap-dir=${openldap.dev}"
|
2016-04-16 16:48:19 +00:00
|
|
|
"--with-libsasl2-dir=${cyrus_sasl.dev}"
|
2016-04-27 21:41:28 +00:00
|
|
|
"--with-boost-libdir=${boost.out}/lib"
|
2014-08-08 20:30:24 +00:00
|
|
|
"--disable-gconf"
|
2010-09-05 23:37:54 +00:00
|
|
|
];
|
|
|
|
|
2014-08-08 20:30:24 +00:00
|
|
|
enableParallelBuilding = true;
|
2010-09-05 23:37:54 +00:00
|
|
|
|
2014-08-08 20:30:24 +00:00
|
|
|
patches = [ ./autofoo.patch ./boost.patch ];
|
2010-09-05 23:37:54 +00:00
|
|
|
|
2014-08-10 16:24:25 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out"/bin/ekiga \
|
2014-09-09 20:26:49 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
2014-08-10 16:24:25 +00:00
|
|
|
'';
|
|
|
|
|
2014-08-08 20:30:24 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "VOIP/Videoconferencing app with full SIP and H.323 support";
|
2014-08-08 20:30:24 +00:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2010-09-05 23:37:54 +00:00
|
|
|
};
|
2014-08-08 20:30:24 +00:00
|
|
|
|
2010-09-05 23:37:54 +00:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "mirror://gnome/sources/ekiga";
|
|
|
|
};
|
|
|
|
};
|
2014-08-08 20:30:24 +00:00
|
|
|
}
|
2010-09-05 23:37:54 +00:00
|
|
|
|