2014-09-09 21:26:49 +01:00
|
|
|
{ stdenv, glib, fetchurl, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
2014-08-08 21:30:24 +01: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 17:24:25 +01:00
|
|
|
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2014-08-08 21:30:24 +01: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-06 00:37:54 +01:00
|
|
|
};
|
|
|
|
|
2014-08-08 21:30:24 +01: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 13:40:04 +01:00
|
|
|
gnome3.libsoup glib gnome3.defaultIconTheme boost
|
2014-09-19 18:56:08 +01:00
|
|
|
autoreconfHook pkgconfig libxml2 videoproto unixODBC db nspr
|
|
|
|
nss zlib libsecret libXrandr randrproto which libxslt libtasn1
|
|
|
|
gmp nettle makeWrapper ];
|
2014-08-08 21:30:24 +01:00
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
|
|
|
'';
|
2010-09-06 00:37:54 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-ldap-dir=${openldap}"
|
|
|
|
"--with-libsasl2-dir=${cyrus_sasl}"
|
2014-10-11 09:51:47 +01:00
|
|
|
"--with-boost-libdir=${boost.lib}/lib"
|
2014-08-08 21:30:24 +01:00
|
|
|
"--disable-gconf"
|
2010-09-06 00:37:54 +01:00
|
|
|
];
|
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
enableParallelBuilding = true;
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
patches = [ ./autofoo.patch ./boost.patch ];
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2014-08-10 17:24:25 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out"/bin/ekiga \
|
2014-09-09 21:26:49 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
2014-08-10 17:24:25 +01:00
|
|
|
'';
|
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "VOIP/Videoconferencing app with full SIP and H.323 support";
|
2014-08-08 21:30:24 +01:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2010-09-06 00:37:54 +01:00
|
|
|
};
|
2014-08-08 21:30:24 +01:00
|
|
|
|
2010-09-06 00:37:54 +01:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "mirror://gnome/sources/ekiga";
|
|
|
|
};
|
|
|
|
};
|
2014-08-08 21:30:24 +01:00
|
|
|
}
|
2010-09-06 00:37:54 +01:00
|
|
|
|