diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-10-14 12:30:53 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-10-14 12:30:53 +0000 |
commit | 01fd1c1d00e531f88f6cd84b3a7d48daa2587072 (patch) | |
tree | a50866318732cac9a997c5559d49f345d85a1ed1 /pkgs/applications/networking/mailreaders/sylpheed/default.nix | |
parent | 86ca57f4bb6242e40e7716e474f4b904c5737a18 (diff) |
* sylpheed-gtk2 -> sylpheed.
svn path=/nixpkgs/trunk/; revision=4092
Diffstat (limited to 'pkgs/applications/networking/mailreaders/sylpheed/default.nix')
-rw-r--r-- | pkgs/applications/networking/mailreaders/sylpheed/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.nix b/pkgs/applications/networking/mailreaders/sylpheed/default.nix new file mode 100644 index 000000000000..e82f0f4bfd9a --- /dev/null +++ b/pkgs/applications/networking/mailreaders/sylpheed/default.nix @@ -0,0 +1,29 @@ +{ sslSupport ? true +, stdenv, fetchurl, pkgconfig, gtk, glib, openssl ? null, gdkpixbuf ? null +}: + +assert sslSupport -> openssl != null; + +stdenv.mkDerivation { + name = "sylpheed-2.1.3"; + + src = fetchurl { + url = http://sylpheed.good-day.net/sylpheed/v2.1/sylpheed-2.1.3.tar.bz2; + md5 = "57f874501c5b0e52b8ec1959fe0359be"; + }; + + buildInputs = [ + pkgconfig glib gtk + (if sslSupport then openssl else null) + ]; + + configureFlags = [ + (if sslSupport then "--enable-ssl" else null) + ]; + + # Bug in Sylpheed: it makes direct X11 calls (e.g., XSync), but it + # doesn't pass -lX11. The linker finds the missing symbols + # indirectly (through GTK etc.), but doesn't include libX11.so in + # the RPATH. Thus, the executable fails at runtime. + NIX_LDFLAGS = "-lX11"; +} |