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
|
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
|
||||||
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
||||||
|
, cfg ? {}
|
||||||
, automake, autoconf, libtool
|
, automake, autoconf, libtool
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ composableDerivation.composableDerivation {} {
|
||||||
localpngSupport = false;
|
localpngSupport = false;
|
||||||
sharedSupport = true;
|
sharedSupport = true;
|
||||||
threadsSupport = true;
|
threadsSupport = true;
|
||||||
};
|
} // cfg;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A C++ cross-platform light-weight GUI library binding";
|
description = "A C++ cross-platform light-weight GUI library binding";
|
||||||
|
|
|
@ -4782,7 +4782,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
octave = callPackage ../development/interpreters/octave {
|
octave = callPackage ../development/interpreters/octave {
|
||||||
fltk = fltk13;
|
fltk = fltk13.override { cfg.xftSupport = true; };
|
||||||
qt = null;
|
qt = null;
|
||||||
ghostscript = null;
|
ghostscript = null;
|
||||||
llvm = null;
|
llvm = null;
|
||||||
|
@ -4792,7 +4792,7 @@ let
|
||||||
jdk = null;
|
jdk = null;
|
||||||
};
|
};
|
||||||
octaveFull = (lowPrio (callPackage ../development/interpreters/octave {
|
octaveFull = (lowPrio (callPackage ../development/interpreters/octave {
|
||||||
fltk = fltk13;
|
fltk = fltk13.override { cfg.xftSupport = true; };
|
||||||
qt = qt4;
|
qt = qt4;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue