* For some reason this file didn't get copied when I last synced from the trunk. (Maybe because I interrupted a svn merge and then did an svn revert -R; anyway it seems a bug in svn.)

svn path=/nixpkgs/branches/stdenv-updates/; revision=14972

+45
+45
pkgs/development/libraries/fltk/fltk11.nix
··· 1 + args: with args; 2 + let inherit (args.composableDerivation) composableDerivation edf; in 3 + composableDerivation {} { 4 + 5 + name = "fltk-1.1.9"; 6 + 7 + src = args.fetchurl { 8 + url = http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/1.1.9/fltk-1.1.9-source.tar.bz2; 9 + sha256 = "1ppdqc4vg3g11px4dxm6czxi4sswfxs485q44nrr5ji0galsbjzs"; 10 + }; 11 + 12 + propagatedBuildInputs=[x11 inputproto libXi freeglut]; 13 + 14 + buildInputs = [ args.pkgconfig ]; 15 + 16 + flags = 17 + # this could be tidied up (?).. eg why does it require freeglut without glSupport? 18 + edf { name = "cygwin"; } # use the CygWin libraries default=no 19 + // edf { name = "debug"; } # turn on debugging default=no 20 + // edf { name = "gl"; enable = { buildInputs = [ mesa ]; }; } # turn on OpenGL support default=yes 21 + // edf { name = "shared"; } # turn on shared libraries default=no 22 + // edf { name = "threads"; } # enable multi-threading support 23 + // edf { name = "quartz"; enable = { buildInputs = "quartz"; }; } # don't konw yet what quartz is # use Quartz instead of Quickdraw (default=no) 24 + // edf { name = "largefile"; } # omit support for large files 25 + // edf { name = "localjpeg"; disable = { buildInputs = [libjpeg]; }; } # use local JPEG library, default=auto 26 + // edf { name = "localzlib"; disable = { buildInputs = [zlib]; }; } # use local ZLIB library, default=auto 27 + // edf { name = "localpng"; disable = { buildInputs = [libpng]; }; } # use local PNG library, default=auto 28 + // edf { name = "xinerama"; enable = { buildInputs = [libXinerama]; }; } # turn on Xinerama support default=no 29 + // edf { name = "xft"; enable = { buildInputs=[libXft]; }; } # turn on Xft support default=no 30 + // edf { name = "xdbe"; }; # turn on Xdbe support default=no 31 + cfg = { 32 + largefileSupport = true; # is default 33 + glSupport = true; # doesn't build without it. Why? 34 + localjpegSupport = false; 35 + localzlibSupport = false; 36 + localpngSupport = false; 37 + sharedSupport = true; 38 + threadsSupport = true; 39 + }; 40 + 41 + meta = { 42 + description = "a C++ cross platform lightweight gui library binding"; 43 + homepage = http://www.fltk.org; 44 + }; 45 + }