2006-03-02 20:08:26 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi
|
|
|
|
, libjpeg, libpng, zlib, cairo
|
|
|
|
|
|
|
|
, # If you want the resulting program to call itself "Thunderbird"
|
2006-09-17 16:00:54 +02:00
|
|
|
# instead of "Mail", enable this option. However, those
|
2006-03-02 20:08:26 +01:00
|
|
|
# binaries may not be distributed without permission from the
|
|
|
|
# Mozilla Foundation, see
|
|
|
|
# http://www.mozilla.org/foundation/trademarks/.
|
|
|
|
enableOfficialBranding ? false
|
|
|
|
|
|
|
|
}:
|
2004-09-15 13:06:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-09-17 11:44:36 +02:00
|
|
|
name = "thunderbird-1.5.0.7";
|
2004-09-15 13:06:15 +02:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-10-12 15:50:54 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/thunderbird-1.5.0.7-source.tar.bz2;
|
2006-09-17 11:44:36 +02:00
|
|
|
sha1 = "9e5acff9bd098979dd798c0111805dc8d67479ad";
|
2004-09-15 13:06:15 +02:00
|
|
|
};
|
|
|
|
|
2006-03-02 20:08:26 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig gtk perl zip libIDL libXi libjpeg libpng zlib cairo
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-application=mail"
|
|
|
|
"--enable-optimize"
|
|
|
|
"--disable-debug"
|
|
|
|
"--enable-xft"
|
|
|
|
"--disable-freetype2"
|
|
|
|
"--enable-svg"
|
2006-09-17 16:00:54 +02:00
|
|
|
"--enable-canvas"
|
2006-03-02 20:08:26 +01:00
|
|
|
"--enable-strip"
|
|
|
|
"--enable-default-toolkit=gtk2"
|
|
|
|
"--with-system-jpeg"
|
|
|
|
"--with-system-png"
|
|
|
|
"--with-system-zlib"
|
2006-09-17 11:53:12 +02:00
|
|
|
"--enable-system-cairo"
|
2006-03-02 20:08:26 +01:00
|
|
|
]
|
|
|
|
++ (if enableOfficialBranding then ["--enable-official-branding"] else []);
|
2006-10-11 18:45:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozilla Thunderbird, a full-featured email client";
|
|
|
|
};
|
2004-09-15 13:06:15 +02:00
|
|
|
}
|