2006-03-02 19:08:26 +00: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 15:00:54 +01:00
|
|
|
# instead of "Mail", enable this option. However, those
|
2006-03-02 19:08:26 +00:00
|
|
|
# binaries may not be distributed without permission from the
|
|
|
|
# Mozilla Foundation, see
|
|
|
|
# http://www.mozilla.org/foundation/trademarks/.
|
|
|
|
enableOfficialBranding ? false
|
|
|
|
|
|
|
|
}:
|
2004-09-15 12:06:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-03-26 14:41:15 +01:00
|
|
|
name = "thunderbird-1.5.0.10";
|
2004-09-15 12:06:15 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-03-26 14:41:15 +01:00
|
|
|
url = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/1.5.0.10/source/thunderbird-1.5.0.10-source.tar.bz2;
|
|
|
|
sha1 = "a6467c946f9e668bcf7b3a06dcaeceb601b98fce";
|
2004-09-15 12:06:15 +01:00
|
|
|
};
|
|
|
|
|
2006-03-02 19:08:26 +00: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 15:00:54 +01:00
|
|
|
"--enable-canvas"
|
2006-03-02 19:08:26 +00:00
|
|
|
"--enable-strip"
|
|
|
|
"--enable-default-toolkit=gtk2"
|
|
|
|
"--with-system-jpeg"
|
|
|
|
"--with-system-png"
|
|
|
|
"--with-system-zlib"
|
2006-09-17 10:53:12 +01:00
|
|
|
"--enable-system-cairo"
|
2006-12-16 01:17:56 +00:00
|
|
|
"--enable-extensions=default"
|
2006-03-02 19:08:26 +00:00
|
|
|
]
|
|
|
|
++ (if enableOfficialBranding then ["--enable-official-branding"] else []);
|
2006-10-11 17:45:55 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozilla Thunderbird, a full-featured email client";
|
|
|
|
};
|
2004-09-15 12:06:15 +01:00
|
|
|
}
|