fltk13: various fixups

This commit is contained in:
Vladimír Čunát 2016-05-26 10:35:29 +02:00
parent 2607b53e9d
commit e5c500475c
2 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,6 @@
{ stdenv, composableDerivation, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
, cfg ? {}
, automake, autoconf, libtool
}:
let inherit (composableDerivation) edf; in
@ -16,19 +15,15 @@ composableDerivation.composableDerivation {} {
};
# http://www.fltk.org/str.php?L3156
patchPhase = ''
postPatch = ''
substituteInPlace FL/x.H \
--replace 'class Fl_XFont_On_Demand' 'class FL_EXPORT Fl_XFont_On_Demand'
'';
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ xlibsWrapper inputproto libXi freeglut ];
enableParallelBilding = true;
nativeBuildInputs = [
pkgconfig
automake autoconf libtool # only required because of patch
];
enableParallelBuilding = true;
flags =
# this could be tidied up (?).. eg why does it require freeglut without glSupport?

View File

@ -6906,7 +6906,7 @@ in
flite = callPackage ../development/libraries/flite { };
fltk13 = callPackage ../development/libraries/fltk { };
fltk = callPackage ../development/libraries/fltk { };
fltk = self.fltk13;
fmod = callPackage ../development/libraries/fmod { };