forked from mirrors/nixpkgs
fltk13, octave: expose fltk13 config and override in octave
Octave needs fltk with libxft, see #8007. I'm not much familiar with composableDerivation, so perhaps this change could be done in a better way...
This commit is contained in:
parent
cb02d37c31
commit
adea54614d
|
@ -1,6 +1,6 @@
|
|||
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
|
||||
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
||||
|
||||
, cfg ? {}
|
||||
, automake, autoconf, libtool
|
||||
}:
|
||||
|
||||
|
@ -48,7 +48,7 @@ composableDerivation.composableDerivation {} {
|
|||
localpngSupport = false;
|
||||
sharedSupport = true;
|
||||
threadsSupport = true;
|
||||
};
|
||||
} // cfg;
|
||||
|
||||
meta = {
|
||||
description = "A C++ cross-platform light-weight GUI library binding";
|
||||
|
|
|
@ -4782,7 +4782,7 @@ let
|
|||
};
|
||||
|
||||
octave = callPackage ../development/interpreters/octave {
|
||||
fltk = fltk13;
|
||||
fltk = fltk13.override { cfg.xftSupport = true; };
|
||||
qt = null;
|
||||
ghostscript = null;
|
||||
llvm = null;
|
||||
|
@ -4792,7 +4792,7 @@ let
|
|||
jdk = null;
|
||||
};
|
||||
octaveFull = (lowPrio (callPackage ../development/interpreters/octave {
|
||||
fltk = fltk13;
|
||||
fltk = fltk13.override { cfg.xftSupport = true; };
|
||||
qt = qt4;
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in a new issue