2007-05-13 15:22:24 +01:00
|
|
|
/**
|
|
|
|
* Possible missing configuration:
|
|
|
|
*
|
|
|
|
* - silcclient
|
|
|
|
* - libebook-1.2
|
|
|
|
* - libedata-book-1.2
|
|
|
|
* - checking for XScreenSaverRegister in -lXext... no
|
|
|
|
* - checking for XScreenSaverRegister in -lXss... no
|
|
|
|
* - ao
|
|
|
|
* - audiofile-config
|
|
|
|
* - doxygen
|
|
|
|
*/
|
2007-05-14 01:51:30 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell,
|
2007-05-13 15:22:24 +01:00
|
|
|
GStreamer, startupnotification, gettext,
|
2009-07-09 10:50:51 +01:00
|
|
|
perl, perlXMLParser, libxml2, nss, nspr,
|
2009-12-23 21:05:29 +00:00
|
|
|
libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn
|
2008-09-06 11:30:55 +01:00
|
|
|
, lib
|
|
|
|
, openssl ? null
|
|
|
|
, gnutls ? null
|
2007-05-13 15:22:24 +01:00
|
|
|
} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-12-23 21:05:29 +00:00
|
|
|
name = "pidgin-2.6.4";
|
2007-05-13 15:22:24 +01:00
|
|
|
src = fetchurl {
|
2009-12-23 21:05:29 +00:00
|
|
|
url = mirror://sourceforge/pidgin/pidgin-2.6.4.tar.bz2;
|
|
|
|
sha256 = "04dyr2g45i3wr67zsn04pjl6vyvic8dchb73pajf823pa377m47s";
|
2007-05-13 15:22:24 +01:00
|
|
|
};
|
|
|
|
|
2007-06-28 10:53:12 +01:00
|
|
|
inherit nss ncurses;
|
2007-05-13 15:22:24 +01:00
|
|
|
buildInputs = [
|
2007-08-17 00:14:52 +01:00
|
|
|
gtkspell aspell
|
|
|
|
GStreamer startupnotification
|
2008-09-06 11:30:55 +01:00
|
|
|
libxml2]
|
|
|
|
++ (lib.optional (openssl != null) openssl)
|
|
|
|
++ (lib.optional (gnutls != null) gnutls)
|
|
|
|
++
|
2009-07-09 10:50:51 +01:00
|
|
|
[nss nspr
|
2007-06-28 10:53:12 +01:00
|
|
|
libXScrnSaver ncurses
|
2009-12-23 21:05:29 +00:00
|
|
|
avahi dbus dbus_glib intltool libidn
|
2008-09-06 11:30:55 +01:00
|
|
|
]
|
|
|
|
;
|
2007-08-17 00:14:52 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pkgconfig gtk perl perlXMLParser gettext
|
|
|
|
];
|
|
|
|
|
2009-12-23 21:05:29 +00:00
|
|
|
configureFlags="--with-nspr-includes=${nspr}/include/nspr --with-nspr-libs=${nspr}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl --disable-vv"
|
2008-09-06 19:23:55 +01:00
|
|
|
+ (lib.optionalString (gnutls != null) " --enable-gnutls=yes --enable-nss=no")
|
|
|
|
;
|
2007-06-26 12:49:45 +01:00
|
|
|
meta = {
|
|
|
|
description = "Pidgin IM - XMPP(Jabber), AIM/ICQ, IRC, SIP etc client.";
|
2008-01-30 19:49:42 +00:00
|
|
|
homepage = http://pidgin.im;
|
2007-06-26 12:49:45 +01:00
|
|
|
};
|
2007-05-13 15:22:24 +01:00
|
|
|
}
|