treewide: Get rid of libGLU_combined

This commit is contained in:
adisbladis
2019-11-18 20:10:43 +00:00
parent e6963bc983
commit c9d8624ccd
241 changed files with 518 additions and 516 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, openglSupport ? libGLSupported, libGLU_combined ? null
, openglSupport ? libGLSupported, libGLU, libGL ? null
}:
assert openglSupport -> libGLU_combined != null;
assert openglSupport -> libGL != null && libGLU != null;
with stdenv.lib;
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ stdenv SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ]
++ optional openglSupport libGLU_combined;
++ optionals openglSupport [ libGL libGLU ];
configureFlags = [ "--enable-all-engines" ];