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
+5 -2
View File
@@ -1,8 +1,11 @@
{ stdenv, fetchurl, SDL, SDL_mixer, SDL_net
, libGLU_combined ? assert false; null
, libGLU ? null
, libGL ? null
, useOpenGL ? stdenv.hostPlatform == stdenv.buildPlatform
}:
assert useOpenGL -> libGL != null && libGLU != null;
stdenv.mkDerivation rec {
name = "prboom-2.5.0";
src = fetchurl {
@@ -11,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ SDL SDL_mixer SDL_net ]
++ stdenv.lib.optional useOpenGL libGLU_combined;
++ stdenv.lib.optionals useOpenGL [ libGL libGLU ];
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;